Gecode::Int::ViewValGraph::BiLink Class Reference
Bidirectional links for edges and anchors in nodes of view-value graph. More...
#include <view-val-graph.hh>
Public Member Functions | |
BiLink (void) | |
Initialize as empty (self referenced). | |
BiLink * | prev (void) const |
Return previous element. | |
BiLink * | next (void) const |
Return next element. | |
void | prev (BiLink *l) |
Set previous element to l. | |
void | next (BiLink *l) |
Set next element to l. | |
void | add (BiLink *l) |
Add l after this element. | |
void | unlink (void) |
Unlink this element. | |
void | mark (void) |
Mark element (invalidates next element pointer). | |
bool | marked (void) const |
Whether element is marked. | |
bool | empty (void) const |
Whether element has no previous and next element. |
Detailed Description
Bidirectional links for edges and anchors in nodes of view-value graph.
Definition at line 78 of file view-val-graph.hh.
Constructor & Destructor Documentation
Gecode::Int::ViewValGraph::BiLink::BiLink | ( | void | ) | [inline] |
Initialize as empty (self referenced).
Definition at line 41 of file bi-link.hpp.
Member Function Documentation
BiLink * Gecode::Int::ViewValGraph::BiLink::prev | ( | void | ) | const [inline] |
Return previous element.
Definition at line 46 of file bi-link.hpp.
BiLink * Gecode::Int::ViewValGraph::BiLink::next | ( | void | ) | const [inline] |
Return next element.
Reimplemented in Gecode::Int::ViewValGraph::Edge< View >, and Gecode::Int::ViewValGraph::Edge< IntView >.
Definition at line 50 of file bi-link.hpp.
void Gecode::Int::ViewValGraph::BiLink::prev | ( | BiLink * | l | ) | [inline] |
Set previous element to l.
Definition at line 54 of file bi-link.hpp.
void Gecode::Int::ViewValGraph::BiLink::next | ( | BiLink * | l | ) | [inline] |
Set next element to l.
Definition at line 58 of file bi-link.hpp.
void Gecode::Int::ViewValGraph::BiLink::add | ( | BiLink * | l | ) | [inline] |
Add l after this element.
Definition at line 63 of file bi-link.hpp.
void Gecode::Int::ViewValGraph::BiLink::unlink | ( | void | ) | [inline] |
Unlink this element.
Definition at line 68 of file bi-link.hpp.
void Gecode::Int::ViewValGraph::BiLink::mark | ( | void | ) | [inline] |
Mark element (invalidates next element pointer).
Definition at line 74 of file bi-link.hpp.
bool Gecode::Int::ViewValGraph::BiLink::marked | ( | void | ) | const [inline] |
Whether element is marked.
Definition at line 78 of file bi-link.hpp.
bool Gecode::Int::ViewValGraph::BiLink::empty | ( | void | ) | const [inline] |
Whether element has no previous and next element.
Definition at line 82 of file bi-link.hpp.
The documentation for this class was generated from the following files:
- gecode/int/view-val-graph.hh (Revision: 12395)
- gecode/int/view-val-graph/bi-link.hpp (Revision: 12306)