public abstract class AbstractOWLDebugger extends Object implements OWLDebugger
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOWLDebugger(OWLOntologyManager owlOntologyManager,
OWLOntology ontology) |
| Modifier and Type | Method and Description |
|---|---|
void |
constructHittingSetTree(Set<OWLAxiom> mups,
Set<Set<OWLAxiom>> allMups,
Set<Set<OWLAxiom>> satPaths,
Set<OWLAxiom> currentPathContents)
This is a recursive method that builds a hitting set tree to obtain all
justifications for an unsatisfiable class.
|
Set<Set<OWLAxiom>> |
getAllSOSForIncosistentClass(OWLClassExpression cls) |
protected abstract OWLClassExpression |
getCurrentClass() |
OWLOntology |
getOWLOntology() |
OWLOntologyManager |
getOWLOntologyManager() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getSOSForIncosistentClassprotected AbstractOWLDebugger(OWLOntologyManager owlOntologyManager, OWLOntology ontology)
protected abstract OWLClassExpression getCurrentClass() throws OWLException
OWLExceptionpublic OWLOntology getOWLOntology() throws OWLException
getOWLOntology in interface OWLDebuggerOWLOntology that is being debugged.OWLException - if there is any problempublic OWLOntologyManager getOWLOntologyManager()
public Set<Set<OWLAxiom>> getAllSOSForIncosistentClass(OWLClassExpression cls) throws OWLException
getAllSOSForIncosistentClass in interface OWLDebuggercls - the inconsistent classOWLException - if there is any problempublic void constructHittingSetTree(Set<OWLAxiom> mups, Set<Set<OWLAxiom>> allMups, Set<Set<OWLAxiom>> satPaths, Set<OWLAxiom> currentPathContents) throws OWLException
mups - The current justification for the current class. This
corresponds to a node in the hitting set tree.allMups - All of the MUPS that have been found - this set gets populated
over the course of the tree building process. Initially this
should just contain the first justificationsatPaths - Paths that have been completed.currentPathContents - The contents of the current path. Initially this should be an
empty set.OWLException - if there is any problemCopyright © 2014 The University of Manchester. All Rights Reserved.