|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJaCoP.constraints.DecomposedConstraint
public abstract class DecomposedConstraint
Standard unified interface/abstract class for constraints, which can only be decomposed. Defines how to construct a constraint out of other constraints.
| Field Summary | |
|---|---|
int |
queueIndex
It specifies the queue (index), which is used to record that constraint needs to be re-evaluated. |
| Constructor Summary | |
|---|---|
DecomposedConstraint()
|
|
| Method Summary | |
|---|---|
java.util.ArrayList<Var> |
auxiliaryVariables()
|
abstract java.util.ArrayList<Constraint> |
decompose(Store store)
It returns an array list of constraint which are used to decompose this constraint. |
abstract void |
imposeDecomposition(Store store)
It imposes the constraint in a given store. |
void |
imposeDecomposition(Store store,
int queueIndex)
It imposes the constraint and adjusts the queue index. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int queueIndex
| Constructor Detail |
|---|
public DecomposedConstraint()
| Method Detail |
|---|
public abstract void imposeDecomposition(Store store)
store - the constraint store to which the constraint is imposed to.
public void imposeDecomposition(Store store,
int queueIndex)
store - the constraint store to which the constraint is imposed to.queueIndex - the index of the queue in the store it is assigned to.public abstract java.util.ArrayList<Constraint> decompose(Store store)
store - the constraint store in which context the decomposition takes place.
public java.util.ArrayList<Var> auxiliaryVariables()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||