COIN-OR::LEMON - Graph Library

Changeset 2135:15355b98fb84 in lemon-0.x


Ignore:
Timestamp:
07/12/06 13:40:52 (13 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2849
Message:

Must have been changed because of the private copy constructor.

Location:
test
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • test/bfs_test.cc

    r2111 r2135  
    7575  typedef concept::ReadMap<Edge,VType> LengthMap;
    7676   
    77   bfs(Graph(),Node()).run();
    78   bfs(Graph()).source(Node()).run();
    79   bfs(Graph())
     77  Graph g;
     78  bfs(g,Node()).run();
     79  bfs(g).source(Node()).run();
     80  bfs(g)
    8081    .predMap(concept::WriteMap<Node,Edge>())
    8182    .distMap(concept::WriteMap<Node,VType>())
  • test/dfs_test.cc

    r2111 r2135  
    7676  typedef concept::ReadMap<Edge,VType> LengthMap;
    7777   
    78   dfs(Graph(),Node()).run();
    79   dfs(Graph()).source(Node()).run();
    80   dfs(Graph())
     78  Graph g;
     79  dfs(g,Node()).run();
     80  dfs(g).source(Node()).run();
     81  dfs(g)
    8182    .predMap(concept::WriteMap<Node,Edge>())
    8283    .distMap(concept::WriteMap<Node,VType>())
  • test/dijkstra_test.cc

    r2111 r2135  
    7979  typedef concept::ReadMap<Edge,VType> LengthMap;
    8080   
    81   dijkstra(Graph(),LengthMap(),Node()).run();
    82   dijkstra(Graph(),LengthMap()).source(Node()).run();
    83   dijkstra(Graph(),LengthMap())
     81  Graph g;
     82  dijkstra(g,LengthMap(),Node()).run();
     83  dijkstra(g,LengthMap()).source(Node()).run();
     84  dijkstra(g,LengthMap())
    8485    .predMap(concept::WriteMap<Node,Edge>())
    8586    .distMap(concept::WriteMap<Node,VType>())
  • test/kruskal_test.cc

    r2111 r2135  
    3535  concept::WriteMap<concept::Graph::Edge,bool> w;
    3636
    37   kruskal(concept::Graph(),
     37  concept::Graph g;
     38  kruskal(g,
    3839          concept::ReadMap<concept::Graph::Edge,int>(),
    3940          w);
Note: See TracChangeset for help on using the changeset viewer.