|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A cloneable version of the Sequence constraint. More...

Public Member Functions | |
| SequenceCloneable (IntVarCloneable[] list, IntervalDomain set, int q, int min, int max) | |
| It creates a Sequence constraint. | |
| SequenceCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| List< IntVar > | arguments () |
| String | id () |
| List< Constraint > | decompose (Store store) |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< SequenceCloneable > | |
| abstract C | cloneInto (StoreCloneable targetStore) throws CloneNotSupportedException, FailException |
| Creates a new constraint that is a (state-less) clone of this one, but expressed on the variables with the same names found in the input store. | |
Static Public Member Functions | |
| static List< Constraint > | decomposeByRegular (Sequence sequence) |
| Preferred and default option of decomposing Sequence constraint. | |
Private Attributes | |
| final String | id |
| This constraint's ID/name. | |
Static Private Attributes | |
| static int | idNbr = 0 |
| Used to increment the id of constraints. | |
A cloneable version of the Sequence constraint.
| org.jacop.constraints.SequenceCloneable.SequenceCloneable | ( | IntVarCloneable[] | list, |
| IntervalDomain | set, | ||
| int | q, | ||
| int | min, | ||
| int | max ) |
It creates a Sequence constraint.
| list | variables which assignment is constrained by Sequence constraint. |
| set | set of values which occurrence is counted within each sequence. |
| q | the length of the sequence |
| min | the minimal occurrences of values from set within a sequence. |
| max | the maximal occurrences of values from set within a sequence. |
References idNbr.
Referenced by cloneInto().
| List< IntVar > org.jacop.constraints.SequenceCloneable.arguments | ( | ) |
| SequenceCloneable org.jacop.constraints.SequenceCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |
| List< Constraint > org.jacop.constraints.SequenceCloneable.decompose | ( | Store | store | ) |
References decomposeByRegular().

|
static |
Preferred and default option of decomposing Sequence constraint.
| sequence | sequence constraint to be decomposed by regular. |
Referenced by decompose().
| String org.jacop.constraints.SequenceCloneable.id | ( | ) |
|
private |
This constraint's ID/name.
|
staticprivate |
Used to increment the id of constraints.
Referenced by SequenceCloneable().