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

Public Member Functions | |
| StretchCloneable (int[] dom, int[] minSubSegLength, int[] maxSubSegLength, IntVarCloneable[] vars) | |
| Constructor. | |
| String | toString () |
| StretchCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| List< IntVar > | arguments () |
| String | id () |
| List< Constraint > | decompose (Store store) |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< StretchCloneable > | |
| 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. | |
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 Stretch constraint.
| org.jacop.constraints.StretchCloneable.StretchCloneable | ( | int[] | dom, |
| int[] | minSubSegLength, | ||
| int[] | maxSubSegLength, | ||
| IntVarCloneable[] | vars ) |
Constructor.
| dom | the domain of values allowed for the variables |
| minSubSegLength | for each allowed variable value, the minimum length of any sequence of this value |
| maxSubSegLength | for each allowed variable value, the maximum length of any sequence of this value |
| vars | the variables being stretched |
References idNbr.
Referenced by cloneInto().
| List< IntVar > org.jacop.constraints.StretchCloneable.arguments | ( | ) |
| StretchCloneable org.jacop.constraints.StretchCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |
| List< Constraint > org.jacop.constraints.StretchCloneable.decompose | ( | Store | store | ) |
| String org.jacop.constraints.StretchCloneable.id | ( | ) |
| String org.jacop.constraints.StretchCloneable.toString | ( | ) |
|
private |
This constraint's ID/name.
|
staticprivate |
Used to increment the id of constraints.
Referenced by StretchCloneable().