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

Gecode::Int::Bool::IteDom< V0, V1, V2 > Class Template Reference
[Integer propagators]

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

#include <bool.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as high ternary).
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, BoolView b, V0 x0, V1 x1, V2 x2)
 Post if-then-else propagator.

Protected Member Functions

 IteDom (Space &home, bool share, IteDom &p)
 Constructor for cloning p.
 IteDom (Home home, BoolView b, V0 x0, V1 x1, V2 x2)
 Constructor for creation.

Detailed Description

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

If-then-else domain-consistent propagator.

Requires

 #include <gecode/int/bool.hh> 

Definition at line 636 of file bool.hh.


Constructor & Destructor Documentation

template<class V0 , class V1 , class V2 >
Gecode::Int::Bool::IteDom< V0, V1, V2 >::IteDom ( Space home,
bool  share,
IteDom< V0, V1, V2 > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 170 of file ite.hpp.

template<class V0 , class V1 , class V2 >
Gecode::Int::Bool::IteDom< V0, V1, V2 >::IteDom ( Home  home,
BoolView  b,
V0  x0,
V1  x1,
V2  x2 
) [inline, protected]

Constructor for creation.

Definition at line 165 of file ite.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 175 of file ite.hpp.

template<class V0 , class V1 , class V2 >
PropCost Gecode::Int::Bool::IteDom< V0, V1, V2 >::cost ( const Space home,
const ModEventDelta med 
) const [inline, virtual]

Cost function (defined as high ternary).

Reimplemented from Gecode::Int::Bool::IteBase< V0, V1, V2, PC_INT_DOM >.

Definition at line 194 of file ite.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 203 of file ite.hpp.

template<class V0 , class V1 , class V2 >
ExecStatus Gecode::Int::Bool::IteDom< V0, V1, V2 >::post ( Home  home,
BoolView  b,
V0  x0,
V1  x1,
V2  x2 
) [inline, static]

Post if-then-else propagator.

Definition at line 181 of file ite.hpp.


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