COIN-OR::LEMON - Graph Library

Changeset 377:33fe0ee01dc5 in lemon-0.x for src/work/deba/edge_map_base.h


Ignore:
Timestamp:
04/22/04 18:36:57 (17 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@507
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/deba/edge_map_base.h

    r340 r377  
    1212template <typename G, typename K>
    1313class EdgeMapBase {
     14
     15#include "edge_map_registry.h"
     16
    1417public:
    1518        typedef G Graph;
     19        friend class EdgeMapRegistry<G, K>;
    1620
    1721        typedef K KeyType;
     
    7882       
    7983        void init() {
    80                 for (Graph::EdgeIt it(g); g.valid(it); g.next(it)) {
     84                for (typename Graph::EdgeIt it(g); g.valid(it); g.next(it)) {
    8185                        add(it);
    8286                }
     
    8892       
    8993        void destroy() {
    90                 for (Graph::EdgeIt it(g); g.valid(it); g.next(it)) {
     94                for (typename Graph::EdgeIt it(g); g.valid(it); g.next(it)) {
    9195                        erase(it);
    9296                }
     
    113117        class NotSupportedOperationException {};
    114118
    115         friend class Graph;
    116119};
    117120
Note: See TracChangeset for help on using the changeset viewer.