public class MaxInstanceQuery extends InstanceQuery
| Constructor and Description |
|---|
MaxInstanceQuery(Concept concept,
Individual individual) |
| 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 MaxInstanceQuery(Concept concept, Individual individual) throws FuzzyOntologyException
FuzzyOntologyExceptionpublic 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.