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

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

#include <count.hh>

Inherits Gecode::Int::Count::BaseView< VX, VY, VZ, shr >< VX, VY, VZ, shr >.

List of all members.


Detailed Description

template<class VX, class VY, class VZ, bool shr>
class Gecode::Int::Count::GqView< VX, VY, VZ, shr >

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.

Requires

 #include "gecode/int/count.hh" 

Definition at line 371 of file count.hh.

Public Member Functions

 GqView (Space *home, ViewArray< VX > &x, VY y, VZ z, int c)
 Constructor for creation.
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, VZ z, int c)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq z+c$.

Protected Member Functions

 GqView (Space *home, bool shr, GqView &p)
 Constructor for cloning p.


Constructor & Destructor Documentation

template<class VX, class VY, class VZ, bool shr>
Gecode::Int::Count::GqView< VX, VY, VZ, shr >::GqView Space home,
bool  shr,
GqView< VX, VY, VZ, shr > &  p
[protected]
 

Constructor for cloning p.

template<class VX, class VY, class VZ, bool shr>
Gecode::Int::Count::GqView< VX, VY, VZ, shr >::GqView Space home,
ViewArray< VX > &  x,
VY  y,
VZ  z,
int  c
[inline]
 

Constructor for creation.

Definition at line 283 of file view.icc.


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 307 of file view.icc.

template<class VX, class VY, class VZ, bool shr>
ExecStatus Gecode::Int::Count::GqView< VX, VY, VZ, shr >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 313 of file view.icc.

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

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

Definition at line 288 of file view.icc.


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