|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.method.retrieve.FilterBasedRetrieval.predicates.OntologyCompatible
public class OntologyCompatible
Predicate that compares if two objects (that must be Instance typed) are compatible. Compatible means that the Least-Common-Subsumer of the query and the case instances is the direct parent of the query. Informally, it means that que case is "under" the query in the ontology tree. Only applicable to Instances.
FilterBasedRetrievalMethod
,
FilterConfig
Constructor Summary | |
---|---|
OntologyCompatible()
|
Method Summary | |
---|---|
boolean |
compute(java.lang.Object caseObject,
java.lang.Object queryObject)
Computes the predicate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OntologyCompatible()
Method Detail |
---|
public boolean compute(java.lang.Object caseObject, java.lang.Object queryObject) throws NoApplicableFilterPredicateException
FilterPredicate
compute
in interface FilterPredicate
caseObject
- is the object of the case being comparedqueryObject
- is the object of the query being compared
NoApplicableFilterPredicateException
- if the predicate cannot be applied to those objects.
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |