Gecode::IntSetPropagator< View, pcs, pci > Class Template Reference
[Patterns for set propagators]
Set/Int connection propagator. More...
#include <propagator.hpp>
Public Member Functions | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as low binary). | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
Protected Member Functions | |
IntSetPropagator (Space &home, bool, IntSetPropagator &) | |
Constructor for cloning. | |
IntSetPropagator (Space &home, View, Gecode::Int::IntView) | |
Constructor for creation. | |
Protected Attributes | |
View | x0 |
Gecode::Int::IntView | x1 |
Detailed Description
template<class View, PropCond pcs, PropCond pci>
class Gecode::IntSetPropagator< View, pcs, pci >
Set/Int connection propagator.
Stores single view of type View with propagation condition pcs and an integer variable with propagation condition pci.
Definition at line 58 of file propagator.hpp.
Constructor & Destructor Documentation
template<class View , PropCond pcs, PropCond pci>
Gecode::IntSetPropagator< View, pcs, pci >::IntSetPropagator | ( | Space & | home, | |
bool | share, | |||
IntSetPropagator< View, pcs, pci > & | p | |||
) | [inline, protected] |
Constructor for cloning.
Definition at line 110 of file propagator.hpp.
template<class View, PropCond pcs, PropCond pci>
Gecode::IntSetPropagator< View, pcs, pci >::IntSetPropagator | ( | Space & | home, | |
View | y0, | |||
Gecode::Int::IntView | y1 | |||
) | [inline, protected] |
Constructor for creation.
Definition at line 101 of file propagator.hpp.
Member Function Documentation
template<class View , PropCond pcs, PropCond pci>
PropCost Gecode::IntSetPropagator< View, pcs, pci >::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [inline, virtual] |
Cost function (defined as low binary).
Implements Gecode::Propagator.
Definition at line 118 of file propagator.hpp.
template<class View , PropCond pcs, PropCond pci>
size_t Gecode::IntSetPropagator< View, pcs, pci >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 125 of file propagator.hpp.
Member Data Documentation
template<class View, PropCond pcs, PropCond pci>
View Gecode::IntSetPropagator< View, pcs, pci >::x0 [protected] |
Definition at line 60 of file propagator.hpp.
template<class View, PropCond pcs, PropCond pci>
Gecode::Int::IntView Gecode::IntSetPropagator< View, pcs, pci >::x1 [protected] |
Definition at line 61 of file propagator.hpp.
The documentation for this class was generated from the following file:
- gecode/set/propagator.hpp (Revision: 9692)