Hello,
I've time the shortest_distance on one hundred nodes in both graph, with the graph_tool.openmp_set_num_threads(1). The results are comparable to my previous measures, with 11ms in avg. for the small graph and 320ms in avg. for the full graph.
Best,
f
Le mar. 10 mars 2015 à 21:17, Tiago Peixoto [via Main discussion list for the graph-tool project] <
[hidden email]> a écrit :
On 10.03.2015 16:55, François wrote:
> Does the libgraph_tool_topology.get_*dists *could suffer from the same
> problems of memory re-allocations ? If not, what could be the reasons
> of the execution time increase (approx. 23x) observed for
> libgraph_tool_topology.get_*dists *?
No, the vectors are allocated before the function is called. I would
rather wait for you to try without openmp to be sure it is not
interfering.
Best,
Tiago
--
If you reply to this email, your message will be added to the discussion below:
To start a new topic under Main discussion list for the graph-tool project, email
[hidden email]
To unsubscribe from Shortest_distance complexity when used with max_dist,
click here.
NAML