IDableGraphComponent Class Reference

#include <lemon/concept/graph_component.h>

Inherits BaseGraphComponent.

Inheritance diagram for IDableGraphComponent:

Inheritance graph
[legend]
List of all members.

Detailed Description

This class provides beside the core graph features core id functions for the graph structure. The most of the base graphs should be conform to this concept. The id's are unique and immutable.


Public Member Functions

int id (const Node &) const
 Gives back an unique integer id for the Node.
Node fromId (int, Node) const
 Gives back the node by the unique id.
int id (const Edge &) const
 Gives back an unique integer id for the Edge.
Edge fromId (int, Edge) const
 Gives back the edge by the unique id.


Member Function Documentation

int id const Node  )  const [inline]
 

Gives back an unique integer id for the Node.

Node fromId int  ,
Node 
const [inline]
 

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

int id const Edge  )  const [inline]
 

Gives back an unique integer id for the Edge.

Edge fromId int  ,
Edge 
const [inline]
 

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


The documentation for this class was generated from the following file:
Generated on Fri Feb 3 18:43:42 2006 for LEMON by  doxygen 1.4.6