Gecode::Int::Member::ReProp< View, rm > Class Template Reference
[Integer propagators]
Reified membership propagator. More...
#include <member.hh>
Public Member Functions | |
virtual Propagator * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< View > &x, View y, BoolView b) |
Post propagator for . | |
Protected Member Functions | |
ReProp (Home home, ValSet &vs, ViewArray< View > &x, View y, BoolView b) | |
Constructor for posting. | |
ReProp (Space &home, bool share, ReProp< View, rm > &p) | |
Constructor for cloning p. | |
Protected Attributes | |
BoolView | b |
Boolean control variable. |
Detailed Description
template<class View, ReifyMode rm>
class Gecode::Int::Member::ReProp< View, rm >
Reified membership propagator.
Requires
#include <gecode/int/member.hh>
Definition at line 94 of file member.hh.
Constructor & Destructor Documentation
template<class View , ReifyMode rm>
Gecode::Int::Member::ReProp< View, rm >::ReProp | ( | Home | home, | |
ValSet & | vs, | |||
ViewArray< View > & | x, | |||
View | y, | |||
BoolView | b | |||
) | [inline, protected] |
Constructor for posting.
Definition at line 44 of file re-prop.hpp.
template<class View , ReifyMode rm>
Gecode::Int::Member::ReProp< View, rm >::ReProp | ( | Space & | home, | |
bool | share, | |||
ReProp< View, rm > & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 98 of file re-prop.hpp.
Member Function Documentation
template<class View , ReifyMode rm>
Propagator * Gecode::Int::Member::ReProp< View, rm >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
Copy propagator during cloning.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 105 of file re-prop.hpp.
template<class View , ReifyMode rm>
ExecStatus Gecode::Int::Member::ReProp< View, rm >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
Perform propagation.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 119 of file re-prop.hpp.
template<class View , ReifyMode rm>
ExecStatus Gecode::Int::Member::ReProp< View, rm >::post | ( | Home | home, | |
ViewArray< View > & | x, | |||
View | y, | |||
BoolView | b | |||
) | [inline, static] |
Post propagator for .
Definition at line 52 of file re-prop.hpp.
template<class View , ReifyMode rm>
size_t Gecode::Int::Member::ReProp< View, rm >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 111 of file re-prop.hpp.
Member Data Documentation
template<class View, ReifyMode rm>
BoolView Gecode::Int::Member::ReProp< View, rm >::b [protected] |
The documentation for this class was generated from the following files:
- gecode/int/member.hh (Revision: 12472)
- gecode/int/member/re-prop.hpp (Revision: 15253)