public class Decreasing extends Increasing
constraintsatomicExecution, consistencyPruningEvents, constraintScope, earlyTerminationOK, increaseWeight, numberId, scope, tracequeueIndex| Constructor and Description |
|---|
Decreasing(IntVar[] x) |
Decreasing(IntVar[] x,
boolean strict) |
Decreasing(List<IntVar> x)
It constructs an decreasing constraint.
|
Decreasing(List<IntVar> x,
boolean strict) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
It produces a string representation of a constraint state.
|
consistency, decompose, getDefaultConsistencyPruningEvent, imposeDecompositionafc, arguments, cleanAfterFailure, getConsistencyPruningEvent, getGuideConstraint, getGuideValue, getGuideVariable, grounded, grounded, id, impose, impose, increaseWeight, intArrayToString, long2int, numberArgs, queueVariable, removeConstraint, requiresMonotonicity, setConsistencyPruningEvent, setConstraintScope, setScope, setScope, setScope, setScope, setScope, setWatchedVariableGrounded, supplyGuideFeedback, updateAFC, watchedVariableGroundedauxiliaryVariables, checkInput, checkInput, checkInputForDuplication, checkInputForDuplicationSkipSingletons, checkInputForNullness, checkInputForNullness, checkInputForNullness, derivative, getDubletonsSkipSingletons, imposeDecompositionpublic Decreasing(IntVar[] x)
public Decreasing(IntVar[] x, boolean strict)
public Decreasing(List<IntVar> x)
x - variables which must be in decreasing order.public String toString()
ConstrainttoString in class IncreasingCopyright © 2022. All rights reserved.