mod: node vs edge centrality based euklidian distance calculation
This commit is contained in:
@@ -43,6 +43,7 @@ def leverage(g, weight):
|
||||
li = 0.0
|
||||
neighbours = g.get_all_neighbours(v)
|
||||
ki = len(neighbours)
|
||||
# mibitof has an isolated node, why? should that not be possible with the triangulation?
|
||||
if ki == 0:
|
||||
continue
|
||||
# sum
|
||||
|
||||
Reference in New Issue
Block a user