uk.ac.manchester.cs.owl.explanation.ordering
Class DefaultExplanationOrderer
java.lang.Object
uk.ac.manchester.cs.owl.explanation.ordering.DefaultExplanationOrderer
- All Implemented Interfaces:
- ExplanationOrderer
public class DefaultExplanationOrderer
- extends Object
- implements ExplanationOrderer
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 11-Jan-2008
Provides ordering and indenting of explanations based on various
ordering heuristics.
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExplanationOrderer
public DefaultExplanationOrderer()
getOrderedExplanation
public ExplanationTree getOrderedExplanation(org.semanticweb.owlapi.model.OWLAxiom entailment,
Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
- Description copied from interface:
ExplanationOrderer
- Gets an ordered (and possibly indented) explanation. The orderer really provides some
kind of "presentation" layer to make an explanation easier to read.
- Specified by:
getOrderedExplanation in interface ExplanationOrderer
- Parameters:
entailment - The axiom that represents the entailment that the explanation
being ordered is a justification for.axioms - The axioms that constitute the unordered explanation
- Returns:
- An order explanation.
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)
Copyright © 2012 The University of Manchester. All Rights Reserved.