Boost logo

Boost Users :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-11-23 17:08:18


On Nov 23, 2004, at 3:51 PM, Jeffrey Holle wrote:
> You are not properly introducing your custom properties to boost.graph.
[snip]
> Your code example sugguests you expect things like operator[] methods
> where they aren't. I too like to code in this fashion.

Actually, we've improved this in the BGL, so that the operator[]
methods do work for adjacency lists and adjacency matrices when using
bundled properties. Check out the new stuff in 1.32.0 :)

As for the other poster's question... I'll try to answer that later,
but I think the problem is that bundled properties aren't support for
the graph properties (e.g., the graph name), whereas they are supported
for edges and vertices. This will probably change in a future revision.

> Note that this class holds a boost subgraph by reference and accesses
> properties only through the root subgraph. I found this necessary in
> boost 1.31_0 because the properties of "derived" subgraphs had only
> default contructed property classes. If this has been fixed in boost
> 1.32_0, I'd like to know about it.

This is a subgraph issue? We'll try to tackle this for 1.33.0; is the
bug in the Sourceforge bug tracker?

        Doug


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