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 > &p) | |
Constructor for cloning p. | |
Protected Attributes | |
BoolView | b |
Boolean control variable. |
Reified membership propagator.
Requires
#include <gecode/int/member.hh>
Gecode::Int::Member::ReProp< View >::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.
Gecode::Int::Member::ReProp< View >::ReProp | ( | Space & | home, |
bool | share, | ||
ReProp< View > & | p | ||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 94 of file re-prop.hpp.
Propagator * Gecode::Int::Member::ReProp< View >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
Copy propagator during cloning.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 101 of file re-prop.hpp.
ExecStatus Gecode::Int::Member::ReProp< View >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
Perform propagation.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 115 of file re-prop.hpp.
ExecStatus Gecode::Int::Member::ReProp< View >::post | ( | Home | home, |
ViewArray< View > & | x, | ||
View | y, | ||
BoolView | b | ||
) | [inline, static] |
Post propagator for .
Definition at line 52 of file re-prop.hpp.
size_t Gecode::Int::Member::ReProp< View >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 107 of file re-prop.hpp.
BoolView Gecode::Int::Member::ReProp< View >::b [protected] |