uk.ac.manchester.cs.owl.explanation.ordering
Class AlphaExplanationOrderer

java.lang.Object
  extended by uk.ac.manchester.cs.owl.explanation.ordering.AlphaExplanationOrderer
All Implemented Interfaces:
ExplanationOrderer

public final class AlphaExplanationOrderer
extends Object
implements ExplanationOrderer

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 22-Jan-2008

Orders an explanation in a flat list, sorting axioms alphabetically.


Field Summary
protected  org.semanticweb.owlapi.io.OWLObjectRenderer renderer
           
 
Constructor Summary
AlphaExplanationOrderer(org.semanticweb.owlapi.io.OWLObjectRenderer renderer)
           
 
Method Summary
 ExplanationTree getOrderedExplanation(org.semanticweb.owlapi.model.OWLAxiom entailment, Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
          Gets an ordered (and possibly indented) explanation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderer

protected final org.semanticweb.owlapi.io.OWLObjectRenderer renderer
Constructor Detail

AlphaExplanationOrderer

public AlphaExplanationOrderer(org.semanticweb.owlapi.io.OWLObjectRenderer renderer)
Parameters:
renderer - the renderer to use
Method Detail

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.


Copyright © 2012 The University of Manchester. All Rights Reserved.