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

Classes | |
| class | SoftAlldiffBuilderCloneable |
| A NetworkBuilder for SoftAlldifferent. More... | |
Public Member Functions | |
| SoftAlldifferentCloneable (IntVarCloneable[] xVars, IntVarCloneable costVar, ViolationMeasure violationMeasure) | |
| Constructor. | |
| SoftAlldifferentCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| List< IntVar > | arguments () |
| String | id () |
| List< Constraint > | decompose (Store store) |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< SoftAlldifferentCloneable > | |
| 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 SoftAllDifferent constraint.
| org.jacop.constraints.SoftAlldifferentCloneable.SoftAlldifferentCloneable | ( | IntVarCloneable[] | xVars, |
| IntVarCloneable | costVar, | ||
| ViolationMeasure | violationMeasure ) |
Constructor.
| xVars | the variables that should all be different |
| costVar | the cost variable |
| violationMeasure | the violation measure |
References idNbr.
Referenced by cloneInto().
| List< IntVar > org.jacop.constraints.SoftAlldifferentCloneable.arguments | ( | ) |
| SoftAlldifferentCloneable org.jacop.constraints.SoftAlldifferentCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |
| List< Constraint > org.jacop.constraints.SoftAlldifferentCloneable.decompose | ( | Store | store | ) |
| String org.jacop.constraints.SoftAlldifferentCloneable.id | ( | ) |
|
private |
This constraint's ID/name.
|
staticprivate |
Used to increment the id of constraints.
Referenced by SoftAlldifferentCloneable().