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

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

Inheritance diagram for org.jacop.constraints.AmongCloneable:

Public Member Functions

 AmongCloneable (IntVarCloneable[] list, IntervalDomain kSet, IntVarCloneable n)
 It constructs an Among constraint.
 AmongCloneable (ArrayList< IntVarCloneable > list, IntervalDomain kSet, IntVarCloneable n)
 It constructs an Among constraint.
AmongCloneable cloneInto (StoreCloneable targetStore) throws FailException
Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< AmongCloneable >
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.

Detailed Description

A cloneable version of the Among constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ AmongCloneable() [1/2]

org.jacop.constraints.AmongCloneable.AmongCloneable ( IntVarCloneable[] list,
IntervalDomain kSet,
IntVarCloneable n )

It constructs an Among constraint.

Parameters
listvariables which are compared to Kset
kSetset of integer values against which we check if variables are equal to.
nnumber of possible variables equal to a value from Kset.

Referenced by cloneInto().

◆ AmongCloneable() [2/2]

org.jacop.constraints.AmongCloneable.AmongCloneable ( ArrayList< IntVarCloneable > list,
IntervalDomain kSet,
IntVarCloneable n )

It constructs an Among constraint.

Parameters
listvariables which are compared to Kset
kSetset of integer values against which we check if variables are equal to.
nnumber of possible variables equal to a value from Kset.

Member Function Documentation

◆ cloneInto()

AmongCloneable org.jacop.constraints.AmongCloneable.cloneInto ( StoreCloneable targetStore) throws FailException
See also
ConstraintCloneableInterface.cloneInto(StoreCloneable)

References AmongCloneable().

Here is the call graph for this function:

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