
Base class for compact table propagator. More...
#include <extensional.hh>
Classes | |
| class | CTAdvisor |
| Advisor for updating current table. More... | |
| class | LostSupports |
| Iterator over lost supports. More... | |
| class | Status |
| Status management. More... | |
| class | ValidSupports |
| Iterator over valid supports. More... | |
Public Member Functions | |
| size_t | dispose (Space &home) |
| Delete propagator and return its size. More... | |
Public Member Functions inherited from Gecode::Propagator | |
| virtual void | reschedule (Space &home)=0 |
| Schedule function. More... | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med)=0 |
| Propagation function. More... | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const =0 |
| 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... | |
| virtual void | advise (Space &home, Advisor &a) |
| Run advisor a to be run on failure in failed space. More... | |
| double | afc (void) const |
| Return the accumlated failure count. More... | |
| unsigned int | id (void) const |
| Return propagator id. More... | |
| PropagatorGroup | group (void) const |
| Return group propagator belongs to. More... | |
| void | group (PropagatorGroup g) |
| Add propagator to group g. More... | |
| bool | disabled (void) const |
| Whether propagator is currently disabled. More... | |
Public Member Functions inherited from Gecode::Actor | |
| virtual Actor * | copy (Space &home)=0 |
| Create copy. More... | |
| virtual | ~Actor (void) |
| To avoid warnings. More... | |
Protected Types | |
| typedef TupleSet::Range | Range |
| Range type for supports. More... | |
Protected Member Functions | |
| Compact (Space &home, Compact &p) | |
| Constructor for cloning p. More... | |
| Compact (Home home, ViewArray< View > &x, const TupleSet &ts) | |
| Constructor for posting. More... | |
| const Range * | range (CTAdvisor &a, int n) |
| Find range for n. More... | |
| const BitSetData * | supports (CTAdvisor &a, int n) |
| Return supports for value n. More... | |
Protected Member Functions inherited from Gecode::Propagator | |
| Propagator (Home home) | |
| Constructor for posting. More... | |
| Propagator (Space &home, Propagator &p) | |
| Constructor for cloning p. More... | |
| Propagator * | fwd (void) const |
| Return forwarding pointer during copying. More... | |
| Kernel::GPI::Info & | gpi (void) |
| Provide access to global propagator information. More... | |
Protected Attributes | |
| int | unassigned |
| Number of unassigned views. More... | |
| const unsigned int | n_words |
| Number of words in supports. More... | |
| Status | status |
| Propagator status. More... | |
| TupleSet | ts |
| The tuple set. More... | |
| Council< CTAdvisor > | c |
| The advisor council. More... | |
Status management | |
| enum | StatusType { SINGLE = 0, MULTIPLE = 1, NONE = 2, PROPAGATING = 3 } |
| Type of status. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::Actor | |
| static void * | operator new (size_t s) |
| Not used. More... | |
| static void | operator delete (void *p) |
| Not used. 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... | |
Base class for compact table propagator.
Definition at line 347 of file extensional.hh.
|
protected |
Range type for supports.
Definition at line 350 of file extensional.hh.
|
protected |
Type of status.
| Enumerator | |
|---|---|
| SINGLE | A single view has been touched. |
| MULTIPLE | Multiple view have been touched. |
| NONE | No view has been touched. |
| PROPAGATING | The propagator is currently running. |
Definition at line 381 of file extensional.hh.
|
inlineprotected |
Constructor for cloning p.
Definition at line 279 of file compact.hpp.
|
inlineprotected |
Constructor for posting.
Definition at line 287 of file compact.hpp.
|
protected |
Find range for n.
Definition at line 149 of file compact.hpp.
|
inlineprotected |
Return supports for value n.
Definition at line 170 of file compact.hpp.
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Reimplemented in Gecode::Int::Extensional::CompactTable< View, Table >.
Definition at line 296 of file compact.hpp.
|
protected |
Number of unassigned views.
Definition at line 467 of file extensional.hh.
|
protected |
Number of words in supports.
Definition at line 469 of file extensional.hh.
|
protected |
Propagator status.
Definition at line 471 of file extensional.hh.
|
protected |
The tuple set.
Definition at line 473 of file extensional.hh.
|
protected |
The advisor council.
Definition at line 475 of file extensional.hh.