7 Jul
2005
7 Jul
'05
3:37 a.m.
On Jul 4, 2005, at 4:56 PM, sr kumar wrote:
Hi, My application needs to have multiple graphs overlayed on the same set of data.
Looks like used bundled properties would be very attractive.
Since the data-set is likely to be large and the graphs will have to coexist, I'd like to build graphs of pointers to the base data.
However, I am having trouble figuring out how to store pointers to the data structures within an adjacency_list.
You might have better luck if you place the pointers into a class, e.g., struct VertexData { Base* ptr; }; Then pass VertexData as the 4th template argument to adjacency_list<>. Doug