Boost logo

Boost Users :

Subject: Re: [Boost-users] How to use graph properties
From: Paolo Bolzoni (paolo.bolzoni.brown_at_[hidden])
Date: 2014-02-11 04:29:05

I read about bundled properties minutes after sending the
email... They do seem simpler and equally effective.

On Tue, Feb 11, 2014 at 8:23 AM, Adam Romanek <romanek.adam_at_[hidden]> wrote:
> On 02/10/2014 06:02 PM, Paolo Bolzoni wrote:
>> Dear list,
>> I need to keep track of two special vertices in my graph, So
>> I thought to attach two vertex_descriptor as graph
>> properties so have easy access any moment. Properties work
>> fine for edges or vertices, but I cannot make them work for
>> the graph.
>> In the bottom is the C++ code. The graph has the two properties,
>> now how I cat get and put them? This code does not work and
>> the error messages are impossible to read for me.
>> Otherwise that is the way to keep graph-wise properties?
>> The code compiles removing the two puts, so I assume the
>> error is there.
>> Yours sincerely,
>> Paolo
> Paolo,
> have you tried using bundled properties? They simplify things pretty much
> when it comes to attaching properties to vertices, edges or the graph
> itself. See [1] for a tutorial on using them.
> Best regards,
> Adam Romanek
> [1]
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at