1.1 --- a/src/lemon/map_utils.h Mon Mar 21 12:49:37 2005 +0000
1.2 +++ b/src/lemon/map_utils.h Mon Mar 21 16:16:52 2005 +0000
1.3 @@ -243,12 +243,14 @@
1.4 /// The class represents the inverse of the map.
1.5 /// \see inverse()
1.6 class InverseMap {
1.7 - protected:
1.8 + public:
1.9 + /// \brief Constructor.
1.10 + ///
1.11 + /// Constructor for creating an id-to-item map.
1.12 InverseMap(const Graph& _graph) : graph(&_graph) {}
1.13 - public:
1.14 - /// \brief Gives back the given item by its id.
1.15 + /// \brief Gives back the given item from its id.
1.16 ///
1.17 - /// Gives back the given item by its id.
1.18 + /// Gives back the given item from its id.
1.19 ///
1.20 Item operator[](int id) const { return graph->fromId(id, Item());}
1.21 private: