Hi Hugues, Subgraph.mcp is a CodeWarrior project file? I'm sorry but I don't have CodeWarrior. Can you send a tar ball or even better, a text file. Cheers, Jeremy On Jan 30, 2004, at 12:59 PM, Hugues Joly wrote:
Hi, I'd like to clarify a point about the graph properties accessed through a subgraph. According to the documentation of get(PropertyTag, subgraph& g): vertex and edge properties are shared by all subgraphs, so changes to a property through a local vertex descriptor for one subgraph will change the property for the global vertex descriptor, and therefore for all other subgraphs (c.f. boost-1.30.2/libs/graph/doc/subgraph.html).
Here, I'm sending you a small program inspired by the boost-1.30.2/libs/graph/example/subgraph.cpp example.
From its behavior, it seems that:
1) A property value is not shared between the global descriptor and its corresponding local descriptors.
2) we need to initialize property values for each of the subgraphs. For example, if I set a name "A" for the global vertex descriptor A, that property is not seen through the corresponding local vertex descriptors.
Is this a case of misuse or is it a bug?
__________________________________________________________ Lèche-vitrine ou lèche-écran ? magasinage.yahoo.ca
______________________________________ _________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________
Jeremy Siek