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

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

Inheritance diagram for org.jacop.constraints.ArgMinCloneable:

Public Member Functions

 ArgMinCloneable (IntVarCloneable[] vars, IntVarCloneable argminIndex)
 Constructor.
 ArgMinCloneable (ArrayList<? extends IntVarCloneable > vars, IntVarCloneable argminIndex)
 Constructor.
 ArgMinCloneable (IntVarCloneable[] vars, IntVarCloneable argminIndex, int indexOffset)
 Constructor.
 ArgMinCloneable (ArrayList<? extends IntVarCloneable > vars, IntVarCloneable argminIndex, int indexOffset)
 Constructor.
ArgMinCloneable cloneInto (StoreCloneable targetStore) throws FailException
Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< ArgMinCloneable >
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 ArgMin constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ ArgMinCloneable() [1/4]

org.jacop.constraints.ArgMinCloneable.ArgMinCloneable ( IntVarCloneable[] vars,
IntVarCloneable argminIndex )

Constructor.

Parameters
varsthe variables
argminIndexthe variable whose value is the index of the argmin variable

Referenced by cloneInto().

◆ ArgMinCloneable() [2/4]

org.jacop.constraints.ArgMinCloneable.ArgMinCloneable ( ArrayList<? extends IntVarCloneable > vars,
IntVarCloneable argminIndex )

Constructor.

Parameters
varsthe variables
argminIndexthe variable whose value is the index of the argmin variable

◆ ArgMinCloneable() [3/4]

org.jacop.constraints.ArgMinCloneable.ArgMinCloneable ( IntVarCloneable[] vars,
IntVarCloneable argminIndex,
int indexOffset )

Constructor.

Parameters
varsthe variables
argminIndexthe variable whose value is the index of the argmin variable
indexOffsetthe offset for the index that is computed from 1 by default (if needed from 0, use -1 for this parameter)

◆ ArgMinCloneable() [4/4]

org.jacop.constraints.ArgMinCloneable.ArgMinCloneable ( ArrayList<? extends IntVarCloneable > vars,
IntVarCloneable argminIndex,
int indexOffset )

Constructor.

Parameters
varsthe variables
argminIndexthe variable whose value is the index of the argmin variable
indexOffsetthe offset for the index that is computed from 1 by default (if needed from 0, use -1 for this parameter)

Member Function Documentation

◆ cloneInto()

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

References ArgMinCloneable().

Here is the call graph for this function:

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