public class Decreasing extends Increasing
constraints
atomicExecution, consistencyPruningEvents, constraintScope, earlyTerminationOK, increaseWeight, numberId, scope, trace
queueIndex
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, imposeDecomposition
afc, 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, watchedVariableGrounded
auxiliaryVariables, checkInput, checkInput, checkInputForDuplication, checkInputForDuplicationSkipSingletons, checkInputForNullness, checkInputForNullness, checkInputForNullness, derivative, getDubletonsSkipSingletons, imposeDecomposition
public 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()
Constraint
toString
in class Increasing
Copyright © 2022. All rights reserved.