Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Trying to use subgraph
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2009-05-22 20:13:02


> The intention with regards to properties was never all that clear to me
> from the documentation, to be honest.
>
> I *thought* that each subgraph would have a local copy of all properties
> (as they were at subgraph creation time) and the modifying these would not
> change the properties of the corresponding global vertex/edge, and my code
> actually relies on this.
>
> Am I going to have to change my code design, either to accommodate the
> current design or a future fix?

Me neither. This is really my first time digging into subgraph. It makes
sense (to me) that each vertex/edge should have only one property, but I can
see reasons for localizing properties as well. If both are needed, I can
create specializations of property_map that select local/global lookup
strategies. Would that be acceptable?

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