aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Halle <niklas@niklashalle.net>2021-07-20 13:59:41 +0200
committerNiklas Halle <niklas@niklashalle.net>2021-07-20 13:59:41 +0200
commit83373cb73979c9f44503f23b6ff45f76d5fa372a (patch)
treeb6f6cd443f73d3b8025f2b0a79e393ce9c7d653e
parenteb92f7081cebefcc7eb678d6fe0d03eb228febe1 (diff)
downloadbachelor_thesis-83373cb73979c9f44503f23b6ff45f76d5fa372a.tar.gz
bachelor_thesis-83373cb73979c9f44503f23b6ff45f76d5fa372a.zip
reorder paramerters
-rwxr-xr-xcode/python/lfr_generate_graphs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/python/lfr_generate_graphs.py b/code/python/lfr_generate_graphs.py
index 07eec7f..b468ea9 100755
--- a/code/python/lfr_generate_graphs.py
+++ b/code/python/lfr_generate_graphs.py
@@ -40,8 +40,8 @@ if not os.path.exists(meta_file):
os.mknod(meta_file)
-def main(graph_count, node_count, avg_node_degree, max_node_degree, degree_distribution_exponent, min_community_size,
- max_community_size, community_distribution_exponent, mixing_coefficient):
+def main(graph_count, node_count, mixing_coefficient, avg_node_degree, max_node_degree, degree_distribution_exponent,
+ min_community_size, max_community_size, community_distribution_exponent):
name = f"{node_count}n_{avg_node_degree}and_{max_node_degree}mnd_{degree_distribution_exponent}dde_" \
f"{min_community_size}mics_{max_community_size}macs_{community_distribution_exponent}cde_{mixing_coefficient}mu"