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

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

Boolean disjunction propagator. More...

#include <bool.hh>

List of all members.

Public Member Functions

 Or (Space &home, bool share, Propagator &p, BVA b0, BVB b1, BVC b2)
 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, BVC b2)
 Post propagator $ b_0 \lor b_1 = b_2 $.

Protected Member Functions

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

Detailed Description

template<class BVA, class BVB, class BVC>
class Gecode::Int::Bool::Or< BVA, BVB, BVC >

Boolean disjunction propagator.

Requires

 #include <gecode/int/bool.hh> 

Definition at line 332 of file bool.hh.


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 465 of file or.hpp.

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

Constructor for cloning p.

Definition at line 470 of file or.hpp.

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

Constructor for rewriting p during cloning.

Definition at line 475 of file or.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 481 of file or.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 530 of file or.hpp.

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

Post propagator $ b_0 \lor b_1 = b_2 $.

Definition at line 498 of file or.hpp.


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