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

Gecode::Int::Bool::BinOrTrue< BVA, BVB > Class Template Reference
[Integer propagators]

#include <bool.hh>

Inherits Gecode::Int::Bool::BoolBinary< BVA, BVB >.

List of all members.


Detailed Description

template<class BVA, class BVB>
class Gecode::Int::Bool::BinOrTrue< BVA, BVB >

Binary Boolean disjunction propagator (true).

Requires

 #include "gecode/int/bool.hh" 

Definition at line 228 of file bool.hh.


Public Member Functions

 BinOrTrue (Space *home, bool share, Propagator &p, BVA b0, BVB b1)
 Constructor for rewriting p during cloning.
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, BVA b0, BVB b1)
 Post propagator $ b_0 \lor b_1 = 1 $.
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

 BinOrTrue (Space *home, BVA b0, BVB b1)
 Constructor for posting.
 BinOrTrue (Space *home, bool share, BinOrTrue &p)
 Constructor for cloning p.

Constructor & Destructor Documentation

template<class BVA, class BVB>
Gecode::Int::Bool::BinOrTrue< BVA, BVB >::BinOrTrue ( Space home,
BVA  b0,
BVB  b1 
) [inline, protected]

Constructor for posting.

Definition at line 128 of file or.icc.

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

Constructor for cloning p.

Definition at line 133 of file or.icc.

template<class BVA, class BVB>
Gecode::Int::Bool::BinOrTrue< BVA, BVB >::BinOrTrue ( Space home,
bool  share,
Propagator p,
BVA  b0,
BVB  b1 
) [inline]

Constructor for rewriting p during cloning.

Definition at line 138 of file or.icc.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 144 of file or.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 173 of file or.icc.

template<class BVA, class BVB>
ExecStatus Gecode::Int::Bool::BinOrTrue< BVA, BVB >::post ( Space home,
BVA  b0,
BVB  b1 
) [inline, static]

Post propagator $ b_0 \lor b_1 = 1 $.

Definition at line 150 of file or.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 210 of file or.icc.

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

Post using specification.

Definition at line 216 of file or.icc.

template<class BVA, class BVB>
Support::Symbol Gecode::Int::Bool::BinOrTrue< BVA, BVB >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 204 of file or.icc.


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