Opened 13 years ago

Last modified 5 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 Jeremiah Willcock)

The graph adaptors (such as subgraph) do not support bundled 
properties, but they should.

Attachments (0)

Change History (8)

comment:1 Changed 13 years ago by Douglas Gregor

Status: assignedclosed
Logged In: YES 

Fixed in 1.33.0

comment:2 Changed 9 years ago by Andrew Sutton

Milestone: Boost 1.41.0
Resolution: None
Severity: Problem
Status: closedreopened
Version: NoneBoost 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 Changed 8 years ago by Jeremiah Willcock

Type: BugsFeature Requests

comment:4 Changed 8 years ago by Jeremiah Willcock

Type: Feature RequestsBugs

comment:5 Changed 7 years ago by Jeremiah Willcock

Is this problem still present in the current trunk? If so, does someone have an example that fails?

comment:6 Changed 7 years ago by Jeremiah Willcock

Milestone: Boost 1.41.0To Be Determined

comment:7 Changed 6 years ago by Jeremiah Willcock

Description: modified (diff)
Resolution: wontfix
Status: reopenedclosed

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 Changed 5 years ago by s.seifried@…

Resolution: wontfix
Status: closedreopened
Version: Boost Release BranchBoost 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>


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; ("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."ID", get (vertex_index, m_Graph));

Modify Ticket

Change Properties
Set your email in Preferences
as reopened The owner will remain Douglas Gregor.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.