#include <lemon/concepts/graph_components.h>
Inherits _Base.
Public Member Functions | |
int | id (const Node &) const |
Node | nodeFromId (int) const |
Gives back the node by the unique id. | |
int | id (const Edge &) const |
Edge | edgeFromId (int) const |
Gives back the edge by the unique id. | |
int | maxNodeId () const |
int | maxEdgeId () const |
int id | ( | const Node & | ) | const [inline] |
Gives back an unique integer id for the Node.
Node nodeFromId | ( | int | ) | 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 edgeFromId | ( | int | ) | 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.
int maxNodeId | ( | ) | const [inline] |
Gives back an integer greater or equal to the maximum Node id.
int maxEdgeId | ( | ) | const [inline] |
Gives back an integer greater or equal to the maximum Edge id.