public class Element1D extends AbstractConstraint
array[y] = z| Constructor and Description |
|---|
Element1D(int[] array,
IntVar y,
IntVar z)
Creates an element constraint
array[y] = z |
| Modifier and Type | Method and Description |
|---|---|
void |
post()
Initializes the constraint when it is posted to the solver.
|
getSolver, isActive, isScheduled, propagate, setActive, setScheduledpublic void post()
Constraintpost in interface Constraintpost in class AbstractConstraintCopyright © 2018 Laurent Michel, Pierre Schaus, Pascal Van Hentenryck. All rights reserved.