Gecode::Int::Bool::IteBase< View, pc > Class Template Reference
[Integer propagators]
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 |
Detailed Description
template<class View, PropCond pc>
class Gecode::Int::Bool::IteBase< View, pc >
If-then-else propagator base-class.
Requires
#include <gecode/int/bool.hh>
Definition at line 576 of file bool.hh.
Constructor & Destructor Documentation
template<class View , PropCond pc>
Gecode::Int::Bool::IteBase< View, pc >::IteBase | ( | Space & | home, | |
bool | share, | |||
IteBase< View, pc > & | p | |||
) | [inline, protected] |
template<class View, PropCond pc>
Gecode::Int::Bool::IteBase< View, pc >::IteBase | ( | Home | home, | |
BoolView | b, | |||
View | x0, | |||
View | x1, | |||
View | x2 | |||
) | [inline, protected] |
Member Function Documentation
template<class View , PropCond pc>
PropCost Gecode::Int::Bool::IteBase< View, pc >::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [inline, virtual] |
Cost function (defined as low ternary).
Implements Gecode::Propagator.
Reimplemented in Gecode::Int::Bool::IteDom< View >.
template<class View , PropCond pc>
size_t Gecode::Int::Bool::IteBase< View, pc >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Member Data Documentation
template<class View, PropCond pc>
BoolView Gecode::Int::Bool::IteBase< View, pc >::b [protected] |
template<class View, PropCond pc>
View Gecode::Int::Bool::IteBase< View, pc >::x0 [protected] |
template<class View, PropCond pc>
View Gecode::Int::Bool::IteBase< View, pc >::x1 [protected] |
template<class View, PropCond pc>
View Gecode::Int::Bool::IteBase< View, pc >::x2 [protected] |
The documentation for this class was generated from the following files:
- gecode/int/bool.hh (Revision: 13580)
- gecode/int/bool/ite.hpp (Revision: 13590)