|
Public Types |
typedef _Map::Key | Key |
| The key type of InvertableMap (Node, Edge, UndirEdge).
|
typedef _Map::Value | Value |
| The value type of the InvertableMap.
|
Public Member Functions |
| InvertableMap (const Graph &graph) |
| Constructor.
|
void | set (const Key &key, const Value &val) |
| The setter function of the map.
|
const Value | operator[] (const Key &key) const |
| The getter function of the map.
|
InverseMap | inverse () const |
| It gives back the just readeable inverse map.
|
Protected Member Functions |
virtual void | add (const Key &key) |
| Add a new key to the map.
|
virtual void | erase (const Key &key) |
| Erase the key from the map.
|
virtual void | clear () |
| Clear the keys from the map and inverse map.
|
Classes |
class | InverseMap |
| The inverse map type. More...
|