Propagator for counting views (less or equal integer to number of equal views)
More...
Public Member Functions |
virtual Actor * | copy (Space &home, bool share) |
| Create copy during cloning.
|
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation.
|
Static Public Member Functions |
static ExecStatus | post (Home home, ViewArray< VX > &x, VY y, int c) |
| Post propagator for .
|
Protected Member Functions |
| LqInt (Space &home, bool share, LqInt &p) |
| Constructor for cloning p.
|
| LqInt (Home home, ViewArray< VX > &x, int n_s, VY y, int c) |
| Constructor for creation.
|
template<class VX, class VY>
class Gecode::Int::Count::LqInt< VX, VY >
Propagator for counting views (less or equal integer to number of equal views)
Not all combinations of views are possible. The types VX and VY must be either equal, or VY must be ConstIntView.
Requires
Definition at line 178 of file count.hh.