
17 Oct
2009
17 Oct
'09
5:07 p.m.
Hello. In the Boost Graph Library, I need to map between two separate graphs where the IDs for the nodes are identical. I am unsure how to do this. It seems the property maps only allow mapping from vertex and edge descriptors to properties. How do we invert this? That is, how can we map from properties to vertex descriptors? If I have a vertex descriptor in one graph, I can map it to the vertex name-property, but then I want to map the vertex-name property to a vertex descriptor for the other graph. Please help. Best wishes, Luqman