Reified membership propagator. More...
#include <member.hh>
Public Member Functions | |
virtual Propagator * | copy (Space &home, bool share) |
Copy propagator during cloning. More... | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. More... | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. More... | |
![]() | |
virtual PropCost | cost (const Space &, const ModEventDelta &med) const |
Cost function. More... | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. More... | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. More... | |
double | afc (const Space &home) const |
Return the accumlated failure count. More... | |
![]() |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< View > &x, View y, BoolView b) |
Post propagator for ![]() | |
![]() | |
static ExecStatus | post (Home home, ViewArray< View > &x, View y) |
Post propagator for ![]() | |
static ExecStatus | post (Home home, ValSet &vs, ViewArray< View > &x, View y) |
Post propagator for ![]() | |
![]() | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. More... | |
static void | operator delete (void *p, Space &home) |
No-op for exceptions. More... | |
Protected Member Functions | |
ReProp (Home home, ValSet &vs, ViewArray< View > &x, View y, BoolView b) | |
Constructor for posting. More... | |
ReProp (Space &home, bool share, ReProp< View, rm > &p) | |
Constructor for cloning p. More... | |
![]() | |
void | eliminate (Space &home) |
Eliminate views from x that are not equal to y or ar subsumed by vs. More... | |
Prop (Home home, ValSet &vs, ViewArray< View > &x, View y) | |
Constructor for posting. More... | |
Prop (Space &home, bool share, Prop< View > &p) | |
Constructor for cloning p. More... | |
![]() | |
NaryOnePropagator (Space &home, bool share, NaryOnePropagator &p) | |
Constructor for cloning p. More... | |
NaryOnePropagator (Space &home, bool share, Propagator &p, ViewArray< View > &x, View y) | |
Constructor for rewriting p during cloning. More... | |
NaryOnePropagator (Home home, ViewArray< View > &x, View y) | |
Constructor for creation. More... | |
![]() | |
Propagator (Home home) | |
Constructor for posting. More... | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. More... | |
Propagator * | fwd (void) const |
Return forwarding pointer during copying. More... | |
Protected Attributes | |
BoolView | b |
Boolean control variable. More... | |
![]() | |
ValSet | vs |
Value set storing the values of already assigned views. More... | |
![]() | |
ViewArray< View > | x |
Array of views. More... | |
View | y |
Single view. More... | |
Additional Inherited Members | |
![]() | |
static void | add (Space &home, ValSet &vs, ViewArray< View > &x) |
Add values of assigned views in x to value set va. More... | |
Reified membership propagator.
Requires
|
inlineprotected |
Constructor for posting.
Definition at line 44 of file re-prop.hpp.
|
inlineprotected |
Constructor for cloning p.
Definition at line 98 of file re-prop.hpp.
|
virtual |
Copy propagator during cloning.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 105 of file re-prop.hpp.
|
virtual |
Perform propagation.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 119 of file re-prop.hpp.
|
inlinestatic |
Post propagator for .
Definition at line 52 of file re-prop.hpp.
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::Int::Member::Prop< View >.
Definition at line 111 of file re-prop.hpp.
|
protected |