Generated on Wed Jan 4 17:49:22 2006 for Gecode by doxygen 1.4.6

Gecode::Int::Linear::GqBool< View > Class Template Reference
[Integer propagators]

#include <linear.hh>

Inherits Gecode::Int::Linear::LinBool< View >< View >.

List of all members.


Detailed Description

template<class View>
class Gecode::Int::Linear::GqBool< View >

Propagator for greater or equal to Boolean sum (cardinality)

Requires

 #include "int/linear.hh" 

Definition at line 816 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< BoolView > &x, int n, View y)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i+n \geq y$.

Protected Member Functions

 GqBool (Space *home, bool share, GqBool &p)
 Constructor for cloning p.
 GqBool (Space *home, ViewArray< BoolView > &x, int n, View y)
 Constructor for creation.


Constructor & Destructor Documentation

template<class View>
Gecode::Int::Linear::GqBool< View >::GqBool Space home,
bool  share,
GqBool< View > &  p
[protected]
 

Constructor for cloning p.

template<class View>
Gecode::Int::Linear::GqBool< View >::GqBool Space home,
ViewArray< BoolView > &  x,
int  n,
View  y
[inline, protected]
 

Constructor for creation.

Definition at line 234 of file bool.icc.


Member Function Documentation

template<class View>
Actor * Gecode::Int::Linear::GqBool< View >::copy Space home,
bool  share
[virtual]
 

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 252 of file bool.icc.

template<class View>
ExecStatus Gecode::Int::Linear::GqBool< View >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 259 of file bool.icc.

template<class View>
ExecStatus Gecode::Int::Linear::GqBool< View >::post Space home,
ViewArray< BoolView > &  x,
int  n,
View  y
[static]
 

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

Definition at line 239 of file bool.icc.


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