fuzzydl
Class MaxRelatedQuery
java.lang.Object
fuzzydl.Query
fuzzydl.RelatedQuery
fuzzydl.MaxRelatedQuery
public class MaxRelatedQuery
- extends RelatedQuery
Lowest upper bound of a role assertion (ind1, ind2, role)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MaxRelatedQuery
public MaxRelatedQuery(Individual a,
Individual b,
java.lang.String roleName)
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