How to access bundled properties individually?
First, Thank Doug for answering my previous question on parallel edges.
Now, my question is:
How to access bundled property individually?
I defined my graph like this:
struct Node{ int label; int mode[3]; //...;};struct Edge{ double nCommBord;}; typedef boost::adjacency_list< boost::setS, boost::vecS, boost::undirectedS, Node, Edge> Graph;
but when I want to access property nCommBord of Edge, there seems to be wrong with my property_map type definition. Anyone can point out for me, what is the right version(I cannot seem to find any comment on this kind of usage)?
//get edgeWeight propertyproperty_map
participants (1)
-
Shufei Fan