Class ProtegeExplanationOrderer
java.lang.Object
org.liveontologies.protege.explanation.justification.ProtegeExplanationOrderer
- All Implemented Interfaces:
uk.ac.manchester.cs.owl.explanation.ordering.ExplanationOrderer
public class ProtegeExplanationOrderer
extends Object
implements uk.ac.manchester.cs.owl.explanation.ordering.ExplanationOrderer
Provides ordering and indenting of explanations based on various ordering
heuristics.
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group, Date: 11-Jan-2008
-
Constructor Summary
ConstructorsConstructorDescriptionProtegeExplanationOrderer(org.semanticweb.owlapi.model.OWLOntologyManager m) -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<org.semanticweb.owlapi.model.OWLAxiom> getAxiomsForLHS(org.semanticweb.owlapi.model.OWLEntity lhs) Gets axioms that have a LHS corresponding to the specified entity.uk.ac.manchester.cs.owl.explanation.ordering.ExplanationTreegetOrderedExplanation(org.semanticweb.owlapi.model.OWLAxiom entailment, Set<org.semanticweb.owlapi.model.OWLAxiom> axioms) protected voidindexAxiomsByRHSEntities(org.semanticweb.owlapi.model.OWLObject rhs, org.semanticweb.owlapi.model.OWLAxiom axiom)
-
Constructor Details
-
ProtegeExplanationOrderer
public ProtegeExplanationOrderer(org.semanticweb.owlapi.model.OWLOntologyManager m) - Parameters:
m- the manager to use
-
-
Method Details
-
getOrderedExplanation
public uk.ac.manchester.cs.owl.explanation.ordering.ExplanationTree getOrderedExplanation(org.semanticweb.owlapi.model.OWLAxiom entailment, Set<org.semanticweb.owlapi.model.OWLAxiom> axioms) - Specified by:
getOrderedExplanationin interfaceuk.ac.manchester.cs.owl.explanation.ordering.ExplanationOrderer
-
getAxiomsForLHS
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.- Parameters:
lhs- The entity that occurs on the left hand side of the axiom.- Returns:
- A set of axioms that have the specified entity as their left hand side.
-
indexAxiomsByRHSEntities
protected void indexAxiomsByRHSEntities(org.semanticweb.owlapi.model.OWLObject rhs, org.semanticweb.owlapi.model.OWLAxiom axiom)
-