public abstract class SingleExplanationGeneratorImpl extends Object implements TransactionAwareSingleExpGen
| Constructor and Description |
|---|
SingleExplanationGeneratorImpl(OWLOntology ontology,
OWLReasonerFactory reasonerFactory,
OWLReasoner reasoner)
Instantiates a new single explanation generator impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction()
Indicates to the explanation generator that a transaction which may
modify the ontology state is starting.
|
void |
endTransaction()
End a transaction.
|
DefinitionTracker |
getDefinitionTracker()
Gets the definition tracker.
|
OWLOntology |
getOntology()
Gets the ontology.
|
OWLOntologyManager |
getOntologyManager()
Gets the ontology manager.
|
OWLReasoner |
getReasoner() |
OWLReasonerFactory |
getReasonerFactory()
Gets the reasoner factory.
|
protected boolean |
isFirstExplanation()
Checks if is first explanation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExplanationpublic SingleExplanationGeneratorImpl(OWLOntology ontology, OWLReasonerFactory reasonerFactory, OWLReasoner reasoner)
ontology - the ontologyreasonerFactory - the reasoner factoryreasoner - the reasonerpublic OWLOntologyManager getOntologyManager()
SingleExplanationGeneratorgetOntologyManager in interface SingleExplanationGeneratorpublic OWLReasoner getReasoner()
getReasoner in interface SingleExplanationGeneratorpublic DefinitionTracker getDefinitionTracker()
public OWLOntology getOntology()
SingleExplanationGeneratorgetOntology in interface SingleExplanationGeneratorpublic OWLReasonerFactory getReasonerFactory()
SingleExplanationGeneratorgetReasonerFactory in interface SingleExplanationGeneratorprotected boolean isFirstExplanation()
public void beginTransaction()
TransactionAwareSingleExpGenHSTExplanationGenerator.beginTransaction in interface TransactionAwareSingleExpGenpublic void endTransaction()
TransactionAwareSingleExpGenTransactionAwareSingleExpGen.beginTransaction()endTransaction in interface TransactionAwareSingleExpGenCopyright © 2014 The University of Manchester. All Rights Reserved.