Public Types | Public Member Functions

GridGraph::ColMap Class Reference


Detailed Description

Map to get the column of the nodes.

#include <lemon/grid_graph.h>

List of all members.

Public Types

typedef GridGraph::Node Key
 The key type of the map.
typedef int Value
 The value type of the map.

Public Member Functions

 ColMap (const GridGraph &graph)
 Constructor.
Value operator[] (Key key) const

Constructor & Destructor Documentation

ColMap ( const GridGraph graph) [inline]

Constructor


Member Function Documentation

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

The subscript operator.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines