
22 Jan
2012
22 Jan
'12
8:43 p.m.
On Sun, 22 Jan 2012, David Doria wrote:
If I manually create a grid graph in BGL (using adjacency_list, not grid_graph), is there a way to iterate over vertices in a specified rectangular region? Say I make a 100x100 grid graph, how would I iterate over the the center 5x5 vertices?
You would need to do that by hand; note that there is a function to convert from coordinates to graph vertices. -- Jeremiah Willcock