Generated on Sat Feb 7 2015 02:01:49 for Gecode by doxygen 1.8.9.1
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) More...
 
BiLinkprev (void) const
 Return previous element. More...
 
BiLinknext (void) const
 Return next element. More...
 
void prev (BiLink *l)
 Set previous element to l. More...
 
void next (BiLink *l)
 Set next element to l. More...
 
void add (BiLink *l)
 Add l after this element. More...
 
void unlink (void)
 Unlink this element. More...
 
void mark (void)
 Mark element (invalidates next element pointer) More...
 
bool marked (void) const
 Whether element is marked. More...
 
bool empty (void) const
 Whether element has no previous and next element. More...
 

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.

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: