Propagator for recording activity information. More...
#include <activity.hpp>
Classes | |
class | Idx |
Advisor with index and change information. More... | |
Public Member Functions | |
Recorder (Home home, ViewArray< View > &x, Activity &a) | |
Constructor for creation. More... | |
virtual Propagator * | copy (Space &home, bool share) |
Copy propagator during cloning. More... | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (crazy so that propagator is likely to run last) More... | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Give advice to propagator. 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... | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. 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, Activity &a) |
Post activity recorder propagator. 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 | |
Recorder (Space &home, bool share, Recorder< View > &p) | |
Constructor for cloning p. More... | |
![]() | |
NaryPropagator (Space &home, bool share, NaryPropagator &p) | |
Constructor for cloning p. More... | |
NaryPropagator (Space &home, bool share, Propagator &p, ViewArray< View > &x) | |
Constructor for rewriting p during cloning. More... | |
NaryPropagator (Home home, ViewArray< View > &x) | |
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 | |
Activity | a |
Access to activity information. More... | |
Council< Idx > | c |
The advisor council. More... | |
![]() | |
ViewArray< View > | x |
Array of views. More... | |
Propagator for recording activity information.
Definition at line 47 of file activity.hpp.
|
inlineprotected |
Constructor for cloning p.
Definition at line 382 of file activity.hpp.
|
inline |
Constructor for creation.
Definition at line 246 of file activity.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 391 of file activity.hpp.
|
virtual |
Cost function (crazy so that propagator is likely to run last)
Reimplemented from Gecode::NaryPropagator< View, PC_GEN_NONE >.
Definition at line 411 of file activity.hpp.
|
virtual |
Give advice to propagator.
Reimplemented from Gecode::Propagator.
Definition at line 417 of file activity.hpp.
|
virtual |
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::NaryPropagator< View, PC_GEN_NONE >.
Definition at line 397 of file activity.hpp.
|
inlinestatic |
Post activity recorder propagator.
Definition at line 257 of file activity.hpp.
|
protected |
Access to activity information.
Definition at line 171 of file activity.hpp.
|
protected |
The advisor council.
Definition at line 173 of file activity.hpp.