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

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

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

Public Member Functions

 GeostCloneable (Collection< GeostObject > objects, Collection< ExternalConstraint > constraints, Collection< Shape > shapes)
 It creates a geost constraint from provided objects, external constraints, as well as shapes.
 GeostCloneable (GeostObjectCloneable[] objects, ExternalConstraintCloneable[] constraints, ShapeCloneable[] shapes)
 It creates a geost constraint from provided objects, external constraints, as well as shapes.
GeostCloneable cloneInto (StoreCloneable targetStore) throws FailException
String toString ()

Detailed Description

A cloneable version of the Geost constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ GeostCloneable() [1/2]

org.jacop.constraints.geost.GeostCloneable.GeostCloneable ( Collection< GeostObject > objects,
Collection< ExternalConstraint > constraints,
Collection< Shape > shapes )

It creates a geost constraint from provided objects, external constraints, as well as shapes.

The construct parameters are not cloned so do not reuse them in creation in other constraints if changes are necessary. Make sure that the largest object id is as small as possible to avoid unnecessary memory cost.

Parameters
objectsobjects in the scope of the geost constraint.
constraintsthe collection of external constraints enforced by geost.
shapesthe list of different shapes used by the objects in scope of the geost.

Referenced by cloneInto().

◆ GeostCloneable() [2/2]

org.jacop.constraints.geost.GeostCloneable.GeostCloneable ( GeostObjectCloneable[] objects,
ExternalConstraintCloneable[] constraints,
ShapeCloneable[] shapes )

It creates a geost constraint from provided objects, external constraints, as well as shapes.

The construct parameters are not cloned so do not reuse them in creation in other constraints if changes are necessary. Make sure that the largest object id is as small as possible to avoid unnecessary memory cost.

Parameters
objectsobjects in the scope of the geost constraint.
constraintsthe collection of external constraints enforced by geost.
shapesthe list of different shapes used by the objects in scope of the geost.

Member Function Documentation

◆ cloneInto()

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

◆ toString()

String org.jacop.constraints.geost.GeostCloneable.toString ( )
See also
org.jacop.constraints.geost.Geost#toString()

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