If-then-else propagator base-class. More...
#include <bool.hh>
Public Member Functions | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as low ternary) | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
Protected Member Functions | |
IteBase (Space &home, bool share, IteBase &p) | |
Constructor for cloning p. | |
IteBase (Home home, BoolView b, View x0, View x1, View x2) | |
Constructor for creation. | |
Protected Attributes | |
BoolView | b |
View for condition. | |
View | x0 |
Views. | |
View | x1 |
View | x2 |
If-then-else propagator base-class.
Requires
#include <gecode/int/bool.hh>
Gecode::Int::Bool::IteBase< View, pc >::IteBase | ( | Space & | home, |
bool | share, | ||
IteBase< View, pc > & | p | ||
) | [inline, protected] |
Gecode::Int::Bool::IteBase< View, pc >::IteBase | ( | Home | home, |
BoolView | b, | ||
View | x0, | ||
View | x1, | ||
View | x2 | ||
) | [inline, protected] |
PropCost Gecode::Int::Bool::IteBase< View, pc >::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
Cost function (defined as low ternary)
Implements Gecode::Propagator.
Reimplemented in Gecode::Int::Bool::IteDom< View >.
size_t Gecode::Int::Bool::IteBase< View, pc >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
BoolView Gecode::Int::Bool::IteBase< View, pc >::b [protected] |
View Gecode::Int::Bool::IteBase< View, pc >::x0 [protected] |
View Gecode::Int::Bool::IteBase< View, pc >::x1 [protected] |
View Gecode::Int::Bool::IteBase< View, pc >::x2 [protected] |