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

Public Member Functions | |
| AssignmentCloneable (ArrayList<? extends IntVarCloneable > xs, ArrayList<? extends IntVarCloneable > ds) | |
| It constructs an Assignment constraint with shift equal 0. | |
| AssignmentCloneable (IntVarCloneable[] xs, IntVarCloneable[] ds) | |
| It constructs an Assignment constraint with shift equal 0. | |
| AssignmentCloneable (ArrayList<? extends IntVarCloneable > xs, ArrayList<? extends IntVarCloneable > ds, int min) | |
| It enforces the relationship x[d[i]-min]=i+min and d[x[i]-min]=i+min. | |
| AssignmentCloneable (IntVarCloneable[] xs, IntVarCloneable[] ds, int min) | |
| It enforces the relationship x[d[i]-min]=i+min and d[x[i]-min]=i+min. | |
| AssignmentCloneable (IntVarCloneable[] xs, IntVarCloneable[] ds, int shiftX, int shiftD) | |
| It enforces the relationship x[d[i]-shiftX]=i+shiftD and d[x[i]-shiftD]=i+shiftX. | |
| AssignmentCloneable (ArrayList<? extends IntVarCloneable > xs, ArrayList<? extends IntVarCloneable > ds, int shiftX, int shiftD) | |
| It enforces the relationship x[d[i]-shiftX]=i+shiftD and d[x[i]-shiftD]=i+shiftX. | |
| AssignmentCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| HashSet< Var > | arguments () |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< AssignmentCloneable > | |
| 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. | |
A cloneable version of the Assignment constraint.
| org.jacop.constraints.AssignmentCloneable.AssignmentCloneable | ( | ArrayList<? extends IntVarCloneable > | xs, |
| ArrayList<? extends IntVarCloneable > | ds ) |
It constructs an Assignment constraint with shift equal 0.
It enforces relation - d[x[j]] = i and x[d[i]] = j.
| xs | arraylist of x variables |
| ds | arraylist of d variables |
Referenced by cloneInto().
| org.jacop.constraints.AssignmentCloneable.AssignmentCloneable | ( | IntVarCloneable[] | xs, |
| IntVarCloneable[] | ds ) |
It constructs an Assignment constraint with shift equal 0.
It enforces relation - d[x[i]] = i and x[d[i]] = i.
| xs | array of x variables |
| ds | array of d variables |
| org.jacop.constraints.AssignmentCloneable.AssignmentCloneable | ( | ArrayList<? extends IntVarCloneable > | xs, |
| ArrayList<? extends IntVarCloneable > | ds, | ||
| int | min ) |
It enforces the relationship x[d[i]-min]=i+min and d[x[i]-min]=i+min.
| xs | arraylist of variables x |
| ds | arraylist of variables d |
| min | shift |
| org.jacop.constraints.AssignmentCloneable.AssignmentCloneable | ( | IntVarCloneable[] | xs, |
| IntVarCloneable[] | ds, | ||
| int | min ) |
It enforces the relationship x[d[i]-min]=i+min and d[x[i]-min]=i+min.
| xs | array of variables x |
| ds | array of variables d |
| min | shift |
| org.jacop.constraints.AssignmentCloneable.AssignmentCloneable | ( | IntVarCloneable[] | xs, |
| IntVarCloneable[] | ds, | ||
| int | shiftX, | ||
| int | shiftD ) |
It enforces the relationship x[d[i]-shiftX]=i+shiftD and d[x[i]-shiftD]=i+shiftX.
| xs | array of variables x |
| ds | array of variables d |
| shiftX | a shift of indexes in X array. |
| shiftD | a shift of indexes in D array. |
| org.jacop.constraints.AssignmentCloneable.AssignmentCloneable | ( | ArrayList<? extends IntVarCloneable > | xs, |
| ArrayList<? extends IntVarCloneable > | ds, | ||
| int | shiftX, | ||
| int | shiftD ) |
It enforces the relationship x[d[i]-shiftX]=i+shiftD and d[x[i]-shiftD]=i+shiftX.
| xs | arraylist of variables x |
| ds | arraylist of variables d |
| shiftX | shift for parameter xs |
| shiftD | shift for parameter ds |
| HashSet< Var > org.jacop.constraints.AssignmentCloneable.arguments | ( | ) |
| AssignmentCloneable org.jacop.constraints.AssignmentCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |