On 03/25/2014 04:29 PM, Thomas Capelle wrote: > Hello everyone, > I am a NetworkX user thinking on moving to graph-tools. > I developed some basic Vehicle routing algorithms in Networkx some time ago, > but iterating throw the edges was so slow that medium size problems where > really unattainable. (more than 50 nodes) > I want to know if graph-tools is faster iterating throw nodes. > This kind of label-setting algorithms need to go node by node and edge by > edge constructing routes, and the "for" in python is really 'lagging'. > Should I try the same in graph-tools?
If your code relies solely on loops implemented in Python, there will essentially be no difference between graph-tool and networkx. You will only obtain improvements if the relevant loops are implemented in C++. Best, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
