public class HSTExplanationGenerator extends Object implements MultipleExplanationGenerator
| Constructor and Description |
|---|
HSTExplanationGenerator(TransactionAwareSingleExpGen singleExplanationGenerator)
Instantiates a new hST explanation generator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
dispose of the reasoners and ontologies.
|
Set<OWLAxiom> |
getExplanation(OWLClassExpression unsatClass)
Returns a single explanation for the given unsatisfiable class.
|
Set<Set<OWLAxiom>> |
getExplanations(OWLClassExpression unsatClass)
Returns all the explanations for the given unsatisfiable class.
|
Set<Set<OWLAxiom>> |
getExplanations(OWLClassExpression unsatClass,
int maxExplanations)
Return a specified number of explanations for the given unsatisfiable
class.
|
OWLOntology |
getOntology()
Gets the ontology.
|
OWLOntologyManager |
getOntologyManager()
Gets the ontology manager.
|
OWLReasoner |
getReasoner()
Gets the reasoner.
|
OWLReasonerFactory |
getReasonerFactory()
Gets the reasoner factory.
|
TransactionAwareSingleExpGen |
getSingleExplanationGenerator()
Gets the single explanation generator.
|
void |
setProgressMonitor(ExplanationProgressMonitor progressMonitor)
Sets the progress monitor for this multiple explanation generator.
|
public HSTExplanationGenerator(TransactionAwareSingleExpGen singleExplanationGenerator)
singleExplanationGenerator - explanation generator to usepublic void setProgressMonitor(ExplanationProgressMonitor progressMonitor)
MultipleExplanationGeneratorsetProgressMonitor in interface MultipleExplanationGeneratorprogressMonitor - The progress monitor.public OWLOntologyManager getOntologyManager()
SingleExplanationGeneratorgetOntologyManager in interface SingleExplanationGeneratorpublic OWLOntology getOntology()
SingleExplanationGeneratorgetOntology in interface SingleExplanationGeneratorpublic OWLReasoner getReasoner()
SingleExplanationGeneratorgetReasoner in interface SingleExplanationGeneratorpublic OWLReasonerFactory getReasonerFactory()
SingleExplanationGeneratorgetReasonerFactory in interface SingleExplanationGeneratorpublic TransactionAwareSingleExpGen getSingleExplanationGenerator()
public Set<OWLAxiom> getExplanation(OWLClassExpression unsatClass)
ExplanationGeneratorgetExplanation in interface ExplanationGeneratorgetExplanation in interface SingleExplanationGeneratorunsatClass - The class that is unsatisfiable for which an explanation will be
generated.public Set<Set<OWLAxiom>> getExplanations(OWLClassExpression unsatClass)
ExplanationGeneratorgetExplanations in interface ExplanationGeneratorunsatClass - The class that is unsatisfiable for which an explanation will be
generated.public void dispose()
SingleExplanationGeneratordispose in interface SingleExplanationGeneratorpublic Set<Set<OWLAxiom>> getExplanations(OWLClassExpression unsatClass, @Nonnegative int maxExplanations)
ExplanationGeneratorgetExplanations in interface ExplanationGeneratorunsatClass - The class that is unsatisfiable for which an explanation will be
generated.maxExplanations - Maximum number of explanations requested, or 0 to get all the
explanationsCopyright © 2017 The University of Manchester. All Rights Reserved.