test/bfs_test.cc
changeset 804 6039b32a2351
parent 577 65fbcf2f978a
child 797 c18ed26f016c
child 807 3e711ee55d31
equal deleted inserted replaced
9:c08860b44b6f 11:8756130dd337
    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   bool b;
    65   bool b;
    65   BType::DistMap d(G);
    66   BType::DistMap d(G);
    66   BType::PredMap p(G);
    67   BType::PredMap p(G);
    67   Path<Digraph> pp;
    68   Path<Digraph> pp;
    68   concepts::ReadMap<Node,bool> nm;
    69   concepts::ReadMap<Node,bool> nm;
   148   typedef Digraph::Arc Arc;
   149   typedef Digraph::Arc Arc;
   149   typedef Digraph::Node Node;
   150   typedef Digraph::Node Node;
   150 
   151 
   151   Digraph g;
   152   Digraph g;
   152   bool b;
   153   bool b;
       
   154   ignore_unused_variable_warning(b);
       
   155 
   153   bfs(g).run(Node());
   156   bfs(g).run(Node());
   154   b=bfs(g).run(Node(),Node());
   157   b=bfs(g).run(Node(),Node());
   155   bfs(g).run();
   158   bfs(g).run();
   156   bfs(g)
   159   bfs(g)
   157     .predMap(concepts::ReadWriteMap<Node,Arc>())
   160     .predMap(concepts::ReadWriteMap<Node,Arc>())