Boost logo

Boost Users :

Subject: [Boost-users] Regarding property maps
From: Rohith Reddy (rohithrockzzz_at_[hidden])
Date: 2015-09-22 02:07:08


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.



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