public class AndBool extends DecomposedConstraint<PrimitiveConstraint>
queueIndex| Constructor and Description |
|---|
AndBool(IntVar[] a,
IntVar result)
It constructs and constraint on variables.
|
AndBool(IntVar a,
IntVar b,
IntVar result)
It constructs and constraint on variables.
|
AndBool(List<IntVar> a,
IntVar result)
It constructs and constraint on variables.
|
| Modifier and Type | Method and Description |
|---|---|
List<PrimitiveConstraint> |
decompose(Store store)
It returns an array list of constraint which are used to decompose this
constraint.
|
void |
imposeDecomposition(Store store)
It imposes the constraint in a given store.
|
String |
toString() |
auxiliaryVariables, checkInput, checkInput, checkInputForDuplication, checkInputForDuplicationSkipSingletons, checkInputForNullness, checkInputForNullness, checkInputForNullness, derivative, getDubletonsSkipSingletons, imposeDecompositionpublic AndBool(IntVar[] a, IntVar result)
a - parameters variable.result - variable.public AndBool(List<IntVar> a, IntVar result)
a - parameters variable.result - variable.public void imposeDecomposition(Store store)
DecomposedConstraintimposeDecomposition in class DecomposedConstraint<PrimitiveConstraint>store - the constraint store to which the constraint is imposed to.public List<PrimitiveConstraint> decompose(Store store)
DecomposedConstraintdecompose in class DecomposedConstraint<PrimitiveConstraint>store - the constraint store in which context the decomposition takes place.Copyright © 2022. All rights reserved.