Generated on Thu Oct 26 14:26:03 2006 for Gecode by doxygen 1.4.7

Gecode::Int::Linear::GqBoolInt< VX > Class Template Reference
[Integer propagators]

#include <linear.hh>

Inherits Gecode::Int::Linear::LinBoolInt< VX >< VX >.

List of all members.


Detailed Description

template<class VX>
class Gecode::Int::Linear::GqBoolInt< VX >

Propagator for integer less or equal to Boolean sum (cardinality)

Requires

Definition at line 807 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< VX > &x, int c)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i \geq c$.

Protected Member Functions

 GqBoolInt (Space *home, bool share, GqBoolInt &p)
 Constructor for cloning p.
 GqBoolInt (Space *home, ViewArray< VX > &x, int n_s, int c)
 Constructor for creation.


Constructor & Destructor Documentation

template<class VX>
Gecode::Int::Linear::GqBoolInt< VX >::GqBoolInt ( Space home,
bool  share,
GqBoolInt< VX > &  p 
) [protected]

Constructor for cloning p.

template<class VX>
Gecode::Int::Linear::GqBoolInt< VX >::GqBoolInt ( Space home,
ViewArray< VX > &  x,
int  n_s,
int  c 
) [inline, protected]

Constructor for creation.

Definition at line 90 of file bool-int.icc.


Member Function Documentation

template<class VX>
Actor * Gecode::Int::Linear::GqBoolInt< VX >::copy ( Space home,
bool  share 
) [virtual]

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 133 of file bool-int.icc.

template<class VX>
ExecStatus Gecode::Int::Linear::GqBoolInt< VX >::propagate ( Space home  )  [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 139 of file bool-int.icc.

template<class VX>
ExecStatus Gecode::Int::Linear::GqBoolInt< VX >::post ( Space home,
ViewArray< VX > &  x,
int  c 
) [static]

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

Definition at line 96 of file bool-int.icc.


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