examples
Class Matchmaker
java.lang.Object
examples.Matchmaker
public class Matchmaker
- extends java.lang.Object
An example that finds service matches for composition. The outputs of services are matched with
the inputs of services using one of EXACT, SUBSUME and RELAXED match criteria. Pellet reasoner is
used to find matches but can be replaced with any other reasoner.
- Author:
- Evren Sirin
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Matchmaker
public Matchmaker()
addOntology
public void addOntology(java.lang.String ont)
throws java.io.FileNotFoundException,
java.net.URISyntaxException
- Throws:
java.io.FileNotFoundException
java.net.URISyntaxException
addOntology
public void addOntology(java.net.URI ont)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
findServices
public java.util.List findServices(boolean getProducers)
findOutputs
public java.util.List findOutputs()
findInputs
public java.util.List findInputs()
getMatchType
public int getMatchType(OWLType outputType,
OWLType inputType)
displayAllMatches
public java.util.List displayAllMatches()
printIterator
public static void printIterator(java.util.Iterator i)
main
public static void main(java.lang.String[] args)
throws java.io.FileNotFoundException,
java.net.URISyntaxException
- Throws:
java.io.FileNotFoundException
java.net.URISyntaxException
Copyright © 2004 Evren Sirin. All Rights Reserved.