|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.
| Constructor Summary | |
|---|---|
SingleExplanationGeneratorImpl(OWLOntologyManager manager)
|
|
| Method Summary | |
|---|---|
void |
beginTransaction()
Indicates to the explanation generator that a transaction which may modify the ontology state is starting. |
void |
endTransaction()
End a transaction. |
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. |
OWLReasonerFactory |
getReasonerFactory()
Returns the reasoner factory used to generate reasoners. |
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(OWLReasonerFactory reasonerFactory)
Sets the reasoner factory that will be used to generate fresh reasoners. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.clarkparsia.explanation.SingleExplanationGenerator |
|---|
getExplanation |
| Constructor Detail |
|---|
public SingleExplanationGeneratorImpl(OWLOntologyManager manager)
| Method Detail |
|---|
public OWLOntologyManager getOntologyManager()
SingleExplanationGenerator
getOntologyManager in interface SingleExplanationGeneratorpublic void setOntology(OWLOntology ontology)
SingleExplanationGenerator
setOntology in interface SingleExplanationGeneratorpublic OWLClassReasoner getReasoner()
SingleExplanationGenerator
getReasoner in interface SingleExplanationGeneratorpublic void setReasoner(OWLClassReasoner reasoner)
SingleExplanationGeneratorSingleExplanationGenerator.setReasonerFactory(OWLReasonerFactory) 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 SingleExplanationGeneratorpublic OWLOntology getOntology()
SingleExplanationGenerator
getOntology in interface SingleExplanationGeneratorpublic OWLReasonerFactory getReasonerFactory()
SingleExplanationGenerator
getReasonerFactory in interface SingleExplanationGeneratorpublic void setReasonerFactory(OWLReasonerFactory reasonerFactory)
SingleExplanationGenerator
setReasonerFactory in interface SingleExplanationGeneratorpublic OWLClassReasoner getAltReasoner()
public void beginTransaction()
TransactionAwareSingleExpGenHSTExplanationGenerator.
beginTransaction in interface TransactionAwareSingleExpGenpublic void endTransaction()
TransactionAwareSingleExpGenTransactionAwareSingleExpGen.beginTransaction()
endTransaction in interface TransactionAwareSingleExpGen
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||