Boost logo

Boost Users :

Subject: [Boost-users] BGL and property maps
From: Luqman Hodgkinson (luqman_at_[hidden])
Date: 2009-10-17 13:07:22


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net