summaryrefslogtreecommitdiff
path: root/python/test/simple_test_approx.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/simple_test_approx.py')
-rw-r--r--python/test/simple_test_approx.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/python/test/simple_test_approx.py b/python/test/simple_test_approx.py
new file mode 100644
index 0000000..fe2ab30
--- /dev/null
+++ b/python/test/simple_test_approx.py
@@ -0,0 +1,16 @@
+import multired as mr
+import sys
+
+
+if len(sys.argv) < 2:
+ print "Usage: %s <layer_list>" % sys.argv[0]
+ sys.exit(1)
+
+m = mr.multiplex_red(sys.argv[1], verbose=True, fit_degree=20)
+part = m.compute_partitions_approx()
+
+print "Partitions:..."
+m.dump_partitions_approx()
+
+m.draw_dendrogram_approx()
+