test/bfs_test.cc
branch1.1
changeset 808 bdfc038f364c
parent 797 c18ed26f016c
parent 807 3e711ee55d31
equal deleted inserted replaced
12:ae8c70db41c5 14:80e990cd0341
    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)