COIN-OR::LEMON - Graph Library

Changeset 798:6d1abeb62dd3 in lemon-0.x for src/hugo/smart_graph.h


Ignore:
Timestamp:
09/03/04 17:11:17 (16 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1092
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/smart_graph.h

    r782 r798  
    1313#include <hugo/invalid.h>
    1414
    15 #include <hugo/array_map_factory.h>
     15#include <hugo/default_map_factory.h>
    1616#include <hugo/sym_map_factory.h>
    1717#include <hugo/map_registry.h>
     
    7474   
    7575    CREATE_MAP_REGISTRIES;
    76     CREATE_MAPS(ArrayMapFactory);
     76    CREATE_MAPS(DefaultMapFactory);
    7777   
    7878  public:
     
    297297
    298298    CREATE_SYM_EDGE_MAP_REGISTRY;
    299     CREATE_SYM_EDGE_MAP_FACTORY(ArrayMapFactory);
     299    CREATE_SYM_EDGE_MAP_FACTORY(DefaultMapFactory);
    300300    IMPORT_SYM_EDGE_MAP(SymEdgeMapFactory);
    301301
     
    306306    {
    307307      Edge e = SmartGraph::addEdge(u,v);
    308       SmartGraph::addEdge(v,u);
     308      Edge f = SmartGraph::addEdge(v,u);
     309      sym_edge_maps.add(e);
     310      sym_edge_maps.add(f);
    309311      return e;
    310312    }
Note: See TracChangeset for help on using the changeset viewer.