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

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

Inheritance diagram for org.jacop.constraints.ArgMaxCloneable:

Public Member Functions

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

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ ArgMaxCloneable() [1/4]

org.jacop.constraints.ArgMaxCloneable.ArgMaxCloneable ( IntVarCloneable[] vars,
IntVarCloneable argmaxIndex )

Constructor.

Parameters
varsthe variables
argmaxIndexthe variable whose value is the index of the argmax variable

Referenced by cloneInto().

◆ ArgMaxCloneable() [2/4]

org.jacop.constraints.ArgMaxCloneable.ArgMaxCloneable ( ArrayList<? extends IntVarCloneable > vars,
IntVarCloneable argmaxIndex )

Constructor.

Parameters
varsthe variables
argmaxIndexthe variable whose value is the index of the argmax variable

◆ ArgMaxCloneable() [3/4]

org.jacop.constraints.ArgMaxCloneable.ArgMaxCloneable ( IntVarCloneable[] vars,
IntVarCloneable argmaxIndex,
int indexOffset )

Constructor.

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

◆ ArgMaxCloneable() [4/4]

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

Constructor.

Parameters
varsthe variables
argmaxIndexthe variable whose value is the index of the argmax 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()

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

References ArgMaxCloneable().

Here is the call graph for this function:

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