Gecode::Int::Bool::IteDom< V0, V1, V2 > Class Template Reference
[Integer propagators]
If-then-else domain-consistent propagator. More...
#include <bool.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home) |
| 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, 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 632 of file bool.hh.
Constructor & Destructor Documentation
template<class V0 , class V1 , class V2 >
| Gecode::Int::Bool::IteDom< V0, V1, V2 >::IteDom | ( | Space & | home, | |
| IteDom< V0, V1, V2 > & | p | |||
| ) | [inline, protected] |
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] |
Member Function Documentation
template<class V0 , class V1 , class V2 >
| Actor * Gecode::Int::Bool::IteDom< V0, V1, V2 >::copy | ( | Space & | home | ) | [inline, virtual] |
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 >.
template<class V0 , class V1 , class V2 >
| ExecStatus Gecode::Int::Bool::IteDom< V0, V1, V2 >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
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] |
The documentation for this class was generated from the following files:
