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

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

Inheritance diagram for org.jacop.constraints.ElementIntegerFastCloneable:

Public Member Functions

 ElementIntegerFastCloneable (IntVarCloneable index, ArrayList<? extends Integer > list, IntVarCloneable value)
 It constructs an element constraint.
 ElementIntegerFastCloneable (IntVarCloneable index, int[] list, IntVarCloneable value)
 It constructs an element constraint.
 ElementIntegerFastCloneable (IntVarCloneable index, int[] list, IntVarCloneable value, int indexOffset)
 Constructor.
 ElementIntegerFastCloneable (IntVarCloneable index, ArrayList<? extends Integer > list, IntVarCloneable value, int indexOffset)
 It constructs an element constraint.
ElementIntegerFastCloneable cloneInto (StoreCloneable targetStore) throws FailException
Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< ElementIntegerFastCloneable >
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 ElementIntegerFast constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ ElementIntegerFastCloneable() [1/4]

org.jacop.constraints.ElementIntegerFastCloneable.ElementIntegerFastCloneable ( IntVarCloneable index,
ArrayList<? extends Integer > list,
IntVarCloneable value )

It constructs an element constraint.

Parameters
indexvariable index
listlist of variables from which an index-th element is taken
valuea value of the index-th element from list

Referenced by cloneInto().

◆ ElementIntegerFastCloneable() [2/4]

org.jacop.constraints.ElementIntegerFastCloneable.ElementIntegerFastCloneable ( IntVarCloneable index,
int[] list,
IntVarCloneable value )

It constructs an element constraint.

Parameters
indexvariable index
listlist of variables from which an index-th element is taken
valuea value of the index-th element from list

◆ ElementIntegerFastCloneable() [3/4]

org.jacop.constraints.ElementIntegerFastCloneable.ElementIntegerFastCloneable ( IntVarCloneable index,
int[] list,
IntVarCloneable value,
int indexOffset )

Constructor.

Parameters
indexthe index variable
listthe list of allowed values, indexed by the index variable
valuethe variable whose value is constrained to be = list[index - indexOffset]
indexOffsetthe index offset

◆ ElementIntegerFastCloneable() [4/4]

org.jacop.constraints.ElementIntegerFastCloneable.ElementIntegerFastCloneable ( IntVarCloneable index,
ArrayList<? extends Integer > list,
IntVarCloneable value,
int indexOffset )

It constructs an element constraint.

Parameters
indexvariable index
listlist of variables from which an index-th element is taken
valuea value of the index-th element from list
indexOffsetshift applied to index variable.

Member Function Documentation

◆ cloneInto()

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

References ElementIntegerFastCloneable().

Here is the call graph for this function:

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