#include <lemon/graph_utils.h>
Public Member Functions | |
InverseMap (const Graph &_graph) | |
Constructor. | |
InverseMap (const IdMap &idMap) | |
Constructor. | |
Item | operator[] (int id) const |
InverseMap | ( | const Graph & | _graph | ) | [inline, explicit] |
Constructor for creating an id-to-item map.
InverseMap | ( | const IdMap & | idMap | ) | [inline, explicit] |
Constructor for creating an id-to-item map.
Item operator[] | ( | int | id | ) | const [inline] |
Gives back the given item from its id.