public class ExplanationOrdererImpl extends Object implements ExplanationOrderer
| Constructor and Description |
|---|
ExplanationOrdererImpl(org.semanticweb.owlapi.model.OWLOntologyManager m) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<org.semanticweb.owlapi.model.OWLAxiom> |
getAxiomsForLHS(org.semanticweb.owlapi.model.OWLEntity lhs)
Gets axioms that have a LHS corresponding to the specified entity.
|
ExplanationTree |
getOrderedExplanation(org.semanticweb.owlapi.model.OWLAxiom entailment,
Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
Gets an ordered (and possibly indented) explanation.
|
protected void |
indexAxiomsByRHSEntities(org.semanticweb.owlapi.model.OWLObject rhs,
org.semanticweb.owlapi.model.OWLAxiom axiom) |
public ExplanationOrdererImpl(org.semanticweb.owlapi.model.OWLOntologyManager m)
m - the manager to usepublic ExplanationTree getOrderedExplanation(org.semanticweb.owlapi.model.OWLAxiom entailment, Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
ExplanationOrderergetOrderedExplanation in interface ExplanationOrdererentailment - The axiom that represents the entailment that the explanation
being ordered is a justification for.axioms - The axioms that constitute the unordered explanationprotected Set<org.semanticweb.owlapi.model.OWLAxiom> getAxiomsForLHS(org.semanticweb.owlapi.model.OWLEntity lhs)
lhs - The entity that occurs on the left hand side of the axiom.protected void indexAxiomsByRHSEntities(org.semanticweb.owlapi.model.OWLObject rhs,
org.semanticweb.owlapi.model.OWLAxiom axiom)
Copyright © 2013 The University of Manchester. All Rights Reserved.