Class PreemptiveQueryEvaluationFunction
java.lang.Object
fr.inria.rules.integraal.component_builder.evaluators.query_evaluation.auxiliary.PreemptiveQueryEvaluationFunction
- All Implemented Interfaces:
Function<QueryEvaluationInput, QueryEvaluationOutput>
public class PreemptiveQueryEvaluationFunction
extends Object
implements Function<QueryEvaluationInput, QueryEvaluationOutput>
A class to encapsulate the function of evaluating a FOQuery and producing a
QueryEvaluationOutput. It goes through all the answers to a query to force
its full evaluation.
Use this if you need to force the full evaluation of the query e.g. for experiments
Use this if you need to force the full evaluation of the query e.g. for experiments
-
Constructor Details
-
PreemptiveQueryEvaluationFunction
public PreemptiveQueryEvaluationFunction()Creates the preemptive query-evaluation function.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<QueryEvaluationInput, QueryEvaluationOutput>
-