Skip to content

Commit

Permalink
Add complete-linkage clustering code and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyelewis committed Nov 28, 2017
1 parent bdcce37 commit dd745b1
Show file tree
Hide file tree
Showing 92 changed files with 7,636 additions and 28 deletions.
66 changes: 66 additions & 0 deletions build-test-data/clustagglom/1.10.287.1770.expected_clusters
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
3a1sA02 1 1 1 1 1
3a1sB02 1 1 1 2 1
3a1uA02 1 1 1 3 1
3a1tA02 1 1 1 3 2
3a1uB02 1 1 1 3 3
3a1vB02 1 1 1 3 4
3a1vA02 1 1 1 4 1
3i8sB02 2 1 1 1 1
3i8sC02 2 1 1 1 2
3i8sA02 2 1 1 1 3
4q00A02 2 1 1 1 4
4q00C02 2 1 1 1 5
4q00B02 2 1 1 1 6
3i8xA02 2 1 1 1 7
3i8xB02 2 1 1 1 8
3i8xC02 2 1 1 1 9
4r98A02 2 1 1 1 10
4r98B02 2 1 1 1 11
3hytA02 2 1 1 1 12
3hytC02 2 1 1 1 13
3hytB02 2 1 1 1 14
4q5iC02 2 1 1 1 15
4q5iD02 2 1 1 1 16
4q5iF02 2 1 1 1 17
4q5iE02 2 1 1 1 18
3i92C02 2 1 1 1 19
3i92A02 2 1 1 1 20
3i92B02 2 1 1 1 21
4q5iA02 2 1 1 1 22
4q5iB02 2 1 1 1 23
5fh9B02 2 1 1 1 24
5fh9A02 2 1 1 1 25
3hyrA02 2 1 1 2 1
3hyrB02 2 1 1 3 1
3hyrC02 2 1 1 4 1
2wicA02 2 1 2 1 1
4awxA02 2 1 2 1 2
2wiaA02 2 1 2 1 3
2wiaB02 2 1 2 1 4
2wibB02 2 1 2 1 5
2wibA02 2 1 2 1 6
3tahA02 3 1 1 1 1
3tahB02 3 1 1 1 2
3b1vA02 3 1 1 1 3
3lx5A02 3 1 1 1 4
3b1wB02 3 1 1 1 5
3b1yA02 3 1 1 1 6
3b1wC02 3 1 1 1 7
4nonA02 3 1 1 1 8
4nonB02 3 1 1 1 9
3b1wD02 3 1 1 1 10
3ss8A02 3 1 1 1 11
3ss8B02 3 1 1 1 12
3b1wA02 3 1 1 1 13
3b1xA02 3 1 1 1 14
3b1xB02 3 1 1 1 15
3b1zA02 3 1 1 1 16
3lx8A02 3 1 1 1 17
3ibyD02 4 1 1 1 1
3ibyA02 4 1 1 1 2
3ibyC02 4 1 1 1 3
3ibyB02 4 1 1 1 4
3k53A02 5 1 1 1 1
3k53B02 5 1 1 1 2
3k53D02 5 1 1 1 3
3k53C02 5 1 1 1 4
62 changes: 62 additions & 0 deletions build-test-data/clustagglom/1.10.287.1770.expected_mergelist
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
4 50 66 -100.000000
0 66 67 -100.000000
28 29 68 -100.000000
27 68 69 -100.000000
53 69 70 -100.000000
55 70 71 -100.000000
54 71 72 -100.000000
30 72 73 -100.000000
31 73 74 -100.000000
32 74 75 -100.000000
62 75 76 -100.000000
63 76 77 -100.000000
24 77 78 -100.000000
26 78 79 -100.000000
25 79 80 -100.000000
58 80 81 -100.000000
59 81 82 -100.000000
61 82 83 -100.000000
60 83 84 -100.000000
48 49 85 -100.000000
12 85 86 -100.000000
44 86 87 -100.000000
14 87 88 -100.000000
19 88 89 -100.000000
15 89 90 -100.000000
51 90 91 -100.000000
52 91 92 -100.000000
16 92 93 -100.000000
46 93 94 -100.000000
36 39 95 -100.000000
47 94 96 -100.000000
38 95 97 -100.000000
13 96 98 -100.000000
37 97 99 -100.000000
17 98 100 -100.000000
18 100 101 -100.000000
20 101 102 -100.000000
45 102 103 -100.000000
1 67 104 -100.000000
3 104 105 -100.000000
2 105 106 -100.000000
7 8 108 -100.000000
9 108 109 -100.000000
11 109 110 -100.000000
35 84 115 -100.000000
33 115 116 -100.000000
34 116 117 -100.000000
40 41 118 -100.000000
43 118 119 -100.000000
42 119 120 -100.000000
56 117 121 -100.000000
57 121 122 -100.000000
65 122 123 -100.000000
64 123 124 -100.000000
5 6 107 -98.876404
107 110 111 -98.837212
10 111 112 -98.823524
21 22 113 -96.875000
23 113 114 -96.875000
114 124 126 -96.551727
106 126 127 -75.268822
112 120 128 -30.337078

0 comments on commit dd745b1

Please sign in to comment.