public abstract class Query
extends java.lang.Object
| Constructor and Description |
|---|
Query() |
| Modifier and Type | Method and Description |
|---|---|
double |
getTotalTime()
Gets the total reasoning time in seconds.
|
abstract void |
preprocess(KnowledgeBase kb)
Performs some preprocessing steps of the query over a fuzzy KB.
|
void |
setInitialTime()
Checks time just before the reasoning.
|
void |
setTotalTime()
Checks time just after the reasoning.
|
abstract Solution |
solve(KnowledgeBase kb)
Solves the query over a fuzzy KB.
|
abstract java.lang.String |
toString()
Gets the name of the query.
|
public void setInitialTime()
public void setTotalTime()
public double getTotalTime()
public abstract void preprocess(KnowledgeBase kb) throws FuzzyOntologyException, InconsistentOntologyException
kb - A fuzzy KB.FuzzyOntologyException - fuzzy ontology exception.InconsistentOntologyException - Inconsistent ontology.public abstract Solution solve(KnowledgeBase kb) throws FuzzyOntologyException
kb - A fuzzy KB.FuzzyOntologyException - fuzzy ontology exception.public abstract java.lang.String toString()
toString in class java.lang.Object