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.
|
getTotalTime, setInitialTime, setTotalTimepublic MaxRelatedQuery(Individual a, Individual b, java.lang.String roleName)
public void preprocess(KnowledgeBase kb) throws FuzzyOntologyException, InconsistentOntologyException
Querypreprocess in class Querykb - A fuzzy KB.FuzzyOntologyException - fuzzy ontology exception.InconsistentOntologyException - Inconsistent ontology.public Solution solve(KnowledgeBase kb) throws FuzzyOntologyException
Querysolve in class Querykb - A fuzzy KB.FuzzyOntologyException - fuzzy ontology exception.