|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.clarkparsia.owlapi.explanation.HSTExplanationGenerator
public class HSTExplanationGenerator
Description: An implementation of MultipleExplanationGenerator interface using Reiter's Hitting Set Tree (HST) algorithm as described in Aditya Kalyanpur's thesis. This class relies on a SingleExplanationGenerator that can compute a minimal set of axioms that cause the unsatisfiability. The core of the functionality is based on Matthew Horridge's implementation. Copyright: Copyright (c) 2007 Company: Clark & Parsia, LLC.
Field Summary | |
---|---|
static java.util.logging.Logger |
log
|
Constructor Summary | |
---|---|
HSTExplanationGenerator(TransactionAwareSingleExpGen singleExplanationGenerator)
|
Method Summary | |
---|---|
java.util.Set<OWLAxiom> |
getExplanation(OWLClassExpression unsatClass)
Returns a single explanation for the given unsatisfiable class. |
java.util.Set<java.util.Set<OWLAxiom>> |
getExplanations(OWLClassExpression unsatClass)
Returns all the explanations for the given unsatisfiable class. |
java.util.Set<java.util.Set<OWLAxiom>> |
getExplanations(OWLClassExpression unsatClass,
int maxExplanations)
Return a specified number of explanations for the given unsatisfiable class. |
OWLOntology |
getOntology()
Gets the ontologies according to which the explanations are generated |
OWLOntologyManager |
getOntologyManager()
Get the ontology manager for this explanation generator. |
OWLReasoner |
getReasoner()
Returns the reasoner associated with this generator. |
OWLReasonerFactory |
getReasonerFactory()
Returns the reasoner factory used to create fresh reasoners. |
TransactionAwareSingleExpGen |
getSingleExplanationGenerator()
|
void |
setProgressMonitor(ExplanationProgressMonitor progressMonitor)
Sets the progress monitor for this multiple explanation generator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.logging.Logger log
Constructor Detail |
---|
public HSTExplanationGenerator(TransactionAwareSingleExpGen singleExplanationGenerator)
Method Detail |
---|
public void setProgressMonitor(ExplanationProgressMonitor progressMonitor)
MultipleExplanationGenerator
setProgressMonitor
in interface MultipleExplanationGenerator
progressMonitor
- The progress monitor.public OWLOntologyManager getOntologyManager()
SingleExplanationGenerator
getOntologyManager
in interface SingleExplanationGenerator
public OWLOntology getOntology()
SingleExplanationGenerator
getOntology
in interface SingleExplanationGenerator
public OWLReasoner getReasoner()
SingleExplanationGenerator
getReasoner
in interface SingleExplanationGenerator
public OWLReasonerFactory getReasonerFactory()
SingleExplanationGenerator
getReasonerFactory
in interface SingleExplanationGenerator
public TransactionAwareSingleExpGen getSingleExplanationGenerator()
public java.util.Set<OWLAxiom> getExplanation(OWLClassExpression unsatClass)
ExplanationGenerator
getExplanation
in interface ExplanationGenerator
getExplanation
in interface SingleExplanationGenerator
unsatClass
- The class that is unsatisfiable for which an explanation
will be generated.
public java.util.Set<java.util.Set<OWLAxiom>> getExplanations(OWLClassExpression unsatClass)
ExplanationGenerator
getExplanations
in interface ExplanationGenerator
unsatClass
- The class that is unsatisfiable for which an explanation
will be generated.
public java.util.Set<java.util.Set<OWLAxiom>> getExplanations(OWLClassExpression unsatClass, int maxExplanations)
ExplanationGenerator
getExplanations
in interface ExplanationGenerator
unsatClass
- The class that is unsatisfiable for which an explanation
will be generated.maxExplanations
- Maximum number of explanations requested, or 0 to get all the
explanations
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |