Opened 18 years ago
Last modified 10 years ago
#380 reopened Bugs
Support for bundled properties in graph adaptors
Reported by: | Douglas Gregor | Owned by: | Douglas Gregor |
---|---|---|---|
Milestone: | To Be Determined | Component: | graph |
Version: | Boost 1.50.0 | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
The graph adaptors (such as subgraph) do not support bundled properties, but they should.
Change History (8)
comment:2 by , 13 years ago
Milestone: | → Boost 1.41.0 |
---|---|
Resolution: | None |
Severity: | → Problem |
Status: | closed → reopened |
Version: | None → Boost Release Branch |
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.
Related, subgraph does not appear to model several of the MutableGraph or MutablePropertyGraph requirements such as add_vertex(vp,g) or remove_vertex(v,g).
comment:3 by , 13 years ago
Type: | Bugs → Feature Requests |
---|
comment:4 by , 13 years ago
Type: | Feature Requests → Bugs |
---|
comment:5 by , 12 years ago
Is this problem still present in the current trunk? If so, does someone have an example that fails?
comment:6 by , 12 years ago
Milestone: | Boost 1.41.0 → To Be Determined |
---|
comment:7 by , 11 years ago
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | reopened → closed |
This is likely to work now, so closing as wontfix. Please reopen if the problem still exists in the trunk version of Boost.
comment:8 by , 10 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Version: | Boost Release Branch → Boost 1.50.0 |
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));