Propagator for counting views (greater or equal to number of equal views) More...
#include <count.hh>
Public Member Functions | |
GqView (Home home, ViewArray< VX > &x, VY y, VZ z, int c) | |
Constructor for creation. | |
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, VZ z, int c) |
Post propagator for ![]() | |
Protected Member Functions | |
GqView (Space &home, bool share, GqView &p) | |
Constructor for cloning p. |
Propagator for counting views (greater or equal 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, ZeroIntView, or IntSet.
Requires
#include <gecode/int/count.hh>
Gecode::Int::Count::GqView< VX, VY, VZ, shr, dom >::GqView | ( | Space & | home, |
bool | share, | ||
GqView< VX, VY, VZ, shr, dom > & | p | ||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 61 of file view-gq.hpp.
Gecode::Int::Count::GqView< VX, VY, VZ, shr, dom >::GqView | ( | Home | home, |
ViewArray< VX > & | x, | ||
VY | y, | ||
VZ | z, | ||
int | c | ||
) | [inline] |
Constructor for creation.
Definition at line 42 of file view-gq.hpp.
Actor * Gecode::Int::Count::GqView< VX, VY, VZ, shr, dom >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
ExecStatus Gecode::Int::Count::GqView< VX, VY, VZ, shr, dom >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Count::GqView< VX, VY, VZ, shr, dom >::post | ( | Home | home, |
ViewArray< VX > & | x, | ||
VY | y, | ||
VZ | z, | ||
int | c | ||
) | [static] |
Post propagator for .
Definition at line 47 of file view-gq.hpp.