Map to get the indices of the nodes as dim2::Point<int>.
#include <lemon/grid_graph.h>
Public Types | |
typedef GridGraph::Node | Key |
The key type of the map. | |
typedef dim2::Point< int > | Value |
The value type of the map. | |
Public Member Functions | |
IndexMap (const GridGraph &graph) | |
Constructor. | |
Value | operator[] (Key key) const |
The subscript operator. | |