|
Boost Users : |
Subject: Re: [Boost-users] BGL -- adjacency_matrix, graph concepts
From: Raymond Wan (r.wan_at_[hidden])
Date: 2009-10-07 22:21:49
Hi Andrew,
Andrew Sutton wrote:
>> Hmmmm, I hope this is not too much to ask, but can you or someone else
>> check if the sample code I posted before compiles (with the offending line
>> uncommented)? I should compile as-is... Just to check if I'm going nuts...
>> :-) Here it is again below [with the line commented out, so this should
>> compile].
> After looking, that constructor may not exist in Boost 1.39. It exists in
> trunk, but it seems to be causing problems (can't find add_edge).
>
> Your best bet is to construct the matrix over n vertices and then manually
> populate the graph with edges.
Ah, thank you for looking into it for me! I'll do what you suggest
then; thanks!
By the way, is this something that should be added into the Boost bug
database (or feature request)?
Ray
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