|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.uzh.ifi.attempto.acewiki.core.DummyReasoner
public class DummyReasoner
This dummy class is a reasoner without reasoning features.
| Constructor Summary | |
|---|---|
DummyReasoner()
|
|
| Method Summary | |
|---|---|
void |
flushElements()
This method can finalize the loading or unloading of elements. |
java.util.List<AnswerElement> |
getAnswer(Question question)
Should return a list of ontology elements that answer the given question. |
java.util.List<Concept> |
getConcepts(Individual ind)
Should return all concepts the given individual belongs to. |
java.util.List<Individual> |
getIndividuals(Concept concept)
Should return all individuals that belong to the given concept. |
java.util.Map<java.lang.String,java.lang.String> |
getInfo()
This method can return a map of name/value pairs with information about the reasoner. |
java.lang.String |
getReasonerName()
Should return the name of the reasoner. |
java.lang.String |
getReasonerType()
Should return the type of the reasoner. |
java.lang.String |
getReasonerVersion()
Should return the version of the reasoner. |
java.util.List<Concept> |
getSubConcepts(Concept concept)
Should return all the sub-concepts of the given concept. |
java.util.List<Concept> |
getSuperConcepts(Concept concept)
Should return all super-concepts of the given concept. |
void |
init(Ontology ontology)
This is the first method to be called and provides the ontology object. |
boolean |
isConsistent()
Should return true if the ontology is consistent. |
boolean |
isSatisfiable(Concept concept)
Should check if the given concept is satisfiable. |
void |
load()
Loads the reasoner or reasoner interface. |
void |
loadElement(OntologyElement element)
Loads the given ontology element. |
void |
loadSentence(Sentence sentence)
Loads the given sentence. |
void |
unloadElement(OntologyElement element)
Unloads the given ontology element. |
void |
unloadSentence(Sentence sentence)
Unloads the given sentence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyReasoner()
| Method Detail |
|---|
public void init(Ontology ontology)
AceWikiReasoner
init in interface AceWikiReasonerontology - The ontology object.public java.lang.String getReasonerName()
AceWikiReasoner
getReasonerName in interface AceWikiReasonerpublic java.lang.String getReasonerVersion()
AceWikiReasoner
getReasonerVersion in interface AceWikiReasonerpublic java.lang.String getReasonerType()
AceWikiReasoner
getReasonerType in interface AceWikiReasonerpublic java.util.Map<java.lang.String,java.lang.String> getInfo()
AceWikiReasoner
getInfo in interface AceWikiReasonerpublic void load()
AceWikiReasoner
load in interface AceWikiReasonerpublic void loadElement(OntologyElement element)
AceWikiReasoner
loadElement in interface AceWikiReasonerelement - The ontology element.public void unloadElement(OntologyElement element)
AceWikiReasoner
unloadElement in interface AceWikiReasonerelement - The ontology element.public void flushElements()
AceWikiReasoner
flushElements in interface AceWikiReasonerpublic java.util.List<Concept> getConcepts(Individual ind)
AceWikiReasoner
getConcepts in interface AceWikiReasonerind - The individual.
public java.util.List<Individual> getIndividuals(Concept concept)
AceWikiReasoner
getIndividuals in interface AceWikiReasonerconcept - The concept.
public java.util.List<Concept> getSuperConcepts(Concept concept)
AceWikiReasoner
getSuperConcepts in interface AceWikiReasonerconcept - The concept for which all super-concepts should be returned.
public java.util.List<Concept> getSubConcepts(Concept concept)
AceWikiReasoner
getSubConcepts in interface AceWikiReasonerconcept - The concept for which all sub-concepts should be returned.
public java.util.List<AnswerElement> getAnswer(Question question)
AceWikiReasoner
getAnswer in interface AceWikiReasonerquestion - The question to be answered.
public boolean isConsistent()
AceWikiReasoner
isConsistent in interface AceWikiReasonerpublic boolean isSatisfiable(Concept concept)
AceWikiReasoner
isSatisfiable in interface AceWikiReasonerconcept - The concept.
public void loadSentence(Sentence sentence)
AceWikiReasoner
loadSentence in interface AceWikiReasonersentence - The sentence.public void unloadSentence(Sentence sentence)
AceWikiReasoner
unloadSentence in interface AceWikiReasonersentence - The sentence.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||