Hi all, I have been working on a graph using boost graph library with edge properties as bundled properties.I have the following struct as my edge property,
typedef struct Edge{
int id;
int source;
int target;
float cost;
float reverse_cost;
} Edge;
Provided that I am inserting the data correctly,how do I get a property map for each of the elements of the struct,that is a property map for id,a property map for the source and so on.And moreover I also want to know how to extract the type of property map,as it is required to pass its type to other function as a template parameter.
Thanks in advance.