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

Public Member Functions | |
| LexCloneable (IntVarCloneable[][] x) | |
| It creates a lexicographical order for vectors x[i], i.e. | |
| LexCloneable (IntVarCloneable[][] x, boolean lt) | |
| It creates a lexicographical order for vectors x[i], i.e. | |
| LexCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| ArrayList< IntVar > | arguments () |
| String | id () |
| List< Constraint > | decomposeLERegular (Store store) |
| List< Constraint > | decomposeLTRegular (Store store) |
| List< Constraint > | decomposeLT (Store store) |
| List< Constraint > | decomposeLE (Store store) |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< LexCloneable > | |
| 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 Lex constraint.
| org.jacop.constraints.LexCloneable.LexCloneable | ( | IntVarCloneable | x[][] | ) |
It creates a lexicographical order for vectors x[i], i.e.
forall i, exists j : x[i][k] = x[i+1][k] for k < j and x[i][k] <= x[i+1][k] for k >= j
vectors x[i] does not need to be of the same size.
| x | vector of vectors which assignment is constrained by Lex constraint. |
References idNbr.
Referenced by cloneInto().
| org.jacop.constraints.LexCloneable.LexCloneable | ( | IntVarCloneable | x[][], |
| boolean | lt ) |
It creates a lexicographical order for vectors x[i], i.e.
forall i, exists j : x[i][k] = x[i+1][k] for k < j and x[i][k] <= x[i+1][k] for k >= j
vectors x[i] does not need to be of the same size.
| x | vector of vectors which assignment is constrained by Lex constraint. |
| lt | defines if we require Lex_{<} (lt = false) or Lex_{<=} (lt = true) |
References idNbr.
| ArrayList< IntVar > org.jacop.constraints.LexCloneable.arguments | ( | ) |
| LexCloneable org.jacop.constraints.LexCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |
| List< Constraint > org.jacop.constraints.LexCloneable.decomposeLE | ( | Store | store | ) |
| List< Constraint > org.jacop.constraints.LexCloneable.decomposeLERegular | ( | Store | store | ) |
| List< Constraint > org.jacop.constraints.LexCloneable.decomposeLT | ( | Store | store | ) |
| List< Constraint > org.jacop.constraints.LexCloneable.decomposeLTRegular | ( | Store | store | ) |
| String org.jacop.constraints.LexCloneable.id | ( | ) |
|
private |
This constraint's ID/name.
|
staticprivate |
Used to increment the id of constraints.
Referenced by LexCloneable(), and LexCloneable().