Generated on Tue May 22 09:41:35 2018 for Gecode by doxygen 1.6.3

Gecode::Int::ViewValGraph::BiLink Class Reference

Bidirectional links for edges and anchors in nodes of view-value graph. More...

#include <view-val-graph.hh>

List of all members.

Public Member Functions

 BiLink (void)
 Initialize as empty (self referenced).
BiLinkprev (void) const
 Return previous element.
BiLinknext (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 74 of file view-val-graph.hh.


Constructor & Destructor Documentation

Gecode::Int::ViewValGraph::BiLink::BiLink ( void   )  [inline]

Initialize as empty (self referenced).

Definition at line 37 of file bi-link.hpp.


Member Function Documentation

BiLink * Gecode::Int::ViewValGraph::BiLink::prev ( void   )  const [inline]

Return previous element.

Definition at line 42 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 46 of file bi-link.hpp.

void Gecode::Int::ViewValGraph::BiLink::prev ( BiLink l  )  [inline]

Set previous element to l.

Definition at line 50 of file bi-link.hpp.

void Gecode::Int::ViewValGraph::BiLink::next ( BiLink l  )  [inline]

Set next element to l.

Definition at line 54 of file bi-link.hpp.

void Gecode::Int::ViewValGraph::BiLink::add ( BiLink l  )  [inline]

Add l after this element.

Definition at line 59 of file bi-link.hpp.

void Gecode::Int::ViewValGraph::BiLink::unlink ( void   )  [inline]

Unlink this element.

Definition at line 64 of file bi-link.hpp.

void Gecode::Int::ViewValGraph::BiLink::mark ( void   )  [inline]

Mark element (invalidates next element pointer).

Definition at line 70 of file bi-link.hpp.

bool Gecode::Int::ViewValGraph::BiLink::marked ( void   )  const [inline]

Whether element is marked.

Definition at line 74 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 78 of file bi-link.hpp.


The documentation for this class was generated from the following files: