FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
org.jacop.constraints.DiffCloneable Class Reference

A cloneable version of the Diff constraint. More...

Inheritance diagram for org.jacop.constraints.DiffCloneable:

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.

Detailed Description

A cloneable version of the Diff constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ DiffCloneable() [1/9]

org.jacop.constraints.DiffCloneable.DiffCloneable ( IntVarCloneable rectangles[][])

It specifies a diff constraint.

Parameters
rectangleslist of rectangles which can not overlap in at least one dimension.

Referenced by cloneInto().

◆ DiffCloneable() [2/9]

org.jacop.constraints.DiffCloneable.DiffCloneable ( ArrayList<? extends ArrayList<? extends IntVarCloneable > > rectangles)

It specifies a diffn constraint.

Parameters
rectangleslist of rectangles which can not overlap in at least one dimension.

◆ DiffCloneable() [3/9]

org.jacop.constraints.DiffCloneable.DiffCloneable ( Rectangle[] rectangles,
boolean doProfile )

It specifies a diff constraint.

Parameters
rectangleslist of rectangles which can not overlap in at least one dimension.
doProfileshould the constraint compute and use the profile functionality.

◆ DiffCloneable() [4/9]

org.jacop.constraints.DiffCloneable.DiffCloneable ( ArrayList<? extends ArrayList<? extends IntVarCloneable > > rectangles,
boolean profile )

It specifies a diff constraint.

Parameters
profilespecifies is the profiles are used.
rectangleslist of rectangles which can not overlap in at least one dimension.

◆ DiffCloneable() [5/9]

org.jacop.constraints.DiffCloneable.DiffCloneable ( IntVarCloneable rectangles[][],
boolean profile )

It specifies a diff constraint.

Parameters
profilespecifies is the profiles are used.
rectangleslist of rectangles which can not overlap in at least one dimension.

◆ DiffCloneable() [6/9]

org.jacop.constraints.DiffCloneable.DiffCloneable ( IntVarCloneable[] origin1,
IntVarCloneable[] origin2,
IntVarCloneable[] length1,
IntVarCloneable[] length2 )

It constructs a diff constraint.

Parameters
origin1list of variables denoting origin of the rectangle in the first dimension.
origin2list of variables denoting origin of the rectangle in the second dimension.
length1list of variables denoting length of the rectangle in the first dimension.
length2list of variables denoting length of the rectangle in the second dimension.

◆ DiffCloneable() [7/9]

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.

Parameters
o1list of variables denoting origin of the rectangle in the first dimension.
o2list of variables denoting origin of the rectangle in the second dimension.
l1list of variables denoting length of the rectangle in the first dimension.
l2list of variables denoting length of the rectangle in the second dimension.

◆ DiffCloneable() [8/9]

org.jacop.constraints.DiffCloneable.DiffCloneable ( IntVarCloneable[] o1,
IntVarCloneable[] o2,
IntVarCloneable[] l1,
IntVarCloneable[] l2,
boolean profile )

It constructs a diff constraint.

Parameters
o1list of variables denoting origin of the rectangle in the first dimension.
o2list of variables denoting origin of the rectangle in the second dimension.
l1list of variables denoting length of the rectangle in the first dimension.
l2list of variables denoting length of the rectangle in the second dimension.
profileit specifies if the profile should be computed and used.

◆ DiffCloneable() [9/9]

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.

Parameters
o1list of variables denoting origin of the rectangle in the first dimension.
o2list of variables denoting origin of the rectangle in the second dimension.
l1list of variables denoting length of the rectangle in the first dimension.
l2list of variables denoting length of the rectangle in the second dimension.
profileit specifies if the profile should be computed and used.

Member Function Documentation

◆ cloneInto()

DiffCloneable org.jacop.constraints.DiffCloneable.cloneInto ( StoreCloneable targetStore) throws FailException

◆ cloneRectangles()

Rectangle[] org.jacop.constraints.DiffCloneable.cloneRectangles ( Rectangle[] rectangles,
StoreCloneable targetStore ) throws FailException
staticpackage

Clones the rectangles into the target store.

Parameters
rectanglesthe rectangles to be cloned
targetStorethe target store
Returns
cloned rectangles
Exceptions
FailExceptionif 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().


The documentation for this class was generated from the following file: