test/bfs_test.cc
changeset 1288 dd5b5d96b657
parent 1173 d216e1c8b3fa
parent 1257 3e711ee55d31
child 1270 dceba191c00d
equal deleted inserted replaced
14:0acbe1c72743 17:bd0bd623aeb9
    59 
    59 
    60   Digraph G;
    60   Digraph G;
    61   Node s, t, n;
    61   Node s, t, n;
    62   Arc e;
    62   Arc e;
    63   int l, i;
    63   int l, i;
    64   ignore_unused_variable_warning(l,i);
    64   ::lemon::ignore_unused_variable_warning(l,i);
    65   bool b;
    65   bool b;
    66   BType::DistMap d(G);
    66   BType::DistMap d(G);
    67   BType::PredMap p(G);
    67   BType::PredMap p(G);
    68   Path<Digraph> pp;
    68   Path<Digraph> pp;
    69   concepts::ReadMap<Node,bool> nm;
    69   concepts::ReadMap<Node,bool> nm;
   149   typedef Digraph::Arc Arc;
   149   typedef Digraph::Arc Arc;
   150   typedef Digraph::Node Node;
   150   typedef Digraph::Node Node;
   151 
   151 
   152   Digraph g;
   152   Digraph g;
   153   bool b;
   153   bool b;
   154   ignore_unused_variable_warning(b);
   154   ::lemon::ignore_unused_variable_warning(b);
   155 
   155 
   156   bfs(g).run(Node());
   156   bfs(g).run(Node());
   157   b=bfs(g).run(Node(),Node());
   157   b=bfs(g).run(Node(),Node());
   158   bfs(g).run();
   158   bfs(g).run();
   159   bfs(g)
   159   bfs(g)