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

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

Inheritance diagram for org.jacop.constraints.CountValuesBoundsCloneable:

Public Member Functions

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

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CountValuesBoundsCloneable() [1/2]

org.jacop.constraints.CountValuesBoundsCloneable.CountValuesBoundsCloneable ( IntVarCloneable[] vars,
int[] minNbr,
int[] maxNbr,
int[] values )

Constructor.

Parameters
varsthe variables
minNbrfor each possible value, the minimum number of variables taking this value
maxNbrfor each possible value, the maximum number of variables taking this value
valuesthe possible values for the variables

Referenced by cloneInto().

◆ CountValuesBoundsCloneable() [2/2]

org.jacop.constraints.CountValuesBoundsCloneable.CountValuesBoundsCloneable ( List<? extends IntVarCloneable > vars,
int[] minNbr,
int[] maxNbr,
int[] values )

Constructor.

Parameters
varsthe variables
minNbrfor each possible value, the minimum number of variables taking this value
maxNbrfor each possible value, the maximum number of variables taking this value
valuesthe possible values for the variables

Member Function Documentation

◆ cloneInto()

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

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