fuzzydl
Class MinSubsumesQuery

java.lang.Object
  extended by fuzzydl.Query
      extended by fuzzydl.SubsumptionQuery
          extended by fuzzydl.MinSubsumesQuery

public class MinSubsumesQuery
extends SubsumptionQuery

Minimize subsumption query.


Field Summary
 
Fields inherited from class fuzzydl.SubsumptionQuery
c1, c2, DEFAULT, GODEL, LUKASIEWICZ, objExpr, type, ZADEH
 
Constructor Summary
MinSubsumesQuery(Concept c1, Concept c2, int type)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MinSubsumesQuery

public MinSubsumesQuery(Concept c1,
                        Concept c2,
                        int type)
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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object