#include <lemon/concepts/graph_components.h>
Inherits BAS.
Public Member Functions | |
| int | id (const Node &) const |
| Return a unique integer id for the given node. | |
| Node | nodeFromId (int) const |
| Return the node by its unique id. | |
| int | id (const Arc &) const |
| Return a unique integer id for the given arc. | |
| Arc | arcFromId (int) const |
| Return the arc by its unique id. | |
| int | maxNodeId () const |
| Return an integer greater or equal to the maximum node id. | |
| int | maxArcId () const |
| Return an integer greater or equal to the maximum arc id. | |
| int id | ( | const Node & | ) | const [inline] |
This function returns a unique integer id for the given node.
| Node nodeFromId | ( | int | ) | const [inline] |
This function returns the node by its unique id. If the digraph does not contain a node with the given id, then the result of the function is undefined.
| int id | ( | const Arc & | ) | const [inline] |
This function returns a unique integer id for the given arc.
| Arc arcFromId | ( | int | ) | const [inline] |
This function returns the arc by its unique id. If the digraph does not contain an arc with the given id, then the result of the function is undefined.
| int maxNodeId | ( | ) | const [inline] |
This function returns an integer greater or equal to the maximum node id.
| int maxArcId | ( | ) | const [inline] |
This function returns an integer greater or equal to the maximum arc id.