Generated on Sat Feb 7 2015 02:01:46 for Gecode by doxygen 1.8.9.1
Gecode::Int::Bool::Or< BVA, BVB, BVC > Class Template Reference

Boolean disjunction propagator. More...

#include <bool.hh>

Public Member Functions

 Or (Space &home, bool share, Propagator &p, BVA b0, BVB b1, BVC b2)
 Constructor for rewriting p during cloning. More...
 
virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning. More...
 
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
- Public Member Functions inherited from Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >
 BoolTernary (Space &home, bool share, Propagator &p, BVA b0, BVB b1, BVC b2)
 Constructor for rewriting p during cloning. More...
 
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low binary) More...
 
virtual size_t dispose (Space &home)
 Delete propagator and return its size. More...
 
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta. More...
 
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function. More...
 
double afc (const Space &home) const
 Return the accumlated failure count. More...
 
- Public Member Functions inherited from Gecode::Actor

Static Public Member Functions

static ExecStatus post (Home home, BVA b0, BVB b1, BVC b2)
 Post propagator $ b_0 \lor b_1 = b_2 $. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Protected Member Functions

 Or (Home home, BVA b0, BVB b1, BVC b2)
 Constructor for posting. More...
 
 Or (Space &home, bool share, Or &p)
 Constructor for cloning p. More...
 
- Protected Member Functions inherited from Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >
 BoolTernary (Home home, BVA b0, BVB b1, BVC b2)
 
 BoolTernary (Space &home, bool share, BoolTernary &p)
 Constructor for cloning. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 
Propagatorfwd (void) const
 Return forwarding pointer during copying. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >
BVA x0
 Boolean view. More...
 
BVB x1
 Boolean view. More...
 
BVC x2
 Boolean view Constructor for posting. More...
 

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 328 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 
)
inlineprotected

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 
)
inlineprotected

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 
)
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 
)
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 
)
inlinestatic

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: