public class OrBool extends DecomposedConstraint<PrimitiveConstraint>
queueIndex
Constructor and Description |
---|
OrBool(IntVar[] a,
IntVar result)
It constructs and constraint on variables.
|
OrBool(IntVar a,
IntVar b,
IntVar result)
It constructs and constraint on variables.
|
OrBool(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, imposeDecomposition
public OrBool(IntVar[] a, IntVar result)
a
- parametersresult
- result variable.public OrBool(List<IntVar> a, IntVar result)
a
- parametersresult
- result variable.public void imposeDecomposition(Store store)
DecomposedConstraint
imposeDecomposition
in class DecomposedConstraint<PrimitiveConstraint>
store
- the constraint store to which the constraint is imposed to.public List<PrimitiveConstraint> decompose(Store store)
DecomposedConstraint
decompose
in class DecomposedConstraint<PrimitiveConstraint>
store
- the constraint store in which context the decomposition takes place.Copyright © 2022. All rights reserved.