equal
deleted
inserted
replaced
40 Edge e; |
40 Edge e; |
41 int l; |
41 int l; |
42 bool b; |
42 bool b; |
43 BType::DistMap d(G); |
43 BType::DistMap d(G); |
44 BType::PredMap p(G); |
44 BType::PredMap p(G); |
45 BType::PredNodeMap pn(G); |
45 // BType::PredNodeMap pn(G); |
46 |
46 |
47 BType bfs_test(G); |
47 BType bfs_test(G); |
48 |
48 |
49 bfs_test.run(n); |
49 bfs_test.run(n); |
50 |
50 |
51 l = bfs_test.dist(n); |
51 l = bfs_test.dist(n); |
52 e = bfs_test.pred(n); |
52 e = bfs_test.pred(n); |
53 n = bfs_test.predNode(n); |
53 n = bfs_test.predNode(n); |
54 d = bfs_test.distMap(); |
54 d = bfs_test.distMap(); |
55 p = bfs_test.predMap(); |
55 p = bfs_test.predMap(); |
56 pn = bfs_test.predNodeMap(); |
56 // pn = bfs_test.predNodeMap(); |
57 b = bfs_test.reached(n); |
57 b = bfs_test.reached(n); |
58 |
58 |
59 } |
59 } |
60 |
60 |
61 int main() |
61 int main() |