equal
deleted
inserted
replaced
43 |
43 |
44 FilteredGraph::EdgeMap<bool> path(filtered, false); |
44 FilteredGraph::EdgeMap<bool> path(filtered, false); |
45 |
45 |
46 for (GridGraph::Node node = stop; |
46 for (GridGraph::Node node = stop; |
47 node != start; node = bfs.predNode(node)) { |
47 node != start; node = bfs.predNode(node)) { |
48 path[bfs.pred(node)] = true; |
48 path[bfs.predEdge(node)] = true; |
49 } |
49 } |
50 |
50 |
51 graphToEps(filtered, "grid_graph.eps").scaleToA4(). |
51 graphToEps(filtered, "grid_graph.eps").scaleToA4(). |
52 title("Grid graph"). |
52 title("Grid graph"). |
53 copyright("(C) 2005 LEMON Project"). |
53 copyright("(C) 2005 LEMON Project"). |