abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
Loading...
Searching...
No Matches
GridGraph::IndexMap Class Reference

Map to get the indices of the nodes as dim2::Point< int >. More...

#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.

Detailed Description

Map to get the indices of the nodes as dim2::Point< int >.