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

A cloneable version of GeostObject. More...

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

Public Member Functions

 GeostObjectCloneable (int no, IntVarCloneable[] coords, IntVarCloneable shapeID, IntVarCloneable start, IntVarCloneable duration, IntVarCloneable end)
 It constructs a Geost object with all the attributes needed by the Geost constraint.
GeostObjectCloneable cloneInto (StoreCloneable targetStore) throws FailException
 Creates a "clone" of this object using IntVar found or created in the input target store.
String toString ()

Package Attributes

final int id = ++lastID
 ID of this object.

Static Private Attributes

static int lastID = -1
 ID of the last instantiated object.

Detailed Description

A cloneable version of GeostObject.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ GeostObjectCloneable()

org.jacop.constraints.geost.GeostObjectCloneable.GeostObjectCloneable ( int no,
IntVarCloneable[] coords,
IntVarCloneable shapeID,
IntVarCloneable start,
IntVarCloneable duration,
IntVarCloneable end )

It constructs a Geost object with all the attributes needed by the Geost constraint.

Parameters
nononnegative unique id of this object.
coordsan array of variables representing the origin (start) of the objects.
shapeIDthe variable specifying the shape finite domain variable.
startit determines the start time of the geost object in terms of time.
durationfinite domain variable specifying the duration of the geost object in terms of time.
endfinite domain variable specifying the end of the geost object in terms of time.

Referenced by cloneInto().

Member Function Documentation

◆ cloneInto()

GeostObjectCloneable org.jacop.constraints.geost.GeostObjectCloneable.cloneInto ( StoreCloneable targetStore) throws FailException

Creates a "clone" of this object using IntVar found or created in the input target store.

Parameters
targetStorethe store into which this object should be cloned
Returns
a clone of this object in the input target store
Exceptions
FailExceptionthrown if one of the variables has an empty domain

References GeostObjectCloneable().

Here is the call graph for this function:

◆ toString()

String org.jacop.constraints.geost.GeostObjectCloneable.toString ( )
See also
org.jacop.constraints.geost.GeostObject#toString()

Member Data Documentation

◆ id

final int org.jacop.constraints.geost.GeostObjectCloneable.id = ++lastID
package

ID of this object.

◆ lastID

int org.jacop.constraints.geost.GeostObjectCloneable.lastID = -1
staticprivate

ID of the last instantiated object.


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