fuzzydl
Class Query

java.lang.Object
  extended by fuzzydl.Query
Direct Known Subclasses:
BnpQuery, DefuzzifyQuery, InstanceQuery, MaxQuery, MinQuery, RelatedQuery, SatisfiableQuery, SubsumptionQuery

public abstract class Query
extends java.lang.Object

Query.


Constructor Summary
Query()
           
 
Method Summary
abstract  void preprocess(KnowledgeBase kb)
          Performs some preprocessing steps of the query over a fuzzy KB.
abstract  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
 

Constructor Detail

Query

public Query()
Method Detail

preprocess

public abstract void preprocess(KnowledgeBase kb)
                         throws FuzzyOntologyException
Performs some preprocessing steps of the query over a fuzzy KB.

Parameters:
kb - A fuzzy KB.
Throws:
FuzzyOntologyException

solve

public abstract Solution solve(KnowledgeBase kb)
                        throws FuzzyOntologyException
Solves the query over a fuzzy KB.

Parameters:
kb - A fuzzy KB.
Returns:
An optimal solution to the query.
Throws:
FuzzyOntologyException