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

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

Inheritance diagram for org.jacop.constraints.diffn.DiffnDecomposedCloneable:

Public Member Functions

 DiffnDecomposedCloneable (IntVarCloneable[][] rectangle)
 It specifies a diff constraint.
 DiffnDecomposedCloneable (IntVarCloneable[] origin1, IntVarCloneable[] origin2, IntVarCloneable[] length1, IntVarCloneable[] length2)
 It constructs a diff constraint.
 DiffnDecomposedCloneable (List<? extends List<? extends IntVarCloneable > > rectangle)
 It specifies a diffn constraint.
 DiffnDecomposedCloneable (List<? extends IntVarCloneable > x, List<? extends IntVarCloneable > y, List<? extends IntVarCloneable > lx, List<? extends IntVarCloneable > ly)
 It constructs a diff constraint.
List<? extends Var > arguments ()
String id ()
DiffnDecomposedCloneable cloneInto (StoreCloneable targetStore) throws FailException
List< Constraint > decompose (Store 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.

Detailed Description

A cloneable version of the DiffnDecomposed constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ DiffnDecomposedCloneable() [1/4]

org.jacop.constraints.diffn.DiffnDecomposedCloneable.DiffnDecomposedCloneable ( IntVarCloneable rectangle[][])

It specifies a diff constraint.

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

References idNbr.

Referenced by cloneInto().

◆ DiffnDecomposedCloneable() [2/4]

org.jacop.constraints.diffn.DiffnDecomposedCloneable.DiffnDecomposedCloneable ( 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.

References idNbr.

◆ DiffnDecomposedCloneable() [3/4]

org.jacop.constraints.diffn.DiffnDecomposedCloneable.DiffnDecomposedCloneable ( List<? extends List<? extends IntVarCloneable > > rectangle)

It specifies a diffn constraint.

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

References idNbr.

◆ DiffnDecomposedCloneable() [4/4]

org.jacop.constraints.diffn.DiffnDecomposedCloneable.DiffnDecomposedCloneable ( List<? extends IntVarCloneable > x,
List<? extends IntVarCloneable > y,
List<? extends IntVarCloneable > lx,
List<? extends IntVarCloneable > ly )

It constructs a diff constraint.

Parameters
xlist of variables denoting origin of the rectangle in the first dimension.
ylist of variables denoting origin of the rectangle in the second dimension.
lxlist of variables denoting length of the rectangle in the first dimension.
lylist of variables denoting length of the rectangle in the second dimension.

References idNbr.

Member Function Documentation

◆ arguments()

List<? extends Var > org.jacop.constraints.diffn.DiffnDecomposedCloneable.arguments ( )

◆ cloneInto()

DiffnDecomposedCloneable org.jacop.constraints.diffn.DiffnDecomposedCloneable.cloneInto ( StoreCloneable targetStore) throws FailException

◆ decompose()

List< Constraint > org.jacop.constraints.diffn.DiffnDecomposedCloneable.decompose ( Store store)
See also
org.jacop.constraints.diffn.DiffnDecomposed#decompose(org.jacop.core.Store)

◆ id()

String org.jacop.constraints.diffn.DiffnDecomposedCloneable.id ( )

Member Data Documentation

◆ id

final String org.jacop.constraints.diffn.DiffnDecomposedCloneable.id
private

This constraint's ID/name.

◆ idNbr

int org.jacop.constraints.diffn.DiffnDecomposedCloneable.idNbr = 0
staticprivate

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