Class NegationFOQueryEvaluator<QD extends QueryableData>

java.lang.Object
fr.inria.rules.integraal.query_evaluation.negation.NegationFOQueryEvaluator<QD>
Type Parameters:
QD - the queryable data type handled by this evaluator
All Implemented Interfaces:
FOQueryEvaluator<FOFormulaNegation, QD>, QueryEvaluator<FOQuery<? extends FOFormulaNegation>, QD>

public class NegationFOQueryEvaluator<QD extends QueryableData> extends Object implements FOQueryEvaluator<FOFormulaNegation, QD>
Evaluator for ¬φ. It delegates the evaluation of the inner formula φ to another evaluator and returns the logical negation of its existence :
  • if φ has at least one homomorphism compatible with the current pre-mapping, the result stream is empty ;
  • otherwise the stream contains a single empty Substitution.
Author:
Guillaume Perution-Kihli