public abstract class DefuzzifyQuery extends Query
| Constructor and Description |
|---|
DefuzzifyQuery(Concept c,
Individual ind,
java.lang.String featureName) |
| Modifier and Type | Method and Description |
|---|---|
abstract Expression |
getObjExpression(Variable q)
Gets the objective expression.
|
void |
preprocess(KnowledgeBase kb)
Performs some preprocessing steps of the query over a fuzzy KB.
|
Solution |
solve(KnowledgeBase kb)
Solves the query over a fuzzy KB.
|
getTotalTime, setInitialTime, setTotalTime, toStringpublic DefuzzifyQuery(Concept c, Individual ind, java.lang.String featureName)
public void preprocess(KnowledgeBase kb) throws FuzzyOntologyException, InconsistentOntologyException
Querypreprocess in class Querykb - A fuzzy KB.FuzzyOntologyException - fuzzy ontology exception.InconsistentOntologyException - Inconsistent ontology.public Solution solve(KnowledgeBase kb) throws FuzzyOntologyException
Querysolve in class Querykb - A fuzzy KB.FuzzyOntologyException - fuzzy ontology exception.public abstract Expression getObjExpression(Variable q)
q - Variable taking part in the query.