No-overlap propagator for optional boxes. More...
#include <no-overlap.hh>
Public Member Functions | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. More... | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. More... | |
virtual size_t | dispose (Space &home) |
Destructor. More... | |
![]() | |
virtual PropCost | cost (const Space &home, 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, Box *b, int n) |
Post propagator for boxes b. More... | |
![]() | |
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 | |
OptProp (Home home, Box *b, int n, int m) | |
Constructor for posting. More... | |
OptProp (Space &home, bool share, OptProp< Box > &p) | |
Constructor for cloning p. More... | |
![]() | |
Base (Home home, Box *b, int n) | |
Constructor for posting with n mandatory boxes. More... | |
Base (Space &home, bool share, Base< Box > &p, int m) | |
Constructor for cloning p with m boxes. 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 | |
int | m |
Number of optional boxes: b[n] ... b[n+m-1]. More... | |
![]() | |
Box * | b |
Boxes. More... | |
int | n |
Number of mandatory boxes: b[0] ... b[n-1]. More... | |
Additional Inherited Members | |
![]() | |
static int | partition (Box *b, int i, int n) |
Partition n boxes b starting at position i. More... | |
No-overlap propagator for optional boxes.
Requires
Definition at line 288 of file no-overlap.hh.
|
inlineprotected |
|
inlineprotected |
|
static |
|
virtual |
|
virtual |
|
inlinevirtual |
Destructor.
Reimplemented from Gecode::Int::NoOverlap::Base< Box >.
|
protected |
Number of optional boxes: b[n] ... b[n+m-1].
Definition at line 293 of file no-overlap.hh.