test/dfs_test.cc
changeset 1288 dd5b5d96b657
parent 1173 d216e1c8b3fa
parent 1257 3e711ee55d31
child 1263 b9887ae63df0
child 1261 97f1760dcd13
equal deleted inserted replaced
21:c9cfe69996db 26:cf777c3c944e
    65   Digraph G;
    65   Digraph G;
    66   Node s, t;
    66   Node s, t;
    67   Arc e;
    67   Arc e;
    68   int l, i;
    68   int l, i;
    69   bool b;
    69   bool b;
    70   ignore_unused_variable_warning(l,i,b);
    70   ::lemon::ignore_unused_variable_warning(l,i,b);
    71 
    71 
    72   DType::DistMap d(G);
    72   DType::DistMap d(G);
    73   DType::PredMap p(G);
    73   DType::PredMap p(G);
    74   Path<Digraph> pp;
    74   Path<Digraph> pp;
    75   concepts::ReadMap<Arc,bool> am;
    75   concepts::ReadMap<Arc,bool> am;
   151   typedef Digraph::Arc Arc;
   151   typedef Digraph::Arc Arc;
   152   typedef Digraph::Node Node;
   152   typedef Digraph::Node Node;
   153 
   153 
   154   Digraph g;
   154   Digraph g;
   155   bool b;
   155   bool b;
   156   ignore_unused_variable_warning(b);
   156   ::lemon::ignore_unused_variable_warning(b);
   157 
   157 
   158   dfs(g).run(Node());
   158   dfs(g).run(Node());
   159   b=dfs(g).run(Node(),Node());
   159   b=dfs(g).run(Node(),Node());
   160   dfs(g).run();
   160   dfs(g).run();
   161   dfs(g)
   161   dfs(g)