Interface EvaluableQueryValidator
public interface EvaluableQueryValidator
Validates whether queries can be handled by the available evaluators.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic booleanChecks whether the supplied query can be evaluated.static booleancheckAtomicQuery(FOQuery<Atom> atomicQuery) Checks whether the supplied atomic query is supported.static booleancheckAtomSet(Collection<Atom> atomset) Checks whether the supplied atom set can be evaluated as a whole.
-
Method Details
-
check
Checks whether the supplied query can be evaluated.- Parameters:
q- query- Returns:
- true iff the query is evaluable
-
checkAtomicQuery
-
checkAtomSet
Checks whether the supplied atom set can be evaluated as a whole.- Parameters:
atomset- atomset to be checked as a whole; it must not contain a functional term in more than one atom because the backtrack cannot support that- Returns:
- true iff the atomet is evaluable
-