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

Gecode::Int::Linear::EqBoolInt< 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::EqBoolInt< VX >

Propagator for integer equal to Boolean sum (cardinality)

Requires

Definition at line 782 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 = c$.

Protected Member Functions

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


Constructor & Destructor Documentation

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

Constructor for cloning p.

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

Constructor for creation.

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


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

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

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

Perform propagation.

Implements Gecode::Propagator.

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

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

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

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


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