Generated on Mon Nov 30 23:53:53 2009 for Gecode by doxygen 1.6.1

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

Propagator for reified equality to Boolean sum (cardinality) More...

#include <linear.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Create copy during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< XV > &x, YV y, int c, BV b)
 Post propagator for $\left(\sum_{i=0}^{|x|-1}x_i = y+c\right)\Leftrightarrow b$.

Protected Member Functions

 ReEqBoolView (Space &home, bool share, ReEqBoolView &p)
 Constructor for cloning p.
 ReEqBoolView (Home home, ViewArray< XV > &x, YV y, int c, BV b)
 Constructor for creation.

Detailed Description

template<class XV, class YV, class BV>
class Gecode::Int::Linear::ReEqBoolView< XV, YV, BV >

Propagator for reified equality to Boolean sum (cardinality)

Requires

Definition at line 1132 of file linear.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

template<class XV , class YV , class BV >
Gecode::Int::Linear::ReEqBoolView< XV, YV, BV >::ReEqBoolView ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c,
BV  b 
) [protected]

Constructor for creation.


Member Function Documentation

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

Create copy during cloning.

Implements Gecode::Actor.

template<class XV , class YV , class BV >
virtual ExecStatus Gecode::Int::Linear::ReEqBoolView< XV, YV, BV >::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Implements Gecode::Propagator.

template<class XV , class YV , class BV >
static ExecStatus Gecode::Int::Linear::ReEqBoolView< XV, YV, BV >::post ( Home  home,
ViewArray< XV > &  x,
YV  y,
int  c,
BV  b 
) [static]

Post propagator for $\left(\sum_{i=0}^{|x|-1}x_i = y+c\right)\Leftrightarrow b$.


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