Gecode::Int::Count::GqInt< VX, VY > Class Template Reference
[Integer propagators]
Propagator for counting views (greater or equal integer to number of equal views) More...
#include <count.hh>
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 | |
GqInt (Space &home, bool share, GqInt &p) | |
Constructor for cloning p. | |
GqInt (Home home, ViewArray< VX > &x, int n_s, VY y, int c) | |
Constructor for creation. |
Detailed Description
template<class VX, class VY>
class Gecode::Int::Count::GqInt< VX, VY >
Propagator for counting views (greater 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, ZeroIntView, or IntSet.
Requires
#include <gecode/int/count.hh>
Definition at line 203 of file count.hh.
Constructor & Destructor Documentation
template<class VX , class VY >
Gecode::Int::Count::GqInt< VX, VY >::GqInt | ( | Space & | home, | |
bool | share, | |||
GqInt< VX, VY > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 77 of file int-gq.hpp.
template<class VX , class VY >
Gecode::Int::Count::GqInt< VX, VY >::GqInt | ( | Home | home, | |
ViewArray< VX > & | x, | |||
int | n_s, | |||
VY | y, | |||
int | c | |||
) | [inline, protected] |
Constructor for creation.
Definition at line 42 of file int-gq.hpp.
Member Function Documentation
template<class VX , class VY >
Actor * Gecode::Int::Count::GqInt< VX, VY >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
template<class VX , class VY >
ExecStatus Gecode::Int::Count::GqInt< VX, VY >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class VX , class VY >
ExecStatus Gecode::Int::Count::GqInt< VX, VY >::post | ( | Home | home, | |
ViewArray< VX > & | x, | |||
VY | y, | |||
int | c | |||
) | [inline, static] |
Post propagator for .
Definition at line 47 of file int-gq.hpp.
The documentation for this class was generated from the following files:
- gecode/int/count.hh (Revision: 15137)
- gecode/int/count/int-gq.hpp (Revision: 14967)