Generated on Tue Sep 25 2012 20:53:29 for Gecode by doxygen 1.7.5
Gecode::Int::Count::GqView Class Reference

Propagator for counting views (greater or equal to number of equal views) More...

#include <count.hh>

List of all members.

Public Member Functions

 GqView (Home 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, 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 $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq z+c$.

Protected Member Functions

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

Detailed Description

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, ZeroIntView, or IntSet.

Requires

 #include <gecode/int/count.hh> 

Constructor & Destructor Documentation

Gecode::Int::Count::GqView::GqView ( Space home,
bool  share,
GqView p 
) [protected]

Constructor for cloning p.

Gecode::Int::Count::GqView::GqView ( Home  home,
ViewArray< VX > &  x,
VY  y,
VZ  z,
int  c 
) [inline]

Constructor for creation.

Definition at line 42 of file view-gq.hpp.


Member Function Documentation

Actor * Gecode::Int::Count::GqView::copy ( Space home,
bool  share 
) [virtual]

Create copy during cloning.

Definition at line 67 of file view-gq.hpp.

ExecStatus Gecode::Int::Count::GqView::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 73 of file view-gq.hpp.

ExecStatus Gecode::Int::Count::GqView::post ( Home  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 47 of file view-gq.hpp.


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