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

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

#include <linear.hh>

Inherits Gecode::Int::Linear::LinBoolView< XV, YV >< XV, YV >.

List of all members.


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

Protected Member Functions

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


Constructor & Destructor Documentation

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

Constructor for cloning p.

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

Constructor for creation.

Definition at line 240 of file bool-view.icc.


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 277 of file bool-view.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 284 of file bool-view.icc.

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

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

Definition at line 245 of file bool-view.icc.


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