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

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

Inheritance diagram for org.jacop.constraints.CountCloneable:

Public Member Functions

 CountCloneable (IntVarCloneable[] list, IntVarCloneable counter, int value)
 It constructs a Count constraint.
 CountCloneable (ArrayList<? extends IntVarCloneable > list, IntVarCloneable counter, int value)
 It constructs a Count constraint.
CountCloneable cloneInto (StoreCloneable targetStore) throws FailException
Public Member Functions inherited from org.jacop.constraints.ConstraintCloneableInterface< CountCloneable >
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 Count constraint.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CountCloneable() [1/2]

org.jacop.constraints.CountCloneable.CountCloneable ( IntVarCloneable[] list,
IntVarCloneable counter,
int value )

It constructs a Count constraint.

Parameters
valuevalue which is counted
listvariables which equality to val is counted.
counternumber of variables equal to val.

Referenced by cloneInto().

◆ CountCloneable() [2/2]

org.jacop.constraints.CountCloneable.CountCloneable ( ArrayList<? extends IntVarCloneable > list,
IntVarCloneable counter,
int value )

It constructs a Count constraint.

Parameters
valuevalue which is counted
listvariables which equality to val is counted.
counternumber of variables equal to val.

Member Function Documentation

◆ cloneInto()

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

References CountCloneable().

Here is the call graph for this function:

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