COIN-OR::LEMON - Graph Library

Changeset 1237:2414b5ab7684 in lemon-0.x


Ignore:
Timestamp:
03/21/05 17:16:52 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1664
Message:

Constructor of IdMap?<G,I>::InverseMap? made public

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/map_utils.h

    r1211 r1237  
    244244    /// \see inverse()
    245245    class InverseMap {
    246     protected:
     246    public:
     247      /// \brief Constructor.
     248      ///
     249      /// Constructor for creating an id-to-item map.
    247250      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.
    250252      ///
    251       /// Gives back the given item by its id.
     253      /// Gives back the given item from its id.
    252254      ///
    253255      Item operator[](int id) const { return graph->fromId(id, Item());}
Note: See TracChangeset for help on using the changeset viewer.