Boost logo

Boost Users :

Subject: Re: [Boost-users] How to retrieve the bundled property map of a compressed_sparse_row_graph
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-03-30 13:52:32


On Tue, 30 Mar 2010, 吴焱 wrote:

> I need to get the bundled property map with a key_type of the
> vertex_descriptor and a value_type of the bundled vertex property type
> from a  compressed_sparse_row_graph by get(vertex_bundle, g), but it
> failed. It works when the graph is an adjacency_list.

That was a bug in the CSR graph implementation; it didn't expose the
vertex_bundle and edge_bundle property maps (only individual elements
using the [] syntax on the graph). The version in SVN trunk should have
this fixed now.

-- Jeremiah Willcock


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