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 tools.refinery.interpreter.matchers.psystem.basicdeferred.BaseTypeSafeConstraint
inputVariables, outputVariable
Fields inherited from class tools.refinery.interpreter.matchers.psystem.BasePConstraint
pBody
Fields inherited from interface tools.refinery.interpreter.matchers.psystem.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.boolean
protected String
Methods inherited from class tools.refinery.interpreter.matchers.psystem.basicdeferred.BaseTypeSafeConstraint
checkTypeSafety, doReplaceVariable, getDeducedVariables, getDeferringVariables, getOutputVariable, isReadyAt
Methods inherited from class tools.refinery.interpreter.matchers.psystem.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:
toStringRest
in classBasePConstraint
-
getFunctionalDependencies
Description copied from interface:PConstraint
A (preferably minimal) cover of known functional dependencies between variables.- Specified by:
getFunctionalDependencies
in interfacePConstraint
- Overrides:
getFunctionalDependencies
in classBasePConstraint
- Returns:
- non-trivial functional dependencies in the form of {variables} --> {variables}, where dependencies with the same lhs are unified.
-