Generated on Mon Aug 25 11:35:50 2008 for Gecode by doxygen 1.5.6

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

#include <bool.hh>

Inherits NaryPropagator< BV, PC_BOOL_VAL >.

List of all members.


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 147 of file bool.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (ModEventDelta med) const
 Cost function (defined as PC_UNARY_LO).
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static ExecStatus post (Space *home, ViewArray< BV > &x)
 Post propagator $ x_0 = x_1=\ldots =x_{|x|-1}$.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator for specification.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

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

Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 141 of file eq.icc.

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 146 of file eq.icc.


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 151 of file eq.icc.

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

Cost function (defined as PC_UNARY_LO).

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

Definition at line 194 of file eq.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 200 of file eq.icc.

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

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

Definition at line 157 of file eq.icc.

template<class BV>
void Gecode::Int::Bool::NaryEq< BV >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post propagator for specification.

Definition at line 185 of file eq.icc.

template<class BV>
Reflection::ActorSpec Gecode::Int::Bool::NaryEq< BV >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 232 of file eq.icc.

template<class BV>
Support::Symbol Gecode::Int::Bool::NaryEq< BV >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 226 of file eq.icc.


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