Changeset 1237:2414b5ab7684 in lemon-0.x
- Timestamp:
- 03/21/05 17:16:52 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1664
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/map_utils.h
r1211 r1237 244 244 /// \see inverse() 245 245 class InverseMap { 246 protected: 246 public: 247 /// \brief Constructor. 248 /// 249 /// Constructor for creating an id-to-item map. 247 250 InverseMap(const Graph& _graph) : graph(&_graph) {} 248 public: 249 /// \brief Gives back the given item by its id. 251 /// \brief Gives back the given item from its id. 250 252 /// 251 /// Gives back the given item byits id.253 /// Gives back the given item from its id. 252 254 /// 253 255 Item operator[](int id) const { return graph->fromId(id, Item());}
Note: See TracChangeset
for help on using the changeset viewer.