This class represents the inverse of its owner (IdMap).
#include <lemon/maps.h>
Public Member Functions | |
| InverseMap (const Graph &graph) | |
| Constructor. | |
| InverseMap (const IdMap &map) | |
| Constructor. | |
| Item | operator[] (int id) const |
| InverseMap | ( | const Graph & | graph | ) | [inline, explicit] |
Constructor for creating an id-to-item map.
| InverseMap | ( | const IdMap & | map | ) | [inline, explicit] |
Constructor for creating an id-to-item map.
| Item operator[] | ( | int | id | ) | const [inline] |
Gives back the given item from its id.
1.7.3