|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.clarkparsia.explanation.SingleExplanationGeneratorImpl
public abstract class SingleExplanationGeneratorImpl
Title: SingleExplanationGeneratorImpl Description: An abstract implementation of SingleExplanationGenerator that can be used as the basis for different explanation generator techniques. Copyright: Copyright (c) 2007 Company: Clark & Parsia, LLC.
Field Summary | |
---|---|
protected OWLClassReasoner |
altReasoner
|
protected DefinitionTracker |
definitionTracker
|
protected OWLOntology |
ontology
|
protected OWLOntologyManager |
owlOntologyManager
|
protected OWLClassReasoner |
reasoner
|
protected ReasonerFactory |
reasonerFactory
|
Constructor Summary | |
---|---|
SingleExplanationGeneratorImpl(OWLOntologyManager manager)
|
Method Summary | |
---|---|
OWLClassReasoner |
getAltReasoner()
|
OWLOntology |
getOntology()
Returns the ontology according to which the explanations are generated. |
OWLOntologyManager |
getOntologyManager()
Get the ontology manager for this explanation generator. |
OWLClassReasoner |
getReasoner()
Returns the reasoner associated with this generator. |
ReasonerFactory |
getReasonerFactory()
Returns the reasoner factory used to generate reasoners. |
protected boolean |
isFirstExplanation()
|
void |
setOntology(OWLOntology ontology)
Sets the ontology according to which the explanations are generated. |
void |
setReasoner(OWLClassReasoner reasoner)
Sets the reasoner that will be used to generate explanations. |
void |
setReasonerFactory(ReasonerFactory reasonerFactory)
Sets the reasoner factory that will be used to generate fresh reasoners. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.clarkparsia.explanation.SingleExplanationGenerator |
---|
getExplanation |
Field Detail |
---|
protected OWLOntologyManager owlOntologyManager
protected OWLOntology ontology
protected OWLClassReasoner reasoner
protected ReasonerFactory reasonerFactory
protected DefinitionTracker definitionTracker
protected OWLClassReasoner altReasoner
Constructor Detail |
---|
public SingleExplanationGeneratorImpl(OWLOntologyManager manager)
Method Detail |
---|
public OWLOntologyManager getOntologyManager()
SingleExplanationGenerator
getOntologyManager
in interface SingleExplanationGenerator
public void setOntology(OWLOntology ontology)
SingleExplanationGenerator
setOntology
in interface SingleExplanationGenerator
public OWLClassReasoner getReasoner()
SingleExplanationGenerator
getReasoner
in interface SingleExplanationGenerator
public void setReasoner(OWLClassReasoner reasoner)
SingleExplanationGenerator
SingleExplanationGenerator.setReasonerFactory(ReasonerFactory)
because the reasoning
results already computed by the given reasoner can be reused. It is
guaranteed that the state of this reasoner will not be invalidated by
explanation generation, i.e. if the reasoner was in classified state it
will stay in classified state.
setReasoner
in interface SingleExplanationGenerator
public OWLOntology getOntology()
SingleExplanationGenerator
getOntology
in interface SingleExplanationGenerator
public ReasonerFactory getReasonerFactory()
SingleExplanationGenerator
getReasonerFactory
in interface SingleExplanationGenerator
public void setReasonerFactory(ReasonerFactory reasonerFactory)
SingleExplanationGenerator
setReasonerFactory
in interface SingleExplanationGenerator
public OWLClassReasoner getAltReasoner()
protected boolean isFirstExplanation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |