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

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

Inheritance diagram for org.jacop.constraints.CountBoundsCloneable:

Public Member Functions

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

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ CountBoundsCloneable() [1/2]

org.jacop.constraints.CountBoundsCloneable.CountBoundsCloneable ( IntVarCloneable[] vars,
int value,
int minNbr,
int maxNbr )

Constructor.

Parameters
varsthe variables
valuethe value whose occurrence in the assignments to the variables is being counted
minNbrthe minimum allowed number of occurrences
maxNbrthe maximum allowed number of occurrences

Referenced by cloneInto().

◆ CountBoundsCloneable() [2/2]

org.jacop.constraints.CountBoundsCloneable.CountBoundsCloneable ( List<? extends IntVarCloneable > vars,
int value,
int minNbr,
int maxNbr )

Constructor.

Parameters
varsthe variables
valuethe value whose occurrence in the assignments to the variables is being counted
minNbrthe minimum allowed number of occurrences
maxNbrthe maximum allowed number of occurrences

Member Function Documentation

◆ cloneInto()

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

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