Class ExpressionEvaluation
java.lang.Object
tools.refinery.interpreter.matchers.psystem.BasePConstraint
tools.refinery.interpreter.matchers.psystem.DeferredPConstraint
tools.refinery.interpreter.matchers.psystem.VariableDeferredPConstraint
tools.refinery.interpreter.matchers.psystem.basicdeferred.BaseTypeSafeConstraint
tools.refinery.interpreter.matchers.psystem.basicdeferred.ExpressionEvaluation
- All Implemented Interfaces:
PConstraint, PTraceable
-
Field Summary
Fields inherited from class BaseTypeSafeConstraint
inputVariables, outputVariableFields inherited from class BasePConstraint
pBodyFields inherited from interface PConstraint
COMPARE_BY_MONOTONOUS_ID -
Constructor Summary
ConstructorsConstructorDescriptionExpressionEvaluation(PBody pBody, IExpressionEvaluator evaluator, PVariable outputVariable) ExpressionEvaluation(PBody pBody, IExpressionEvaluator evaluator, PVariable outputVariable, boolean isUnwinding) -
Method Summary
Modifier and TypeMethodDescriptionA (preferably minimal) cover of known functional dependencies between variables.booleanprotected StringMethods inherited from class BaseTypeSafeConstraint
checkTypeSafety, doReplaceVariable, getDeducedVariables, getDeferringVariables, getOutputVariable, isReadyAtMethods inherited from class BasePConstraint
checkSanity, delete, getAffectedVariables, getBody, getMonotonousID, getPSystem, replaceVariable, toString
-
Constructor Details
-
ExpressionEvaluation
-
ExpressionEvaluation
public ExpressionEvaluation(PBody pBody, IExpressionEvaluator evaluator, PVariable outputVariable, boolean isUnwinding) - Since:
- 2.4
-
-
Method Details
-
isUnwinding
public boolean isUnwinding()- Since:
- 2.4
-
getEvaluator
-
toStringRest
- Specified by:
toStringRestin classBasePConstraint
-
getFunctionalDependencies
Description copied from interface:PConstraintA (preferably minimal) cover of known functional dependencies between variables.- Specified by:
getFunctionalDependenciesin interfacePConstraint- Overrides:
getFunctionalDependenciesin classBasePConstraint- Returns:
- non-trivial functional dependencies in the form of {variables} --> {variables}, where dependencies with the same lhs are unified.
-