Generated on Thu Mar 22 10:39:55 2012 for Gecode by doxygen 1.6.3

Gecode::Int::Bool::NaryEq< BV > Class Template Reference
[Integer propagators]

n-ary Boolean equality propagator More...

#include <bool.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low unary).
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< BV > &x)
 Post propagator $ x_0 = x_1=\ldots =x_{|x|-1}$.

Protected Member Functions

 NaryEq (Home home, ViewArray< BV > &x)
 Constructor for posting.
 NaryEq (Space &home, bool share, NaryEq &p)
 Constructor for cloning p.

Detailed Description

template<class BV>
class Gecode::Int::Bool::NaryEq< BV >

n-ary Boolean equality propagator

Requires

 #include <gecode/int/bool.hh> 

Definition at line 133 of file bool.hh.


Constructor & Destructor Documentation

template<class BV >
Gecode::Int::Bool::NaryEq< BV >::NaryEq ( Home  home,
ViewArray< BV > &  x 
) [inline, protected]

Constructor for posting.

Definition at line 119 of file eq.hpp.

template<class BV >
Gecode::Int::Bool::NaryEq< BV >::NaryEq ( Space home,
bool  share,
NaryEq< BV > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 124 of file eq.hpp.


Member Function Documentation

template<class BV >
Actor * Gecode::Int::Bool::NaryEq< BV >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 129 of file eq.hpp.

template<class BV >
PropCost Gecode::Int::Bool::NaryEq< BV >::cost ( const Space home,
const ModEventDelta med 
) const [inline, virtual]

Cost function (defined as low unary).

Reimplemented from Gecode::NaryPropagator< BV, PC_BOOL_VAL >.

Definition at line 163 of file eq.hpp.

template<class BV >
ExecStatus Gecode::Int::Bool::NaryEq< BV >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 169 of file eq.hpp.

template<class BV >
ExecStatus Gecode::Int::Bool::NaryEq< BV >::post ( Home  home,
ViewArray< BV > &  x 
) [inline, static]

Post propagator $ x_0 = x_1=\ldots =x_{|x|-1}$.

Definition at line 135 of file eq.hpp.


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