Gecode::Int::Count::LqView< VX, VY, VZ, shr > Class Template Reference
Propagator for counting views (less or equal to number of equal views) More...
#include <count.hh>
Public Member Functions | |
LqView (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 | |
LqView (Space &home, bool share, LqView &p) | |
Constructor for cloning p. |
Detailed Description
template<class VX, class VY, class VZ, bool shr>
class Gecode::Int::Count::LqView< VX, VY, VZ, shr >
Propagator for counting views (less 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.
Requires
#include <gecode/int/count.hh>
Constructor & Destructor Documentation
template<class VX , class VY , class VZ , bool shr>
Gecode::Int::Count::LqView< VX, VY, VZ, shr >::LqView | ( | Space & | home, |
bool | share, | ||
LqView< VX, VY, VZ, shr > & | p | ||
) | [inline, protected] |
template<class VX , class VY , class VZ , bool shr>
Gecode::Int::Count::LqView< VX, VY, VZ, shr >::LqView | ( | Home | home, |
ViewArray< VX > & | x, | ||
VY | y, | ||
VZ | z, | ||
int | c | ||
) | [inline] |
Member Function Documentation
template<class VX , class VY , class VZ , bool shr>
Actor * Gecode::Int::Count::LqView< VX, VY, VZ, shr >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
template<class VX , class VY , class VZ , bool shr>
ExecStatus Gecode::Int::Count::LqView< VX, VY, VZ, shr >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
template<class VX , class VY , class VZ , bool shr>
ExecStatus Gecode::Int::Count::LqView< VX, VY, VZ, shr >::post | ( | Home | home, |
ViewArray< VX > & | x, | ||
VY | y, | ||
VZ | z, | ||
int | c | ||
) | [static] |
The documentation for this class was generated from the following files:
- gecode/int/count.hh (Revision: 10822)
- gecode/int/count/view.hpp (Revision: 10364)