Generated on Wed Nov 1 15:05:16 2006 for Gecode by doxygen 1.4.5

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

#include <bool.hh>

Inherits Gecode::NaryOnePropagator< View, PC_INT_VAL >.

List of all members.


Detailed Description

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

Boolean n-ary disjunction propagator.

Requires

 #include "gecode/int/bool.hh" 

Definition at line 171 of file bool.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Space *home, ViewArray< View > &b, View c)
 Post propagator $ \bigvee_{i=0}^{|b|-1} b_i = c$.

Protected Member Functions

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


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 301 of file or.icc.

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

Constructor for cloning p.

Definition at line 306 of file or.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 339 of file or.icc.

template<class View>
ExecStatus Gecode::Int::Bool::NaryOr< View >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 351 of file or.icc.

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

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

Definition at line 311 of file or.icc.


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