public class CosPeqR_decomposed extends DecomposedConstraint<Constraint>
Bounds consistency can be used; third parameter of constructor controls this.
Modifier and Type | Field and Description |
---|---|
FloatVar |
p
It contains variable p.
|
FloatVar |
q
It contains variable q.
|
queueIndex
Constructor and Description |
---|
CosPeqR_decomposed(FloatVar p,
FloatVar q)
It constructs cos(P) = Q constraints.
|
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
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 FloatVar p
public FloatVar q
public void imposeDecomposition(Store store)
DecomposedConstraint
imposeDecomposition
in class DecomposedConstraint<Constraint>
store
- the constraint store to which the constraint is imposed to.public List<Constraint> decompose(Store store)
DecomposedConstraint
decompose
in class DecomposedConstraint<Constraint>
store
- the constraint store in which context the decomposition takes place.Copyright © 2022. All rights reserved.