If-then-else domain-consistent propagator. More...
#include <bool.hh>
Public Member Functions | |
virtual Actor * | copy (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, View x0, View x1, View 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, View x0, View x1, View x2) | |
Constructor for creation. |
If-then-else domain-consistent propagator.
Requires
#include <gecode/int/bool.hh>
Gecode::Int::Bool::IteDom< View >::IteDom | ( | Space & | home, |
bool | share, | ||
IteDom< View > & | p | ||
) | [inline, protected] |
Gecode::Int::Bool::IteDom< View >::IteDom | ( | Home | home, |
BoolView | b, | ||
View | x0, | ||
View | x1, | ||
View | x2 | ||
) | [inline, protected] |
Actor * Gecode::Int::Bool::IteDom< View >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
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 >.
ExecStatus Gecode::Int::Bool::IteDom< View >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Bool::IteDom< View >::post | ( | Home | home, |
BoolView | b, | ||
View | x0, | ||
View | x1, | ||
View | x2 | ||
) | [inline, static] |