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

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

#include <bool.hh>

Inherits Gecode::BinaryPropagator< View, PC_INT_VAL >.

List of all members.


Detailed Description

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

Boolean n-ary disjunction propagator (true).

Requires

 #include "gecode/int/bool.hh" 

Definition at line 196 of file bool.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (void) const
 Cost function (defined as PC_LINEAR_LO).
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

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

Protected Member Functions

ExecStatus resubscribe (Space *home, View &x0, View x1)
 Update subscription.
 NaryOrTrue (Space *home, ViewArray< View > &b)
 Constructor for posting.
 NaryOrTrue (Space *home, bool share, NaryOrTrue< View > &p)
 Constructor for cloning p.

Protected Attributes

ViewArray< View > x
 Views not yet subscribed to.


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 180 of file or.icc.

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

Constructor for cloning p.

Definition at line 196 of file or.icc.


Member Function Documentation

template<class View>
ExecStatus Gecode::Int::Bool::NaryOrTrue< View >::resubscribe Space home,
View &  x0,
View  x1
[inline, protected]
 

Update subscription.

Definition at line 249 of file or.icc.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 243 of file or.icc.

template<class View>
PropCost Gecode::Int::Bool::NaryOrTrue< View >::cost void   )  const [virtual]
 

Cost function (defined as PC_LINEAR_LO).

Reimplemented from Gecode::BinaryPropagator< View, PC_INT_VAL >.

Definition at line 190 of file or.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 284 of file or.icc.

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

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

Definition at line 222 of file or.icc.


Member Data Documentation

template<class View>
ViewArray<View> Gecode::Int::Bool::NaryOrTrue< View >::x [protected]
 

Views not yet subscribed to.

Definition at line 201 of file bool.hh.


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