jcolibri.method.retrieve.FilterBasedRetrieval.predicates
Interface FilterPredicate

All Known Implementing Classes:
Equal, EqualTo, NotEqual, NotEqualTo, OntologyCompatible, QueryLess, QueryLessOrEqual, QueryMore, QueryMoreOrEqual, Threshold

public interface FilterPredicate

Interface for Predicates

Version:
1.0
Author:
Juan A. Recio-Garcia, Developed at University College Cork (Ireland) in collaboration with Derek Bridge.

Method Summary
 boolean compute(java.lang.Object caseObject, java.lang.Object queryObject)
          Computes the predicate
 

Method Detail

compute

boolean compute(java.lang.Object caseObject,
                java.lang.Object queryObject)
                throws NoApplicableFilterPredicateException
Computes the predicate

Parameters:
caseObject - is the object of the case being compared
queryObject - is the object of the query being compared
Returns:
the result of the comparation
Throws:
NoApplicableFilterPredicateException - if the predicate cannot be applied to those objects.

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es