test/bfs_test.cc
changeset 1221 1c978b5bcc65
parent 956 141f9c0db4a3
parent 1171 7e368d9b67f7
child 1259 8b2d4e5d96e4
equal deleted inserted replaced
10:bce43029b38f 14:0acbe1c72743
    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>())