src/work/marci/leda_graph_demo.cc
changeset 538 d8863141824d
parent 181 96f647f568c7
child 921 818510fa3d99
equal deleted inserted replaced
0:a696e6989ae5 1:6a89e94d909d
     1 // -*- c++ -*-
     1 // -*- c++ -*-
     2 #include <iostream>
     2 #include <iostream>
     3 #include <fstream>
     3 #include <fstream>
     4 
     4 
     5 #include <LEDA/graph.h>
     5 #include <LEDA/graph.h>
     6 #include <leda_graph.h>
     6 #include <leda_graph_wrapper.h>
     7 #include <dimacs.h>
     7 #include <dimacs.h>
     8 #include <time_measure.h>
     8 #include <time_measure.h>
     9 #include <edmonds_karp.h>
     9 #include <edmonds_karp.h>
    10 
    10 
    11 using namespace hugo;
    11 using namespace hugo;
    13 using std::cout; 
    13 using std::cout; 
    14 using std::endl;
    14 using std::endl;
    15 
    15 
    16 int main() {
    16 int main() {
    17   leda::graph g;
    17   leda::graph g;
    18   typedef LedaGraph<leda::graph> Graph;
    18   typedef LedaGraphWrapper<leda::graph> Graph;
    19   Graph G(g);
    19   Graph G(g);
    20 //   G.addNode();
    20 //   G.addNode();
    21 //   G.addNode();
    21 //   G.addNode();
    22 //   std::cout << G.nodeNum() << std::endl; 
    22 //   std::cout << G.nodeNum() << std::endl; 
    23 
    23