From 32dd37feea12532c6fa0cd736622cb6728c4c702 Mon Sep 17 00:00:00 2001 From: Yves Biener Date: Wed, 4 Mar 2026 15:35:15 +0100 Subject: [PATCH] WIP: test relationship with boundary --- comparison.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/comparison.py b/comparison.py index e44d269..b9f843a 100644 --- a/comparison.py +++ b/comparison.py @@ -154,18 +154,15 @@ fig_graph.savefig("Pointcloud_graph.svg", format='svg') fig = plt.figure(figsize=(15, 10)) axs = fig.subplots(2, 4) -i = 0 for ax in axs: # TODO select corresponding centrality measure method apply(g, seed, weight, convex_hull, ax, closeness, "Closeness") apply(g, seed, weight, convex_hull, ax, pagerank, "PageRank") apply(g, seed, weight, convex_hull, ax, betweeness, "Betweeness") apply(g, seed, weight, convex_hull, ax, eigenvector, "Eigenvector") - apply(g, seed, weight, convex_hull, ax, katz, "Katz") - # TODO to implement - # - Laplacian - # - Leverage - # - Degree (seriously?) - i += 1 + apply(g, seed, weight, convex_hull, ax, katz, "Katz") + apply(g, seed, weight, convex_hull, ax, hits, "Hits") + apply(g, seed, weight, convex_hull, ax, leverage, "Leverage") + apply(g, seed, weight, convex_hull, ax, degree, "Degree") fig.savefig(f"Comparison_Pointcloud.svg", format='svg')