InverseMap Class Reference


Detailed Description

template<typename _Graph, typename _Item>
class lemon::IdMap< _Graph, _Item >::InverseMap

The class represents the inverse of its owner (IdMap).
See also:
inverse()
#include <lemon/graph_utils.h>

List of all members.

Public Member Functions

 InverseMap (const Graph &_graph)
 Constructor.
 InverseMap (const IdMap &idMap)
 Constructor.
Item operator[] (int id) const


Constructor & Destructor Documentation

InverseMap ( const Graph &  _graph  )  [inline, explicit]

Constructor for creating an id-to-item map.

InverseMap ( const IdMap idMap  )  [inline, explicit]

Constructor for creating an id-to-item map.


Member Function Documentation

Item operator[] ( int  id  )  const [inline]

Gives back the given item from its id.


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