6 Aug
2014
6 Aug
'14
10:33 p.m.
On 06.08.2014 21:02, ... wrote:
If you're just looping through once, it makes sense to use the convenience graph_tool provides. But if you are implementing a graph algorithm, just grab what you need from the graph_tool graph into a list or whatever python object makes sense for what you're doing.
Could you try those examples again with the newest version in git? I've made some changes which should make the loops slightly faster. However nothing is going to beat iterating through a list of edges, since using the Graph.edges() iterator will include all the time necessary for the creation of the edge descriptors. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>