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

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

Inheritance diagram for org.jacop.constraints.CountVarCloneable:

Public Member Functions

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

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CountVarCloneable() [1/2]

org.jacop.constraints.CountVarCloneable.CountVarCloneable ( IntVarCloneable[] vars,
IntVarCloneable nbrVars,
IntVarCloneable value )

Constructor.

Parameters
varsthe variables
nbrVarsthe number of variables whose values is the input value
valuethe value whose occurrence is being counted

Referenced by cloneInto().

◆ CountVarCloneable() [2/2]

org.jacop.constraints.CountVarCloneable.CountVarCloneable ( List<? extends IntVarCloneable > vars,
IntVarCloneable nbrVars,
IntVarCloneable value )

Constructor.

Parameters
varsthe variables
nbrVarsthe number of variables whose values is the input value
valuethe value whose occurrence is being counted

Member Function Documentation

◆ cloneInto()

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

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