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

A cloneable version of Shape. More...

Inheritance diagram for org.jacop.constraints.geost.ShapeCloneable:

Public Member Functions

 ShapeCloneable (int no, Collection< DBox > boxes)
 It constructs a shape with a given id based on a specified collection of Dboxes.
 ShapeCloneable (int id, DBox box)
 It constructs a shape from only one DBox.
 ShapeCloneable (int id, int[] origin, int[] length)
 It constructs a shape with a given id based on a single dbox specified by the origin and length arrays.
ShapeCloneable clone ()

Detailed Description

A cloneable version of Shape.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ ShapeCloneable() [1/3]

org.jacop.constraints.geost.ShapeCloneable.ShapeCloneable ( int no,
Collection< DBox > boxes )

It constructs a shape with a given id based on a specified collection of Dboxes.

Parameters
nothe unique identifier of the created shape.
boxesthe collection of boxes constituting the shape.

Referenced by clone().

◆ ShapeCloneable() [2/3]

org.jacop.constraints.geost.ShapeCloneable.ShapeCloneable ( int id,
DBox box )

It constructs a shape from only one DBox.

Parameters
idshape unique identifier.
boxthe single dbox specifying the shape.

◆ ShapeCloneable() [3/3]

org.jacop.constraints.geost.ShapeCloneable.ShapeCloneable ( int id,
int[] origin,
int[] length )

It constructs a shape with a given id based on a single dbox specified by the origin and length arrays.

Parameters
idthe unique identifier of the constructed shape.
originit specifies the origin of the dbox specifying the shape.
lengthit specifies the length of the dbox specifying the shape.

Member Function Documentation

◆ clone()

ShapeCloneable org.jacop.constraints.geost.ShapeCloneable.clone ( )
See also
java.lang.Object#clone()

References ShapeCloneable().

Here is the call graph for this function:

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