Generated on Sat Aug 25 2012 15:53:11 for Gecode by doxygen 1.7.5
Gecode::Int::Bool::NaryEq Class Reference

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

n-ary Boolean equality propagator

Requires

 #include <gecode/int/bool.hh> 

Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 119 of file eq.hpp.

Gecode::Int::Bool::NaryEq::NaryEq ( Space home,
bool  share,
NaryEq p 
) [protected]

Constructor for cloning p.


Member Function Documentation

Actor * Gecode::Int::Bool::NaryEq::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 129 of file eq.hpp.

PropCost Gecode::Int::Bool::NaryEq::cost ( const Space home,
const ModEventDelta med 
) const [virtual]

Cost function (defined as low unary)

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

Definition at line 163 of file eq.hpp.

ExecStatus Gecode::Int::Bool::NaryEq::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 169 of file eq.hpp.

ExecStatus Gecode::Int::Bool::NaryEq::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: