Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] List of edges as property type
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2009-06-16 07:37:56


On Mon, Jun 15, 2009 at 11:37 PM, <caligulaemperorofrome_at_[hidden]> wrote:

> I'm trying to add a "list of edges" as an edge property type like so.
>
>
> typedef adjacency_list < listS, vecS, directedS > Traits;
>
> typedef adjacency_list < listS, vecS, directedS, vertex_properties,
> property < edge_list_t, std::list<Traits::edge_descriptor>,
> edge_properties > > > graph_t;
>
>
It would probably be easier to use bundled properties.
http://www.boost.org/doc/libs/1_38_0/libs/graph/doc/bundles.html

As for the version, you could look at boost/version.hpp.

Andrew Sutton
andrew.n.sutton_at_[hidden]



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