IDableGraphComponent Class Template Reference


Detailed Description

template<typename _Base = BaseGraphComponent>
class lemon::concepts::IDableGraphComponent< _Base >

This class provides beside the core undirected graph features core id functions for the undirected graph structure. The most of the base undirected graphs should be conform to this concept. The id's are unique and immutable. #include <lemon/concepts/graph_components.h>

Inheritance diagram for IDableGraphComponent:

Inheritance graph
[legend]

List of all members.

Public Member Functions

int id (const Edge &) const
 Gives back an unique integer id for the Edge.
Edge edgeFromId (int) const
 Gives back the edge by the unique id.
int maxEdgeId () const
 Gives back an integer greater or equal to the maximum Edge id.


Member Function Documentation

int id ( const Edge &   )  const [inline]

Gives back an unique integer id for the Edge.

Edge edgeFromId ( int   )  const [inline]

Gives back the edge by the unique id. If the graph does not contain arc with the given id then the result of the function is undetermined.

int maxEdgeId (  )  const [inline]

Gives back an integer greater or equal to the maximum Edge id.


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

Generated on Sun Dec 7 10:50:01 2008 for LEMON by  doxygen 1.5.7.1