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

Public Member Functions | |
| DiffCloneable (IntVarCloneable[][] rectangles) | |
| It specifies a diff constraint. | |
| DiffCloneable (ArrayList<? extends ArrayList<? extends IntVarCloneable > > rectangles) | |
| It specifies a diffn constraint. | |
| DiffCloneable (Rectangle[] rectangles, boolean doProfile) | |
| It specifies a diff constraint. | |
| DiffCloneable (ArrayList<? extends ArrayList<? extends IntVarCloneable > > rectangles, boolean profile) | |
| It specifies a diff constraint. | |
| DiffCloneable (IntVarCloneable[][] rectangles, boolean profile) | |
| It specifies a diff constraint. | |
| DiffCloneable (IntVarCloneable[] origin1, IntVarCloneable[] origin2, IntVarCloneable[] length1, IntVarCloneable[] length2) | |
| It constructs a diff constraint. | |
| DiffCloneable (ArrayList<? extends IntVarCloneable > o1, ArrayList<? extends IntVarCloneable > o2, ArrayList<? extends IntVarCloneable > l1, ArrayList<? extends IntVarCloneable > l2) | |
| It constructs a diff constraint. | |
| DiffCloneable (IntVarCloneable[] o1, IntVarCloneable[] o2, IntVarCloneable[] l1, IntVarCloneable[] l2, boolean profile) | |
| It constructs a diff constraint. | |
| DiffCloneable (ArrayList<? extends IntVarCloneable > o1, ArrayList<? extends IntVarCloneable > o2, ArrayList<? extends IntVarCloneable > l1, ArrayList<? extends IntVarCloneable > l2, boolean profile) | |
| It constructs a diff constraint. | |
| DiffCloneable | cloneInto (StoreCloneable targetStore) throws FailException |
| Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< DiffCloneable > | |
| 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 Package Functions | |
| static Rectangle[] | cloneRectangles (Rectangle[] rectangles, StoreCloneable targetStore) throws FailException |
| Clones the rectangles into the target store. | |
A cloneable version of the Diff constraint.
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | IntVarCloneable | rectangles[][] | ) |
It specifies a diff constraint.
| rectangles | list of rectangles which can not overlap in at least one dimension. |
Referenced by cloneInto().
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | ArrayList<? extends ArrayList<? extends IntVarCloneable > > | rectangles | ) |
It specifies a diffn constraint.
| rectangles | list of rectangles which can not overlap in at least one dimension. |
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | Rectangle[] | rectangles, |
| boolean | doProfile ) |
It specifies a diff constraint.
| rectangles | list of rectangles which can not overlap in at least one dimension. |
| doProfile | should the constraint compute and use the profile functionality. |
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | ArrayList<? extends ArrayList<? extends IntVarCloneable > > | rectangles, |
| boolean | profile ) |
It specifies a diff constraint.
| profile | specifies is the profiles are used. |
| rectangles | list of rectangles which can not overlap in at least one dimension. |
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | IntVarCloneable | rectangles[][], |
| boolean | profile ) |
It specifies a diff constraint.
| profile | specifies is the profiles are used. |
| rectangles | list of rectangles which can not overlap in at least one dimension. |
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | IntVarCloneable[] | origin1, |
| IntVarCloneable[] | origin2, | ||
| IntVarCloneable[] | length1, | ||
| IntVarCloneable[] | length2 ) |
It constructs a diff constraint.
| origin1 | list of variables denoting origin of the rectangle in the first dimension. |
| origin2 | list of variables denoting origin of the rectangle in the second dimension. |
| length1 | list of variables denoting length of the rectangle in the first dimension. |
| length2 | list of variables denoting length of the rectangle in the second dimension. |
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | ArrayList<? extends IntVarCloneable > | o1, |
| ArrayList<? extends IntVarCloneable > | o2, | ||
| ArrayList<? extends IntVarCloneable > | l1, | ||
| ArrayList<? extends IntVarCloneable > | l2 ) |
It constructs a diff constraint.
| o1 | list of variables denoting origin of the rectangle in the first dimension. |
| o2 | list of variables denoting origin of the rectangle in the second dimension. |
| l1 | list of variables denoting length of the rectangle in the first dimension. |
| l2 | list of variables denoting length of the rectangle in the second dimension. |
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | IntVarCloneable[] | o1, |
| IntVarCloneable[] | o2, | ||
| IntVarCloneable[] | l1, | ||
| IntVarCloneable[] | l2, | ||
| boolean | profile ) |
It constructs a diff constraint.
| o1 | list of variables denoting origin of the rectangle in the first dimension. |
| o2 | list of variables denoting origin of the rectangle in the second dimension. |
| l1 | list of variables denoting length of the rectangle in the first dimension. |
| l2 | list of variables denoting length of the rectangle in the second dimension. |
| profile | it specifies if the profile should be computed and used. |
| org.jacop.constraints.DiffCloneable.DiffCloneable | ( | ArrayList<? extends IntVarCloneable > | o1, |
| ArrayList<? extends IntVarCloneable > | o2, | ||
| ArrayList<? extends IntVarCloneable > | l1, | ||
| ArrayList<? extends IntVarCloneable > | l2, | ||
| boolean | profile ) |
It constructs a diff constraint.
| o1 | list of variables denoting origin of the rectangle in the first dimension. |
| o2 | list of variables denoting origin of the rectangle in the second dimension. |
| l1 | list of variables denoting length of the rectangle in the first dimension. |
| l2 | list of variables denoting length of the rectangle in the second dimension. |
| profile | it specifies if the profile should be computed and used. |
| DiffCloneable org.jacop.constraints.DiffCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws FailException |
|
staticpackage |
Clones the rectangles into the target store.
| rectangles | the rectangles to be cloned |
| targetStore | the target store |
| FailException | if one of the variables has an empty domain |
Referenced by org.jacop.constraints.Diff2Cloneable.cloneInto(), cloneInto(), org.jacop.constraints.DisjointCloneable.cloneInto(), and org.jacop.constraints.DisjointConditionalCloneable.cloneInto().