No-overlap propagator for mandatory boxes. More...
#include <no-overlap.hh>
Public Member Functions | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual size_t | dispose (Space &home) |
Destructor. | |
![]() | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function. | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. | |
double | afc (void) const |
Return the accumlated failure count. |
Static Public Member Functions | |
static ExecStatus | post (Home home, ManBox< Dim, d > *b, int n) |
Post propagator for boxes b. |
Protected Member Functions | |
ManProp (Home home, ManBox< Dim, d > *b, int n) | |
Constructor for posting. | |
ManProp (Space &home, bool share, ManProp< Dim, d > &p) | |
Constructor for cloning p. | |
![]() | |
Base (Home home, ManBox< Dim, d > *b, int n) | |
Constructor for posting with n mandatory boxes. | |
Base (Space &home, bool share, Base< ManBox< Dim, d > > &p, int m) | |
Constructor for cloning p with m boxes. | |
![]() | |
Propagator (Home home) | |
Constructor for posting. | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. |
Additional Inherited Members | |
![]() | |
static int | partition (ManBox< Dim, d > *b, int i, int n) |
Partition n boxes b starting at position i. | |
![]() | |
ManBox< Dim, d > * | b |
Boxes. | |
int | n |
Number of mandatory boxes: b[0] ... b[n-1]. |
No-overlap propagator for mandatory boxes.
Requires
Definition at line 261 of file no-overlap.hh.
|
inlineprotected |
|
inlineprotected |
|
inlinestatic |
|
virtual |
|
virtual |
|
inlinevirtual |
Destructor.
Reimplemented from Gecode::Int::NoOverlap::Base< ManBox< Dim, d > >.