Generated on Thu Jul 6 07:07:04 2006 for Gecode by doxygen 1.4.7

Gecode::Int::Linear::EqBool< 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::EqBool< View >

Propagator for equality to Boolean sum (cardinality)

Requires

Definition at line 791 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 = y$.

Protected Member Functions

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


Constructor & Destructor Documentation

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

Constructor for cloning p.

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

Constructor for creation.

Definition at line 93 of file bool.icc.


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

Definition at line 110 of file bool.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 116 of file bool.icc.

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

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

Definition at line 98 of file bool.icc.


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