Subject: Re: [Boost-bugs] [Boost C++ Libraries] #380: Support for bundled properties in graph adaptors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-07 08:18:58
#380: Support for bundled properties in graph adaptors
-------------------------------+--------------------------------------------
Reporter: dgregor | Owner: dgregor
Type: Bugs | Status: reopened
Milestone: To Be Determined | Component: graph
Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Changes (by s.seifried@â¦):
* status: closed => reopened
* version: Boost Release Branch => Boost 1.50.0
* resolution: wontfix =>
Comment:
I most probably have the same problem as the original author, but with
bundled properties and labeled_graph.
I tried to convert my original implementation from a normal
{{{
adjacency_list<setS, vecS, bidirectionalS, MyVertexInfo, MyEdgeInfo,
no_property>
}}}
to
{{{
labeled_graph< _same_adjacency_defintion_, uuid>
}}}
only to find out that write_graphml does not work any more.
I verified that the correct information is still present in the in-memory
graph, but only the default values are written to graphml file.
{{{
dynamic_properties test;
test.property ("Debug", get (&MyVertexInfo::Info, m_Graph.graph()));
write_graphml (ofile, m_Graph.graph(), test);
}}}
somehow only default values are written to the file. I tried again to
write "normal properties", which work ok.
{{{
test.property("ID", get (vertex_index, m_Graph));
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/380#comment:8> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC