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

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

#include <bool.hh>

Inherits NaryOnePropagator< BV, PC_BOOL_VAL >.

List of all members.


Detailed Description

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

Boolean n-ary disjunction propagator.

Requires

 #include "gecode/int/bool.hh" 

Definition at line 378 of file bool.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
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 > &b, BV c)
 Post propagator $ \bigvee_{i=0}^{|b|-1} b_i = c$.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post using specification.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

 NaryOr (Space *home, ViewArray< BV > &b, BV c)
 Constructor for posting.
 NaryOr (Space *home, bool share, NaryOr< BV > &p)
 Constructor for cloning p.

Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 902 of file or.icc.

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

Constructor for cloning p.

Definition at line 907 of file or.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 912 of file or.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 951 of file or.icc.

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

Post propagator $ \bigvee_{i=0}^{|b|-1} b_i = c$.

Definition at line 922 of file or.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 982 of file or.icc.

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

Post using specification.

Definition at line 988 of file or.icc.

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

Name of this propagator.

Definition at line 976 of file or.icc.


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