public class BlackBoxExplanation extends SingleExplanationGeneratorImpl implements SingleExplanationGenerator
| Modifier and Type | Field and Description |
|---|---|
protected Set<OWLAxiom> |
debuggingAxioms
The debugging axioms.
|
static int |
DEFAULT_INITIAL_EXPANSION_LIMIT
default expansion limit.
|
| Constructor and Description |
|---|
BlackBoxExplanation(OWLOntology ontology,
OWLReasonerFactory reasonerFactory,
OWLReasoner reasoner)
Instantiates a new black box explanation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
dispose.
|
Set<OWLAxiom> |
getExplanation(OWLClassExpression unsatClass)
Get a single explanation for an arbitrary class expression, or empty set
if the given expression is satisfiable.
|
protected void |
pruneUntilMinimal(OWLClassExpression unsatClass)
Prune until minimal.
|
String |
toString() |
beginTransaction, endTransaction, getDefinitionTracker, getOntology, getOntologyManager, getReasoner, getReasonerFactory, isFirstExplanationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOntology, getOntologyManager, getReasoner, getReasonerFactorypublic static final int DEFAULT_INITIAL_EXPANSION_LIMIT
public BlackBoxExplanation(OWLOntology ontology, OWLReasonerFactory reasonerFactory, OWLReasoner reasoner)
ontology - the ontologyreasonerFactory - the reasoner factoryreasoner - the reasonerpublic void dispose()
public Set<OWLAxiom> getExplanation(OWLClassExpression unsatClass)
SingleExplanationGeneratorgetExplanation in interface SingleExplanationGeneratorunsatClass - arbitrary class expression whose unsatisfiability will be
explainedprotected void pruneUntilMinimal(OWLClassExpression unsatClass) throws OWLException
unsatClass - the unsat classOWLException - the oWL exceptionCopyright © 2014 The University of Manchester. All Rights Reserved.