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

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

Inheritance diagram for org.jacop.constraints.CountValuesCloneable:

Public Member Functions

 CountValuesCloneable (IntVarCloneable[] vars, IntVarCloneable[] counters, int[] values)
 Constructor.
 CountValuesCloneable (List<? extends IntVarCloneable > vars, IntVarCloneable[] counters, int[] values)
 Constructor.
CountValuesCloneable cloneInto (StoreCloneable targetStore) throws CloneNotSupportedException, FailException
Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< CountValuesCloneable >
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 CountValues constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CountValuesCloneable() [1/2]

org.jacop.constraints.CountValuesCloneable.CountValuesCloneable ( IntVarCloneable[] vars,
IntVarCloneable[] counters,
int[] values )

Constructor.

Parameters
varsthe variables
countersfor each possible value assignment to the variables, the number of variables with this value
valuesthe possible values for the variables

Referenced by cloneInto().

◆ CountValuesCloneable() [2/2]

org.jacop.constraints.CountValuesCloneable.CountValuesCloneable ( List<? extends IntVarCloneable > vars,
IntVarCloneable[] counters,
int[] values )

Constructor.

Parameters
varsthe variables
countersfor each possible value assignment to the variables, the number of variables with this value
valuesthe possible values for the variables

Member Function Documentation

◆ cloneInto()

CountValuesCloneable org.jacop.constraints.CountValuesCloneable.cloneInto ( StoreCloneable targetStore) throws CloneNotSupportedException, FailException

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