Topological Overlap

alex23 wuwei23 at gmail.com
Mon Aug 18 01:17:01 EDT 2014


On 17/08/2014 4:10 AM, lavanya addepalli wrote:
> Actually it is a huge project and topological overlap is one part in that
>
> inputfile:
>
> 0_node_1  0_node_2 w0
> 1_node_1  1_node_2 w1
> 2_node_1  2_node_2 w2
> 3_node_1  3_node_2 w3
> 4_node_1  4_node_2 w4
> 5_node_1  5_node_2 w5
>
> 2 nodes in pair and w is the weight. I have to find the topological
> overlap in the network including the weights

Have you looked at the library NetworkX? I'd start by loading your data 
into a weighted graph and working from there:

https://networkx.github.io/documentation/latest/examples/drawing/weighted_graph.html



More information about the Python-list mailing list