COIN-OR::LEMON - Graph Library

Changeset 2260:4274224f8a7d in lemon-0.x for test/dijkstra_test.cc


Ignore:
Timestamp:
10/24/06 19:19:16 (13 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3016
Message:

concept -> concepts (namespace & directory)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/dijkstra_test.cc

    r2247 r2260  
    2222#include <lemon/path.h>
    2323#include <lemon/maps.h>
    24 #include <lemon/concept/graph.h>
    25 #include <lemon/concept/maps.h>
     24#include <lemon/concepts/graph.h>
     25#include <lemon/concepts/maps.h>
    2626using namespace lemon;
    2727
     
    3232{
    3333  typedef int VType;
    34   typedef concept::Graph Graph;
     34  typedef concepts::Graph Graph;
    3535
    3636  typedef Graph::Edge Edge;
     
    3838  typedef Graph::EdgeIt EdgeIt;
    3939  typedef Graph::NodeIt NodeIt;
    40   typedef concept::ReadMap<Edge,VType> LengthMap;
     40  typedef concepts::ReadMap<Edge,VType> LengthMap;
    4141 
    4242  typedef Dijkstra<Graph, LengthMap> DType;
     
    7171{
    7272  typedef int VType;
    73   typedef concept::Graph Graph;
     73  typedef concepts::Graph Graph;
    7474
    7575  typedef Graph::Edge Edge;
     
    7777  typedef Graph::EdgeIt EdgeIt;
    7878  typedef Graph::NodeIt NodeIt;
    79   typedef concept::ReadMap<Edge,VType> LengthMap;
     79  typedef concepts::ReadMap<Edge,VType> LengthMap;
    8080   
    8181  Graph g;
     
    8383  dijkstra(g,LengthMap()).source(Node()).run();
    8484  dijkstra(g,LengthMap())
    85     .predMap(concept::WriteMap<Node,Edge>())
    86     .distMap(concept::WriteMap<Node,VType>())
     85    .predMap(concepts::WriteMap<Node,Edge>())
     86    .distMap(concepts::WriteMap<Node,VType>())
    8787    .run(Node());
    8888 
Note: See TracChangeset for help on using the changeset viewer.