-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutput.txt
More file actions
81 lines (77 loc) · 2.42 KB
/
Copy pathoutput.txt
File metadata and controls
81 lines (77 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Reading input now and initializing cluster nodes...
The Distance Set is Empty
done reading and initializing points and cluster nodes
The current min_distance_set looks like this:
Distance: 25.5952, Indices: 1, 3
Distance: 46.569, Indices: 0, 3
Distance: 50.021, Indices: 0, 2
Distance: 52.2591, Indices: 0, 1
Distance: 53.0363, Indices: 1, 2
Distance: 68.7621, Indices: 2, 3
printing all cluster nodes
Node #0 contains 1 points
(10.1,23.1,4.9,56.84)
Node #1 contains 1 points
(1.2,23.4,4.2,5.35)
Node #2 contains 1 points
(2.5,67.4,5.6,34.9)
Node #3 contains 1 points
(11.32,2.1,4.12,15.3)
Agglomerate called, merging clusters until only 2 active cluster nodes remain
Merge clusters called, the current min_distance_set looks like this:
Distance: 25.5952, Indices: 1, 3
Distance: 46.569, Indices: 0, 3
Distance: 50.021, Indices: 0, 2
Distance: 52.2591, Indices: 0, 1
Distance: 53.0363, Indices: 1, 2
Distance: 68.7621, Indices: 2, 3
The cluster nodes at index 1 and 3 were successfully merged and added to the tree
The new min_distance_heap looks like this:
Distance: 32.9427, Indices: 4, 0
Distance: 40.5995, Indices: 4, 2
Distance: 50.021, Indices: 0, 2
printing all cluster nodes
Node #0 contains 1 points
(10.1,23.1,4.9,56.84)
Node #1 contains 1 points
(1.2,23.4,4.2,5.35)
Node #2 contains 1 points
(2.5,67.4,5.6,34.9)
Node #3 contains 1 points
(11.32,2.1,4.12,15.3)
Node #4 contains 2 points
(1.2,23.4,4.2,5.35)
(11.32,2.1,4.12,15.3)
number of points, active clusters, cluster nodes: 4, 3, 5
Merge clusters called, the current min_distance_set looks like this:
Distance: 32.9427, Indices: 4, 0
Distance: 40.5995, Indices: 4, 2
Distance: 50.021, Indices: 0, 2
The cluster nodes at index 4 and 0 were successfully merged and added to the tree
The new min_distance_heap looks like this:
Distance: 42.9549, Indices: 5, 2
printing all cluster nodes
Node #0 contains 1 points
(10.1,23.1,4.9,56.84)
Node #1 contains 1 points
(1.2,23.4,4.2,5.35)
Node #2 contains 1 points
(2.5,67.4,5.6,34.9)
Node #3 contains 1 points
(11.32,2.1,4.12,15.3)
Node #4 contains 2 points
(1.2,23.4,4.2,5.35)
(11.32,2.1,4.12,15.3)
Node #5 contains 3 points
(1.2,23.4,4.2,5.35)
(11.32,2.1,4.12,15.3)
(10.1,23.1,4.9,56.84)
number of points, active clusters, cluster nodes: 4, 2, 6
2 active clusters reached, SUCCESS!
printing only active cluster nodes
Active Node #0 contains 1 points
(2.5,67.4,5.6,34.9)
Active Node #1 contains 3 points
(1.2,23.4,4.2,5.35)
(11.32,2.1,4.12,15.3)
(10.1,23.1,4.9,56.84)