IndexMap Class Reference


Detailed Description

Map to get the indices of the nodes as dim2::Point<int>. #include <lemon/grid_ugraph.h>

List of all members.

Public Types

typedef GridUGraph::Node Key
 The key type of the map.
typedef dim2::Point< int > Value
 The value type of the map.

Public Member Functions

 IndexMap (const GridUGraph &_graph)
 Constructor.
Value operator[] (Key key) const


Constructor & Destructor Documentation

IndexMap ( const GridUGraph _graph  )  [inline]

Constructor


Member Function Documentation

Value operator[] ( Key  key  )  const [inline]

The subscript operator.


Generated on Thu Jun 4 04:04:53 2009 for LEMON by  doxygen 1.5.9