[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] collapse edges

From: Ragia Ibrahim
Subject: [igraph] collapse edges
Date: Mon, 5 May 2014 06:18:37 +0200

Dear group,
kindly how can i collapse edges on the wight sum over node degree, for each redundant relation between  two nodes.

example if i have relation between
node1 and node 2                           weight 1 
node 1 and node 2 (again)             weight 1
node 2 and node1                           weight 1 
 node 2 and node 3

how can i get

node1 node 2 weight 2/3                   #number of redundant   edges/first node degree

node 2 and node1  weight 1/4


reply via email to

[Prev in Thread] Current Thread [Next in Thread]