Opened 10 years ago

Closed 10 years ago

#7002 closed Bugs (fixed)

problem with initialization of CSR bidirectional graph

Reported by: braszek Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc: braszek@…

Description

I'm trying to construct bidirectional CSR graph. The only way I'm able to do that is the following -> http://boost.codepad.org/4shcGgCy I construct adjacency_list graph, add edges and then I'm providing adjacency_graph directly to CSR constructor (it uses assign method). When I'm listing in-degrees and out-degrees for adjacency_list I got correct results, but when I'm doing exactly the same for CSR graph, I got correct out-degrees and random numbers as the in-degrees.

Environment: boost 1.49.0 (also tried with 1.50.0) g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

Change History (1)

comment:1 by Jeremiah Willcock, 10 years ago

Resolution: fixed
Status: newclosed

(In [79179]) Fixed construction and assignment of bidirectional CSR graphs from other graphs; removed add_edges* functions (which were broken and not documented) from bidirectional CSR; fixes #7002

Note: See TracTickets for help on using tickets.