Gecode::Int::Count::LqInt< VX, VY > Class Template Reference
[Integer propagators]
#include <count.hh>
Inherits Gecode::Int::Count::BaseInt< VX, VY >.
Detailed Description
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
#include "gecode/int/count.hh"
Definition at line 197 of file count.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Create copy during cloning. | |
virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
Perform propagation. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static Support::Symbol | ati (void) |
Name of this propagator. | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post propagator according to specification. | |
static ExecStatus | post (Space *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 (Space *home, ViewArray< VX > &x, int n_s, VY y, int c) | |
Constructor for creation. |
Constructor & Destructor Documentation
template<class VX, class VY>
Gecode::Int::Count::LqInt< VX, VY >::LqInt | ( | Space * | home, | |
bool | share, | |||
LqInt< VX, VY > & | p | |||
) | [inline, protected] |
template<class VX, class VY>
Gecode::Int::Count::LqInt< VX, VY >::LqInt | ( | Space * | home, | |
ViewArray< VX > & | x, | |||
int | n_s, | |||
VY | y, | |||
int | c | |||
) | [inline, protected] |
Member Function Documentation
template<class VX, class VY>
Actor * Gecode::Int::Count::LqInt< VX, VY >::copy | ( | Space * | home, | |
bool | share | |||
) | [inline, virtual] |
template<class VX, class VY>
ExecStatus Gecode::Int::Count::LqInt< VX, VY >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class VX, class VY>
Reflection::ActorSpec Gecode::Int::Count::LqInt< VX, VY >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
template<class VX, class VY>
Support::Symbol Gecode::Int::Count::LqInt< VX, VY >::ati | ( | void | ) | [inline, static] |
template<class VX, class VY>
void Gecode::Int::Count::LqInt< VX, VY >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [inline, static] |
template<class VX, class VY>
ExecStatus Gecode::Int::Count::LqInt< VX, VY >::post | ( | Space * | home, | |
ViewArray< VX > & | x, | |||
VY | y, | |||
int | c | |||
) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/count.hh (Revision: 7285)
- gecode/int/count/int.icc (Revision: 7282)