public class Maximum extends AbstractConstraint
| Constructor and Description |
|---|
Maximum(IntVar[] x,
IntVar y)
Creates the maximum constraint y = maximum(x[0],x[1],...
|
| Modifier and Type | Method and Description |
|---|---|
void |
post()
Initializes the constraint when it is posted to the solver.
|
void |
propagate()
Propagates the constraint.
|
getSolver, isActive, isScheduled, setActive, setScheduledpublic void post()
Constraintpost in interface Constraintpost in class AbstractConstraintpublic void propagate()
Constraintpropagate in interface Constraintpropagate in class AbstractConstraintCopyright © 2018 Laurent Michel, Pierre Schaus, Pascal Van Hentenryck. All rights reserved.