Class Equality
java.lang.Object
tools.refinery.interpreter.matchers.psystem.BasePConstraint
tools.refinery.interpreter.matchers.psystem.DeferredPConstraint
tools.refinery.interpreter.matchers.psystem.basicdeferred.Equality
- All Implemented Interfaces:
PConstraint,PTraceable
-
Field Summary
Fields inherited from class tools.refinery.interpreter.matchers.psystem.BasePConstraint
pBodyFields inherited from interface tools.refinery.interpreter.matchers.psystem.PConstraint
COMPARE_BY_MONOTONOUS_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoReplaceVariable(PVariable obsolete, PVariable replacement) The set of variables whose potential values can be enumerated (once all non-deduced variables have known values).A (preferably minimal) cover of known functional dependencies between variables.getWho()booleanisMoot()An equality is moot if it compares the a variable with itself.booleanisReadyAt(SubPlan plan, IQueryMetaContext context) protected StringMethods inherited from class tools.refinery.interpreter.matchers.psystem.BasePConstraint
checkSanity, delete, getAffectedVariables, getBody, getMonotonousID, getPSystem, replaceVariable, toString
-
Constructor Details
-
Equality
-
-
Method Details
-
isMoot
public boolean isMoot()An equality is moot if it compares the a variable with itself.- Returns:
- true, if the equality is moot
-
doReplaceVariable
- Specified by:
doReplaceVariablein classBasePConstraint
-
toStringRest
- Specified by:
toStringRestin classBasePConstraint
-
getWho
-
getWithWhom
-
getDeducedVariables
Description copied from interface:PConstraintThe set of variables whose potential values can be enumerated (once all non-deduced variables have known values). -
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.
-
isReadyAt
- Specified by:
isReadyAtin classDeferredPConstraint
-