And I'm getting compiler errors that vertex_index is not a member of my class RegionProperties. I suppose this means that filtered_graph hides the vertex_index attribute of the underlying graph, even though I'm not filtering the vertexes at all? Can I use the returns of source and target as *if* they were indexes?
It's not a member of your class. It's a member of the vertex stored by the
graph, which is only accessible via the get() accessor. You could write, for
example:
typedef property_map
edge? That's another thing I wasn't sure about from the docs. Seemed reasonable, but I wish it were stated.
Yes. It's written somewhere in the documentation, but it isn't obvious, and I forget where exactly. Andrew Sutton andrew.n.sutton@gmail.com