|
Boost : |
Subject: Re: [boost] How to manage Graph Property ?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-04-18 23:00:16
On Sun, 18 Apr 2010, Tri Nguyen wrote:
>> You would then need to walk the vertex and edge properties of the two
>> graphs
>>
> Dear Jeremiah,
>
> Please explain more clearly for me the sentence: "walk the vertex ...
> properties of the two graphs."
> Did you mean that I have to walk through all the Property Tags including:
> vertex_index_t, vertex_name_t, vertex_distance_t, and
> vertex_color_t , to name but a few ?
Yes, exactly. You'll need to iterate through each property in the list.
Boost.Fusion and/or Boost.MPL might be useful for that, as well as
correlating the properties between the two input graphs.
-- Jeremiah Willcock
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk