Boost C++ Libraries: Ticket #380: Support for bundled properties in graph adaptors https://svn.boost.org/trac10/ticket/380 <pre class="wiki">The graph adaptors (such as subgraph) do not support bundled properties, but they should. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/380 Trac 1.4.3 Douglas Gregor Mon, 02 May 2005 15:47:06 GMT status changed https://svn.boost.org/trac10/ticket/380#comment:1 https://svn.boost.org/trac10/ticket/380#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=249098 Fixed in 1.33.0 </pre> Ticket Andrew Sutton Fri, 22 May 2009 14:03:25 GMT status, version changed; severity, milestone set; resolution deleted https://svn.boost.org/trac10/ticket/380#comment:2 https://svn.boost.org/trac10/ticket/380#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>version</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">Boost Release Branch</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">None</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> <li><strong>milestone</strong> → <span class="trac-field-new">Boost 1.41.0</span> </li> </ul> <p> Bundled property support for subgraphs is broken since bundled property lookups are not translated to the root graph. This might be resolved by creating a property_map partial specialization for bundled property maps of subgraphs and simply delegating the reference to the root graph. </p> <p> Related, subgraph does not appear to model several of the <a class="missing wiki">MutableGraph</a> or <a class="missing wiki">MutablePropertyGraph</a> requirements such as add_vertex(vp,g) or remove_vertex(v,g). </p> Ticket Jeremiah Willcock Wed, 25 Nov 2009 21:59:07 GMT type changed https://svn.boost.org/trac10/ticket/380#comment:3 https://svn.boost.org/trac10/ticket/380#comment:3 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> </ul> Ticket Jeremiah Willcock Wed, 25 Nov 2009 21:59:34 GMT type changed https://svn.boost.org/trac10/ticket/380#comment:4 https://svn.boost.org/trac10/ticket/380#comment:4 <ul> <li><strong>type</strong> <span class="trac-field-old">Feature Requests</span> → <span class="trac-field-new">Bugs</span> </li> </ul> Ticket Jeremiah Willcock Sun, 05 Dec 2010 20:31:00 GMT <link>https://svn.boost.org/trac10/ticket/380#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/380#comment:5</guid> <description> <p> Is this problem still present in the current trunk? If so, does someone have an example that fails? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Wed, 08 Dec 2010 19:43:47 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/380#comment:6 https://svn.boost.org/trac10/ticket/380#comment:6 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.41.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket Jeremiah Willcock Wed, 28 Mar 2012 20:47:03 GMT status, description changed; resolution set https://svn.boost.org/trac10/ticket/380#comment:7 https://svn.boost.org/trac10/ticket/380#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/380?action=diff&amp;version=7">diff</a>) </li> </ul> <p> This is likely to work now, so closing as wontfix. Please reopen if the problem still exists in the trunk version of Boost. </p> Ticket s.seifried@… Fri, 07 Sep 2012 08:18:57 GMT status, version changed; resolution deleted https://svn.boost.org/trac10/ticket/380#comment:8 https://svn.boost.org/trac10/ticket/380#comment:8 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost Release Branch</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">wontfix</span> </li> </ul> <p> I most probably have the same problem as the original author, but with bundled properties and labeled_graph. </p> <p> I tried to convert my original implementation from a normal </p> <pre class="wiki">adjacency_list&lt;setS, vecS, bidirectionalS, MyVertexInfo, MyEdgeInfo, no_property&gt; </pre><p> to </p> <pre class="wiki">labeled_graph&lt; _same_adjacency_defintion_, uuid&gt; </pre><p> only to find out that write_graphml does not work any more. </p> <p> I verified that the correct information is still present in the in-memory graph, but only the default values are written to graphml file. </p> <pre class="wiki">dynamic_properties test; test.property ("Debug", get (&amp;MyVertexInfo::Info, m_Graph.graph())); write_graphml (ofile, m_Graph.graph(), test); </pre><p> somehow only default values are written to the file. I tried again to write "normal properties", which work ok. </p> <pre class="wiki">test.property("ID", get (vertex_index, m_Graph)); </pre> Ticket