Generated on Tue Apr 18 10:23:43 2017 for Gecode by doxygen 1.6.3

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

Binary Boolean disjunction propagator (true). More...

#include <bool.hh>

List of all members.

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, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, BVA b0, BVB b1)
 Post propagator $ b_0 \lor b_1 = 1 $.

Protected Member Functions

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

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


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 107 of file or.hpp.

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 112 of file or.hpp.

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 117 of file or.hpp.


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 123 of file or.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 152 of file or.hpp.

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

Post propagator $ b_0 \lor b_1 = 1 $.

Definition at line 129 of file or.hpp.


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