Generated on Sat Feb 7 2015 02:01:46 for Gecode by doxygen 1.8.9.1
Gecode::Int::Bool::IteDom< View > Class Template Reference

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

#include <bool.hh>

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning. More...
 
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as high ternary) More...
 
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
- Public Member Functions inherited from Gecode::Int::Bool::IteBase< View, PC_INT_DOM >
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, BoolView b, View x0, View x1, View x2)
 Post if-then-else propagator. 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

 IteDom (Space &home, bool share, IteDom &p)
 Constructor for cloning p. More...
 
 IteDom (Home home, BoolView b, View x0, View x1, View x2)
 Constructor for creation. More...
 
- Protected Member Functions inherited from Gecode::Int::Bool::IteBase< View, PC_INT_DOM >
 IteBase (Space &home, bool share, IteBase &p)
 Constructor for cloning p. More...
 
 IteBase (Home home, BoolView b, View x0, View x1, View 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...
 

Additional Inherited Members

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

Detailed Description

template<class View>
class Gecode::Int::Bool::IteDom< View >

If-then-else domain-consistent propagator.

Requires

#include <gecode/int/bool.hh>

Definition at line 626 of file bool.hh.

Constructor & Destructor Documentation

template<class View >
Gecode::Int::Bool::IteDom< View >::IteDom ( Space home,
bool  share,
IteDom< View > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 160 of file ite.hpp.

template<class View >
Gecode::Int::Bool::IteDom< View >::IteDom ( Home  home,
BoolView  b,
View  x0,
View  x1,
View  x2 
)
inlineprotected

Constructor for creation.

Definition at line 155 of file ite.hpp.

Member Function Documentation

template<class View >
Actor * Gecode::Int::Bool::IteDom< View >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 165 of file ite.hpp.

template<class View >
PropCost Gecode::Int::Bool::IteDom< View >::cost ( const Space home,
const ModEventDelta med 
) const
virtual

Cost function (defined as high ternary)

Reimplemented from Gecode::Int::Bool::IteBase< View, PC_INT_DOM >.

Definition at line 184 of file ite.hpp.

template<class View >
ExecStatus Gecode::Int::Bool::IteDom< View >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 193 of file ite.hpp.

template<class View >
ExecStatus Gecode::Int::Bool::IteDom< View >::post ( Home  home,
BoolView  b,
View  x0,
View  x1,
View  x2 
)
inlinestatic

Post if-then-else propagator.

Definition at line 171 of file ite.hpp.


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