9 Jan
2010
9 Jan
'10
9:14 p.m.
I don't think you need an adaptor. You can have the edge weight as a member in the property bundle and then use boost::get(&EdgeProps::weight, g) to get a property map for it. Is there something else you might need to adapt?
Yes this is what I call 'adapt'. If the edge type was only weight, e.g.:
typedef boost::adjacency_list