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 |
|---|---|
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.
|
protected static int |
getOccurrences(OWLAxiom ax,
Set<Set<OWLAxiom>> axiomSets)
Given an axiom and a set of axioms this method determines how many sets
contain the axiom.
|
OWLOntology |
getOntology()
Gets the ontology.
|
OWLOntologyManager |
getOntologyManager()
Gets the ontology manager.
|
OWLReasoner |
getReasoner() |
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()
getReasoner 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 Set<Set<OWLAxiom>> getExplanations(OWLClassExpression unsatClass, 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 © 2014 The University of Manchester. All Rights Reserved.