fuzzydl
Class DefuzzifyQuery

java.lang.Object
  extended by fuzzydl.Query
      extended by fuzzydl.DefuzzifyQuery
Direct Known Subclasses:
LomDefuzzifyQuery, MomDefuzzifyQuery, SomDefuzzifyQuery

public abstract class DefuzzifyQuery
extends Query

Defuzzification query.


Field Summary
protected  Individual a
           
protected  Concept conc
           
protected  java.lang.String fName
           
protected  Expression objExpr
           
 
Constructor Summary
DefuzzifyQuery(Concept c, Individual ind, java.lang.String featureName)
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

protected Individual a

conc

protected Concept conc

fName

protected java.lang.String fName

objExpr

protected Expression objExpr
Constructor Detail

DefuzzifyQuery

public DefuzzifyQuery(Concept c,
                      Individual ind,
                      java.lang.String featureName)
Method Detail

preprocess

public void preprocess(KnowledgeBase kb)
                throws FuzzyOntologyException
Description copied from class: Query
Performs some preprocessing steps of the query over a fuzzy KB.

Specified by:
preprocess in class Query
Parameters:
kb - A fuzzy KB.
Throws:
FuzzyOntologyException

solve

public Solution solve(KnowledgeBase kb)
               throws FuzzyOntologyException
Description copied from class: Query
Solves the query over a fuzzy KB.

Specified by:
solve in class Query
Parameters:
kb - A fuzzy KB.
Returns:
An optimal solution to the query.
Throws:
FuzzyOntologyException

getObjExpression

public abstract Expression getObjExpression(Variable q)
Gets the objective expression.

Parameters:
q - Variable taking part in the query.
Returns:
Objective expression.