Gecode::ActorLink Class Reference
Double-linked list for actors. More...
#include <gecode/kernel/core.hpp>
Public Member Functions | |
| ActorLink * | prev (void) const |
| Routines for double-linked list. | |
| void | prev (ActorLink *) |
| ActorLink * | next (void) const |
| void | next (ActorLink *) |
| ActorLink ** | next_ref (void) |
| void | init (void) |
| Initialize links (self-linked). | |
| void | unlink (void) |
| Remove from predecessor and successor. | |
| void | head (ActorLink *al) |
| Insert al directly after this. | |
| void | tail (ActorLink *al) |
| Insert al directly before this. | |
| bool | empty (void) const |
| Test whether actor link is empty (points to itself). | |
Static Public Member Functions | |
| template<class T> | |
| static ActorLink * | cast (T *a) |
| Static cast for a non-null pointer (to give a hint to optimizer). | |
| template<class T> | |
| static const ActorLink * | cast (const T *a) |
| Static cast for a non-null pointer (to give a hint to optimizer). | |
Detailed Description
Double-linked list for actors.
Used to maintain which actors belong to a space and also (for propagators) to organize actors in the queue of waiting propagators.
Member Function Documentation
◆ prev() [1/2]
|
inline |
◆ prev() [2/2]
◆ next() [1/2]
◆ next() [2/2]
◆ next_ref()
◆ init()
|
inline |
◆ unlink()
|
inline |
◆ head()
|
inline |
◆ tail()
|
inline |
◆ empty()
|
inline |
◆ cast() [1/2]
template<class T>
|
inlinestatic |
◆ cast() [2/2]
template<class T>
|
inlinestatic |
The documentation for this class was generated from the following file:
- gecode/kernel/core.hpp
