public class RelationEvaluation extends EnumerablePConstraint implements IMultiQueryReference
ExpressionEvaluation
, which produces a single output value
given an input tuple.
The assumption is that the relation evaluation logic is not incremental, that is, it can only perform from-scratch
computation of the output relation given the complete input relations. To this end, the relation evaluator always
receives the complete input relations with all their contents as input. However, the evaluator engine makes sure that
the output of the relation evaluation is at least "seemingly" incremental. This means that the underlying computation
network computes the delta on the output compared to the previous output and only propagates the delta further.variablesTuple
pBody
COMPARE_BY_MONOTONOUS_ID
Constructor and Description |
---|
RelationEvaluation(PBody body,
Tuple variablesTuple,
java.util.List<PQuery> inputQueries,
IRelationEvaluator evaluator) |
Modifier and Type | Method and Description |
---|---|
IRelationEvaluator |
getEvaluator() |
java.util.List<PQuery> |
getReferredQueries() |
doReplaceVariable, getDeducedVariables, getVariableInTuple, getVariablesTuple, toStringRest, toStringRestRest
checkSanity, delete, getAffectedVariables, getBody, getFunctionalDependencies, getMonotonousID, getPSystem, replaceVariable, toString
public RelationEvaluation(PBody body, Tuple variablesTuple, java.util.List<PQuery> inputQueries, IRelationEvaluator evaluator)
public IRelationEvaluator getEvaluator()
public java.util.List<PQuery> getReferredQueries()
getReferredQueries
in interface IMultiQueryReference