The inverse map type of CrossRefMap. The subscript operator gives back an item by its value. This type conforms to the ReadMap concept.
#include <lemon/maps.h>
Public Types | |
typedef CrossRefMap::Key | Value |
The value type of the InverseMap. | |
typedef CrossRefMap::Value | Key |
The key type of the InverseMap. | |
Public Member Functions | |
InverseMap (const CrossRefMap &inverted) | |
Constructor. | |
Value | operator[] (const Key &key) const |
Subscript operator. | |
|
inlineexplicit |
Constructor of the InverseMap.