Generated on Thu Mar 16 2017 03:24:31 for Gecode by doxygen 1.8.13
Gecode::Int::Bool::IteBnd< V0, V1, V2 > Class Template Reference

If-then-else bounds-consistent propagator. More...

#include <bool.hh>

Public Member Functions

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::IteBase< V0, V1, V2, PC_INT_BND >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low ternary) More...
 
virtual void reschedule (Space &home)
 Schedule function. 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...
 
unsigned int id (void) const
 Return propagator id. More...
 
PropagatorGroup group (void) const
 Return group propagator belongs to. More...
 
void group (PropagatorGroup g)
 Add propagator to group g. More...
 
bool disabled (void) const
 Whether propagator is currently disabled. More...
 
void kill (Space &home)
 Kill propagator. More...
 
void disable (void)
 Disable propagator. More...
 
void enable (void)
 Enable propagator. More...
 
- Public Member Functions inherited from Gecode::Actor
virtual ~Actor (void)
 To avoid warnings. More...
 

Static Public Member Functions

static ExecStatus post (Home home, BoolView b, V0 x0, V1 x1, V2 x2)
 Post if-then-else propagator. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s)
 Not used. More...
 
static void operator delete (void *p)
 Not used. More...
 
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

 IteBnd (Space &home, bool share, IteBnd &p)
 Constructor for cloning p. More...
 
 IteBnd (Home home, BoolView b, V0 x0, V1 x1, V2 x2)
 Constructor for creation. More...
 
- Protected Member Functions inherited from Gecode::Int::Bool::IteBase< V0, V1, V2, PC_INT_BND >
 IteBase (Space &home, bool share, IteBase &p)
 Constructor for cloning p. More...
 
 IteBase (Home home, BoolView b, V0 x0, V1 x1, V2 x2)
 Constructor for creation. 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...
 
GPI::Infogpi (void)
 Provide access to global propagator information. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gecode::Int::Bool::IteBase< V0, V1, V2, PC_INT_BND >
BoolView b
 View for condition. More...
 
V0 x0
 Views. More...
 
V1 x1
 
V2 x2
 

Detailed Description

template<class V0, class V1, class V2>
class Gecode::Int::Bool::IteBnd< V0, V1, V2 >

If-then-else bounds-consistent propagator.

Requires

#include <gecode/int/bool.hh>

Definition at line 610 of file bool.hh.

Constructor & Destructor Documentation

◆ IteBnd() [1/2]

template<class V0 , class V1 , class V2 >
Gecode::Int::Bool::IteBnd< V0, V1, V2 >::IteBnd ( Space home,
bool  share,
IteBnd< V0, V1, V2 > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 100 of file ite.hpp.

◆ IteBnd() [2/2]

template<class V0 , class V1 , class V2 >
Gecode::Int::Bool::IteBnd< V0, V1, V2 >::IteBnd ( Home  home,
BoolView  b,
V0  x0,
V1  x1,
V2  x2 
)
inlineprotected

Constructor for creation.

Definition at line 95 of file ite.hpp.

Member Function Documentation

◆ copy()

template<class V0 , class V1 , class V2 >
Actor * Gecode::Int::Bool::IteBnd< V0, V1, V2 >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 105 of file ite.hpp.

◆ propagate()

template<class V0 , class V1 , class V2 >
ExecStatus Gecode::Int::Bool::IteBnd< V0, V1, V2 >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 124 of file ite.hpp.

◆ post()

template<class V0 , class V1 , class V2 >
ExecStatus Gecode::Int::Bool::IteBnd< V0, V1, V2 >::post ( Home  home,
BoolView  b,
V0  x0,
V1  x1,
V2  x2 
)
inlinestatic

Post if-then-else propagator.

Definition at line 111 of file ite.hpp.


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