Generated on Wed Nov 1 15:05:17 2006 for Gecode by doxygen 1.4.5

Gecode::Int::Count::GqInt< VX, VY > Class Template Reference
[Integer propagators]

#include <count.hh>

Inherits Gecode::Int::Count::BaseInt< VX, VY >< VX, VY >.

List of all members.


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.

Requires

 #include "gecode/int/count.hh" 

Definition at line 133 of file count.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Create copy during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Space *home, ViewArray< VX > &x, VY y, int c)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq c$.

Protected Member Functions

 GqInt (Space *home, bool share, GqInt &p)
 Constructor for cloning p.
 GqInt (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::GqInt< VX, VY >::GqInt Space home,
bool  share,
GqInt< VX, VY > &  p
[protected]
 

Constructor for cloning p.

template<class VX, class VY>
Gecode::Int::Count::GqInt< VX, VY >::GqInt Space home,
ViewArray< VX > &  x,
int  n_s,
VY  y,
int  c
[inline, protected]
 

Constructor for creation.

Definition at line 175 of file int.icc.


Member Function Documentation

template<class VX, class VY>
Actor * Gecode::Int::Count::GqInt< VX, VY >::copy Space home,
bool  share
[virtual]
 

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 217 of file int.icc.

template<class VX, class VY>
ExecStatus Gecode::Int::Count::GqInt< VX, VY >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 223 of file int.icc.

template<class VX, class VY>
ExecStatus Gecode::Int::Count::GqInt< VX, VY >::post Space home,
ViewArray< VX > &  x,
VY  y,
int  c
[static]
 

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq c$.

Definition at line 180 of file int.icc.


The documentation for this class was generated from the following files: