public abstract class AbstractOWLDebugger extends Object implements OWLDebugger
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOWLDebugger(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager,
org.semanticweb.owlapi.model.OWLOntology ontology) |
| Modifier and Type | Method and Description |
|---|---|
void |
constructHittingSetTree(Set<org.semanticweb.owlapi.model.OWLAxiom> mups,
Set<Set<org.semanticweb.owlapi.model.OWLAxiom>> allMups,
Set<Set<org.semanticweb.owlapi.model.OWLAxiom>> satPaths,
Set<org.semanticweb.owlapi.model.OWLAxiom> currentPathContents)
This is a recursive method that builds a hitting set tree to obtain all justifications
for an unsatisfiable class.
|
Set<Set<org.semanticweb.owlapi.model.OWLAxiom>> |
getAllSOSForIncosistentClass(org.semanticweb.owlapi.model.OWLClassExpression cls) |
protected abstract org.semanticweb.owlapi.model.OWLClassExpression |
getCurrentClass() |
org.semanticweb.owlapi.model.OWLOntology |
getOWLOntology() |
org.semanticweb.owlapi.model.OWLOntologyManager |
getOWLOntologyManager() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getSOSForIncosistentClassprotected AbstractOWLDebugger(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager,
org.semanticweb.owlapi.model.OWLOntology ontology)
protected abstract org.semanticweb.owlapi.model.OWLClassExpression getCurrentClass()
throws org.semanticweb.owlapi.model.OWLException
org.semanticweb.owlapi.model.OWLExceptionpublic org.semanticweb.owlapi.model.OWLOntology getOWLOntology()
throws org.semanticweb.owlapi.model.OWLException
getOWLOntology in interface OWLDebuggerOWLOntology that is being debugged.org.semanticweb.owlapi.model.OWLException - if there is any problempublic org.semanticweb.owlapi.model.OWLOntologyManager getOWLOntologyManager()
public Set<Set<org.semanticweb.owlapi.model.OWLAxiom>> getAllSOSForIncosistentClass(org.semanticweb.owlapi.model.OWLClassExpression cls) throws org.semanticweb.owlapi.model.OWLException
getAllSOSForIncosistentClass in interface OWLDebuggercls - the inconsistent classorg.semanticweb.owlapi.model.OWLException - if there is any problempublic void constructHittingSetTree(Set<org.semanticweb.owlapi.model.OWLAxiom> mups, Set<Set<org.semanticweb.owlapi.model.OWLAxiom>> allMups, Set<Set<org.semanticweb.owlapi.model.OWLAxiom>> satPaths, Set<org.semanticweb.owlapi.model.OWLAxiom> currentPathContents) throws org.semanticweb.owlapi.model.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.org.semanticweb.owlapi.model.OWLException - if there is any problemCopyright © 2013 The University of Manchester. All Rights Reserved.