mod: node vs edge centrality based euklidian distance calculation

This commit is contained in:
2026-04-09 10:48:07 +02:00
parent a89c6d4833
commit a6bef6e9a1
3 changed files with 57 additions and 27 deletions
+1
View File
@@ -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