Package org.jacop.floats.constraints
Class PminusCeqR
java.lang.Object
org.jacop.constraints.DecomposedConstraint<Constraint>
org.jacop.constraints.Constraint
org.jacop.constraints.PrimitiveConstraint
org.jacop.floats.constraints.PplusCeqR
org.jacop.floats.constraints.PminusCeqR
- All Implemented Interfaces:
SatisfiedPresent,StoreAware
Constraint P - C = R
Bound consistency is used.
- Version:
- 4.10
-
Field Summary
Fields inherited from class org.jacop.constraints.PrimitiveConstraint
notConsistencyPruningEventsFields inherited from class org.jacop.constraints.Constraint
atomicExecution, consistencyPruningEvents, constraintScope, earlyTerminationOK, increaseWeight, numberId, scope, traceFields inherited from class org.jacop.constraints.DecomposedConstraint
queueIndex -
Constructor Summary
ConstructorsConstructorDescriptionPminusCeqR(FloatVar p, double c, FloatVar r) It constructs constraint P-Q=R. -
Method Summary
Methods inherited from class org.jacop.floats.constraints.PplusCeqR
consistency, derivative, getDefaultConsistencyPruningEvent, getDefaultNestedConsistencyPruningEvent, getDefaultNestedNotConsistencyPruningEvent, getDefaultNotConsistencyPruningEvent, notConsistency, notSatisfied, satisfiedMethods inherited from class org.jacop.constraints.PrimitiveConstraint
getNestedPruningEvent, getNotConsistencyPruningEvent, impose, include, setNotConsistencyPruningEventMethods inherited from class org.jacop.constraints.Constraint
afc, arguments, cleanAfterFailure, decompose, getConsistencyPruningEvent, getGuideConstraint, getGuideValue, getGuideVariable, grounded, grounded, id, impose, imposeDecomposition, increaseWeight, intArrayToString, long2int, numberArgs, queueVariable, removeConstraint, requiresMonotonicity, setConsistencyPruningEvent, setConstraintScope, setScope, setScope, setScope, setScope, setScope, setWatchedVariableGrounded, supplyGuideFeedback, updateAFC, watchedVariableGroundedMethods inherited from class org.jacop.constraints.DecomposedConstraint
auxiliaryVariables, checkInput, checkInput, checkInputForDuplication, checkInputForDuplicationSkipSingletons, checkInputForNullness, checkInputForNullness, checkInputForNullness, getDubletonsSkipSingletons, imposeDecomposition
-
Constructor Details
-
PminusCeqR
It constructs constraint P-Q=R.- Parameters:
p- variable p.c- constant c.r- variable r.
-
-
Method Details
-
toString
Description copied from class:ConstraintIt produces a string representation of a constraint state.
-