|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A cloneable version of the CountValues constraint. More...

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. | |
A cloneable version of the CountValues constraint.
| org.jacop.constraints.CountValuesCloneable.CountValuesCloneable | ( | IntVarCloneable[] | vars, |
| IntVarCloneable[] | counters, | ||
| int[] | values ) |
Constructor.
| vars | the variables |
| counters | for each possible value assignment to the variables, the number of variables with this value |
| values | the possible values for the variables |
Referenced by cloneInto().
| org.jacop.constraints.CountValuesCloneable.CountValuesCloneable | ( | List<? extends IntVarCloneable > | vars, |
| IntVarCloneable[] | counters, | ||
| int[] | values ) |
Constructor.
| vars | the variables |
| counters | for each possible value assignment to the variables, the number of variables with this value |
| values | the possible values for the variables |
| CountValuesCloneable org.jacop.constraints.CountValuesCloneable.cloneInto | ( | StoreCloneable | targetStore | ) | throws CloneNotSupportedException, FailException |