Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IDableGraphComponent Class Reference
[Graph Structure Concepts]

#include <lemon/concept/graph_component.h>

Inheritance diagram for IDableGraphComponent:

Inheritance graph
[legend]
Collaboration diagram for IDableGraphComponent:

Collaboration 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.

Definition at line 290 of file graph_component.h.

Public Member Functions

int id (const Node &) const
 Gives back an unique integer id for the Node.
Node fromId (int id, 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 id, 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.

Definition at line 300 of file graph_component.h.

Node fromId int  id,
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.

Definition at line 307 of file graph_component.h.

int id const Edge  )  const [inline]
 

Gives back an unique integer id for the Edge.

Definition at line 313 of file graph_component.h.

Edge fromId int  id,
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.

Definition at line 320 of file graph_component.h.


The documentation for this class was generated from the following file:
Generated on Sat Mar 19 10:58:58 2005 for LEMON by  doxygen 1.4.1