| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.owl.inference.OWLReasonerAdapter
public abstract class OWLReasonerAdapter
Author: Matthew Horridge
 The University Of Manchester
 Bio-Health Informatics Group
 Date: 18-Mar-2007
| Method Summary | ||
|---|---|---|
 void | 
clearOntologies()
Clears the reasoner.  | 
|
static
 | 
createSetOfSets(java.util.Collection<O> objs,
                java.util.Map<O,java.util.Collection<O>> equivalentsMap)
 | 
|
 void | 
dispose()
Disposes of and cleans up any resources used by this reasoner.  | 
|
static
 | 
flattenSetOfSets(java.util.Set<java.util.Set<E>> setOfSets)
A utility method that will flatten a set of sets.  | 
|
 java.util.Set<OWLOntology> | 
getLoadedOntologies()
Gets the ontologies that have been loaded into this reasoner.  | 
|
 void | 
loadOntologies(java.util.Set<OWLOntology> ontologies)
Loads the specified ontologies.  | 
|
 void | 
ontologiesChanged(java.util.List<? extends OWLOntologyChange> changes)
Called when some changes have been applied to various ontologies.  | 
|
 void | 
unloadOntologies(java.util.Set<OWLOntology> ontologies)
Unloads the specified ontologies from this reasoner.  | 
|
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.semanticweb.owl.inference.OWLConsistencyChecker | 
|---|
isConsistent | 
| Methods inherited from interface org.semanticweb.owl.inference.OWLClassReasoner | 
|---|
getAncestorClasses, getDescendantClasses, getEquivalentClasses, getInconsistentClasses, getSubClasses, getSuperClasses, isEquivalentClass, isSubClassOf | 
| Methods inherited from interface org.semanticweb.owl.inference.OWLSatisfiabilityChecker | 
|---|
isSatisfiable | 
| Methods inherited from interface org.semanticweb.owl.inference.OWLReasonerBase | 
|---|
classify, isClassified, isDefined, isDefined, isDefined, isDefined, isRealised, realise | 
| Methods inherited from interface org.semanticweb.owl.inference.OWLIndividualReasoner | 
|---|
getDataPropertyRelationships, getIndividuals, getObjectPropertyRelationships, getRelatedIndividuals, getRelatedValues, getTypes, hasDataPropertyRelationship, hasObjectPropertyRelationship, hasType | 
| Methods inherited from interface org.semanticweb.owl.inference.OWLPropertyReasoner | 
|---|
getAncestorProperties, getAncestorProperties, getDescendantProperties, getDescendantProperties, getDomains, getDomains, getEquivalentProperties, getEquivalentProperties, getInverseProperties, getRanges, getRanges, getSubProperties, getSubProperties, getSuperProperties, getSuperProperties, isAntiSymmetric, isFunctional, isFunctional, isInverseFunctional, isIrreflexive, isReflexive, isSymmetric, isTransitive | 
| Method Detail | 
|---|
public final void dispose()
OWLReasonerBase
dispose in interface OWLReasonerBase
public void loadOntologies(java.util.Set<OWLOntology> ontologies)
                    throws OWLReasonerException
OWLReasonerBase
loadOntologies in interface OWLReasonerBaseontologies - The ontolgies to be loaded.
OWLReasonerExceptionpublic java.util.Set<OWLOntology> getLoadedOntologies()
OWLReasonerBase
getLoadedOntologies in interface OWLReasonerBase
public void unloadOntologies(java.util.Set<OWLOntology> ontologies)
                      throws OWLReasonerException
OWLReasonerBase
unloadOntologies in interface OWLReasonerBaseontologies - The ontologies to be unloaded.
OWLReasonerException
public void clearOntologies()
                     throws OWLReasonerException
OWLReasonerBase
clearOntologies in interface OWLReasonerBaseOWLReasonerException
public void ontologiesChanged(java.util.List<? extends OWLOntologyChange> changes)
                       throws OWLException
OWLOntologyChangeListener
ontologiesChanged in interface OWLOntologyChangeListenerchanges - A list of changes that have occurred.  Each change may be examined
 to determine which ontology it was applied to.
OWLExceptionpublic static <E> java.util.Set<E> flattenSetOfSets(java.util.Set<java.util.Set<E>> setOfSets)
setOfSets - The set of sets to be flattened.
public static <O> java.util.Set<java.util.Set<O>> createSetOfSets(java.util.Collection<O> objs,
                                                                  java.util.Map<O,java.util.Collection<O>> equivalentsMap)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||