summaryrefslogtreecommitdiff
path: root/python/test/simple_test_approx.py
blob: fe2ab30b06c3b2a68cac4c831398c3f022f4b3c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()