
Base class for no-overlap propagator. More...
#include <no-overlap.hh>
Public Member Functions | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function. More... | |
| virtual size_t | dispose (Space &home) |
| Destructor. More... | |
Public Member Functions inherited from Gecode::Propagator | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med)=0 |
| Propagation 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... | |
Public Member Functions inherited from Gecode::Actor | |
| virtual Actor * | copy (Space &home, bool share)=0 |
| Create copy. More... | |
Protected Member Functions | |
| 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... | |
Protected Member Functions inherited from Gecode::Propagator | |
| 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... | |
Static Protected Member Functions | |
| static int | partition (Box *b, int i, int n) |
| Partition n boxes b starting at position i. More... | |
Protected Attributes | |
| Box * | b |
| Boxes. More... | |
| int | n |
| Number of mandatory boxes: b[0] ... b[n-1]. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::Actor | |
| 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... | |
Base class for no-overlap propagator.
Requires
Definition at line 230 of file no-overlap.hh.
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
virtual |
|
inlinevirtual |
Destructor.
Reimplemented from Gecode::Actor.
Reimplemented in Gecode::Int::NoOverlap::OptProp< Box >, and Gecode::Int::NoOverlap::ManProp< Box >.
|
protected |
Boxes.
Definition at line 233 of file no-overlap.hh.
|
protected |
Number of mandatory boxes: b[0] ... b[n-1].
Definition at line 235 of file no-overlap.hh.