Boost logo

Boost Users :

Subject: Re: [Boost-users] newbie - graph library - vertex properties
From: List User (listuser_at_[hidden])
Date: 2009-12-15 00:48:13


thanks Geoff Hilton, I heard about bundled properties just now only. Will read it
suresh

________________________________
From: Geoff Hilton <geoff.hilton_at_[hidden]>
To: boost-users_at_[hidden]
Sent: Mon, December 14, 2009 5:23:43 PM
Subject: Re: [Boost-users] newbie - graph library - vertex properties

Hello,
Have you tried using bundled properties?
http://www.boost.org/libs/graph/doc/bundles.html

Geoff

List User wrote:
> Hi
>
> 1. In the creation of adjacency list, vertex properties and edge
> properties could be vecS, listS etc.But how will one access this
> vertex_properties vector, for example?
> 2. In the kevin-bacon2.cpp example file available with boost
> distribution, a struct is used to store vertex properties. But
> that example does not seem to have used boost_install_property or
> property_map etc. I thought one would need to use them for having
> new properties for the vertex.
> 3. In the kevin-bacon2.cpp approach for adding new properties to the
> graph, the vertex_properties are read as
> adjacency_list[vertex_descriptior]. How will have a read only
> access in such a case? When I use this in a function which is
> defined as const in c++, the compiler cribs :)
>
> Thanks
> suresh

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users

      



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