#include <lemon/concept/graph_component.h>
Inherits BaseGraphComponent.
Inheritance diagram for IDableGraphComponent:
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. |
|
Gives back an unique integer id for the Node. |
|
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. |
|
Gives back an unique integer id for the Edge. |
|
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. |