public class MaxRelatedQuery extends RelatedQuery
Constructor and Description |
---|
MaxRelatedQuery(Individual a,
Individual b,
java.lang.String roleName) |
Modifier and Type | Method and Description |
---|---|
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 MaxRelatedQuery(Individual a, Individual b, java.lang.String roleName)
public void preprocess(KnowledgeBase kb) throws FuzzyOntologyException
Query
preprocess
in class Query
kb
- A fuzzy KB.FuzzyOntologyException
public Solution solve(KnowledgeBase kb) throws FuzzyOntologyException
Query
solve
in class Query
kb
- A fuzzy KB.FuzzyOntologyException