diff -r fd24f16e0d73 -r 2414b5ab7684 src/lemon/map_utils.h --- a/src/lemon/map_utils.h Mon Mar 21 12:49:37 2005 +0000 +++ b/src/lemon/map_utils.h Mon Mar 21 16:16:52 2005 +0000 @@ -243,12 +243,14 @@ /// The class represents the inverse of the map. /// \see inverse() class InverseMap { - protected: + public: + /// \brief Constructor. + /// + /// Constructor for creating an id-to-item map. InverseMap(const Graph& _graph) : graph(&_graph) {} - public: - /// \brief Gives back the given item by its id. + /// \brief Gives back the given item from its id. /// - /// Gives back the given item by its id. + /// Gives back the given item from its id. /// Item operator[](int id) const { return graph->fromId(id, Item());} private: