Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76453

Re: Topological Overlap

From alex23 <wuwei23@gmail.com>
Newsgroups comp.lang.python
Subject Re: Topological Overlap
Date 2014-08-18 15:17 +1000
Organization A noiseless patient Spider
Message-ID <lss28g$ua1$1@dont-email.me> (permalink)
References <CAJsaReS3a=JZKNF725CcmiA2_wzKOxgA4NCjv+U3ZjakZ9mcvQ@mail.gmail.com> <CAGyPVTtTj93xgOUfc3CHrwMO-0VAm_4gYJQt44uOWmqGuzt9gw@mail.gmail.com> <mailman.13052.1408212629.18130.python-list@python.org>

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Topological Overlap lavanya addepalli <phani.lav@gmail.com> - 2014-08-16 20:10 +0200
  Re: Topological Overlap alex23 <wuwei23@gmail.com> - 2014-08-18 15:17 +1000

csiph-web