|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.clarkparsia.owlapi.explanation.SingleExplanationGeneratorImpl com.clarkparsia.owlapi.explanation.BlackBoxExplanation
public class BlackBoxExplanation
Title: Description: Implementation of a
SingleExplanationGenerator
interface. This code is based on Matthew Horridge's implementation which was
based on the description of a black box debugger described in Aditya
Kalyanpur's PhD Thesis : "Debugging and Repair of OWL Ontologies".
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
Field Summary | |
---|---|
static int |
DEFAULT_INITIAL_EXPANSION_LIMIT
|
static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
BlackBoxExplanation(OWLOntology ontology,
OWLReasonerFactory reasonerFactory,
OWLReasoner reasoner)
|
Method Summary | |
---|---|
void |
dispose()
|
java.util.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)
|
java.lang.String |
toString()
|
Methods inherited from class com.clarkparsia.owlapi.explanation.SingleExplanationGeneratorImpl |
---|
beginTransaction, endTransaction, getDefinitionTracker, getOntology, getOntologyManager, getReasoner, getReasonerFactory, isFirstExplanation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.clarkparsia.owlapi.explanation.SingleExplanationGenerator |
---|
getOntology, getOntologyManager, getReasoner, getReasonerFactory |
Field Detail |
---|
public static final java.util.logging.Logger log
public static final int DEFAULT_INITIAL_EXPANSION_LIMIT
Constructor Detail |
---|
public BlackBoxExplanation(OWLOntology ontology, OWLReasonerFactory reasonerFactory, OWLReasoner reasoner)
Method Detail |
---|
public void dispose()
public java.util.Set<OWLAxiom> getExplanation(OWLClassExpression unsatClass)
SingleExplanationGenerator
getExplanation
in interface SingleExplanationGenerator
unsatClass
- arbitrary class expression whose unsatisfiability will be
explained
protected void pruneUntilMinimal(OWLClassExpression unsatClass) throws OWLException
OWLException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |