public class MomDefuzzifyQuery extends DefuzzifyQuery
Constructor and Description |
---|
MomDefuzzifyQuery(Concept c,
Individual ind,
java.lang.String featureName) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
toString()
Gets the name of the query.
|
public MomDefuzzifyQuery(Concept c, Individual ind, java.lang.String featureName)
public void preprocess(KnowledgeBase kb) throws FuzzyOntologyException
Query
preprocess
in class DefuzzifyQuery
kb
- A fuzzy KB.FuzzyOntologyException
public Solution solve(KnowledgeBase kb) throws FuzzyOntologyException
Query
solve
in class DefuzzifyQuery
kb
- A fuzzy KB.FuzzyOntologyException
public java.lang.String toString()
Query
public Expression getObjExpression(Variable q)
DefuzzifyQuery
getObjExpression
in class DefuzzifyQuery
q
- Variable taking part in the query.