Hello Tiago I appreciate you prompt response. By construction the graph cannot have parallel edges. As the graph itself is too big, I have assembled a small sample (grf_sx.txt) which I processed with make_graf.py then paths_from_to() from util.py. The result is in pathsample.txt (I have also included lists of vertices and edges with their betweenness and their in- & out- degrees: I note that the number of edges is 37435 while the input had 39917 entries. I haven't figured out why) Thanks for your help 🙂 JP ________________________________ From: graph-tool <graph-tool-bounces@skewed.de> on behalf of Tiago de Paula Peixoto <tiago@skewed.de> Sent: 18 April 2019 18:29 To: Main discussion list for the graph-tool project Subject: Re: [graph-tool] all_paths seems to repeat identical paths Hi JeanPierre, It's impossible to say much without a reproducible example, including the graph you used. My first guess is that your graph contains parallel edges... Best, Tiago Am 18.04.19 um 04:37 schrieb JeanPierre Paillet:
Hello:
I am new to graph_tool (4 weeks) Today I attempted to use all_paths to evaluate the strength of connection between classes in a large program. The output contained (see attached sample) many repetitions of the same path. What am I missing?
Thanks JP (jrpaillet)
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
-- Tiago de Paula Peixoto <t.peixoto@bath.ac.uk> -- Tiago de Paula Peixoto <tiago@skewed.de>