test/bfs_test.cc
branch1.1
changeset 803 79f149ee0230
parent 761 f1398882a928
parent 796 7e368d9b67f7
child 808 bdfc038f364c
equal deleted inserted replaced
10:11e18205cbbf 12:ae8c70db41c5
    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>())