Generated on Thu Apr 11 13:59:58 2019 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, Propagator &p, BVA b0, BVB b1)
 Constructor for rewriting p during cloning.
virtual Actorcopy (Space &home)
 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, 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 237 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 103 of file or.hpp.

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

Constructor for cloning p.

Definition at line 108 of file or.hpp.

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

Constructor for rewriting p during cloning.

Definition at line 113 of file or.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 119 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 148 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 125 of file or.hpp.


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