Generated on Thu Mar 22 10:39:57 2012 for Gecode by doxygen 1.6.3

Gecode::Int::Linear::GqBoolView< XV, YV > Class Template Reference
[Integer propagators]

Propagator for greater or equal to Boolean sum (cardinality) More...

#include <linear.hh>

List of all members.

Public Member Functions

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< XV > &x, YV y, int c)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i \geq y+c$.

Protected Member Functions

 GqBoolView (Space &home, bool share, GqBoolView &p)
 Constructor for cloning p.
 GqBoolView (Home home, ViewArray< XV > &x, YV y, int c)
 Constructor for creation.

Detailed Description

template<class XV, class YV>
class Gecode::Int::Linear::GqBoolView< XV, YV >

Propagator for greater or equal to Boolean sum (cardinality)

Requires

Definition at line 1084 of file linear.hh.


Constructor & Destructor Documentation

template<class XV , class YV >
Gecode::Int::Linear::GqBoolView< XV, YV >::GqBoolView ( Space home,
bool  share,
GqBoolView< XV, YV > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 283 of file bool-view.hpp.

template<class XV , class YV >
Gecode::Int::Linear::GqBoolView< XV, YV >::GqBoolView ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c 
) [inline, protected]

Constructor for creation.

Definition at line 251 of file bool-view.hpp.


Member Function Documentation

template<class XV , class YV >
Actor * Gecode::Int::Linear::GqBoolView< XV, YV >::copy ( Space home,
bool  share 
) [inline, virtual]

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 288 of file bool-view.hpp.

template<class XV , class YV >
ExecStatus Gecode::Int::Linear::GqBoolView< XV, YV >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 294 of file bool-view.hpp.

template<class XV , class YV >
ExecStatus Gecode::Int::Linear::GqBoolView< XV, YV >::post ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c 
) [inline, static]

Post propagator for $\sum_{i=0}^{|x|-1}x_i \geq y+c$.

Definition at line 256 of file bool-view.hpp.


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