-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdf_with_unique.test
272 lines (217 loc) · 5.44 KB
/
cdf_with_unique.test
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
./main 0 10000 100000000
cdf size = 73584136
artificial
cdf_size: 73584136
spline_size: 10000
Errors for spline - (average, max): (25.3891, 245.062)
natural
cdf_size: 73584136
spline_size: 10020
Errors for spline - (average, max): (23.592, 60)
random
cdf_size: 73584136
spline_size: 10000
Errors for spline - (average, max): (32.2776, 175631)
blocked
cdf_size: 73584136
spline_size: 10000
Errors for spline - (average, max): (51.1236, 201188)
anti
cdf_size: 73584136
spline_size: 10000
Errors for spline - (average, max): (88.5746, 603048)
withCdf
cdf_size: 73584136
spline_size: 8740
Errors for spline - (average, max): (29.2024, 1390.41)
withMerge
cdf_size: 73584136
spline_size: 8460
Errors for spline - (average, max): (33.5231, 3228.49)
-----------------------------------------------------
./main 0 5000 1000000
cdf size = 1916973
artificial
cdf_size: 1916973
spline_size: 5000
Errors for spline - (average, max): (0.335411, 28.6838)
natural
cdf_size: 1916973
spline_size: 3078
Errors for spline - (average, max): (1.32391, 3)
random
cdf_size: 1916973
spline_size: 4897
Errors for spline - (average, max): (51.0481, 20732.1)
blocked
cdf_size: 1916973
spline_size: 5169
Errors for spline - (average, max): (6.23047, 8624.39)
anti
cdf_size: 1916973
spline_size: 5169
Errors for spline - (average, max): (6.34641, 9027.74)
withCdf
cdf_size: 1916973
spline_size: 3076
Errors for spline - (average, max): (6.17853, 985.007)
withMerge
cdf_size: 1916973
spline_size: 3657
Errors for spline - (average, max): (6.80197, 718.748)
--------------------------------------------------------
./main 0 5000 1000000000
cdf size = 24799804
artificial
cdf_size: 24799804
spline_size: 5000
Errors for spline - (average, max): (29.2338, 225.591)
natural
cdf_size: 24799804
spline_size: 4999
Errors for spline - (average, max): (25.9334, 66)
random
cdf_size: 24799804
spline_size: 4900
Errors for spline - (average, max): (42.9999, 152044)
blocked
cdf_size: 24799804
spline_size: 5184
Errors for spline - (average, max): (30.8518, 58872.6)
anti
cdf_size: 24799804
spline_size: 5184
Errors for spline - (average, max): (33.0011, 143041)
withCdf
cdf_size: 24799804
spline_size: 4060
Errors for spline - (average, max): (32.4896, 614.077)
withMerge
cdf_size: 24799804
spline_size: 3808
Errors for spline - (average, max): (34.5107, 387.095)
--------------------------------------------------------
./main 0 5000 2000000000
cdf size = 24901197
artificial
cdf_size: 24901197
spline_size: 5000
Errors for spline - (average, max): (29.5121, 341.043)
natural
cdf_size: 24901197
spline_size: 4923
Errors for spline - (average, max): (26.3989, 67)
random
cdf_size: 24901197
spline_size: 4900
Errors for spline - (average, max): (42.6394, 148242)
blocked
cdf_size: 24901197
spline_size: 5184
Errors for spline - (average, max): (32.6614, 58531.5)
anti
cdf_size: 24901197
spline_size: 5184
Errors for spline - (average, max): (33.6087, 93516.3)
withCdf
cdf_size: 24901197
spline_size: 3843
Errors for spline - (average, max): (33.1848, 523.585)
withMerge
cdf_size: 24901197
spline_size: 4352
Errors for spline - (average, max): (31.8409, 708.145)
------------------------------------------------------
./main 0 5000 200000
cdf size = 397270
artificial
cdf_size: 397270
spline_size: 5000
Errors for spline - (average, max): (0.0309982, 8.96386)
natural
cdf_size: 397270
spline_size: 2392
Errors for spline - (average, max): (0, 0)
random
cdf_size: 397270
spline_size: 4849
Errors for spline - (average, max): (3.25734, 1381.64)
blocked
cdf_size: 397270
spline_size: 5137
Errors for spline - (average, max): (1.76069, 1075.92)
anti
cdf_size: 397270
spline_size: 5137
Errors for spline - (average, max): (1.76403, 1078.74)
withCdf
cdf_size: 397270
spline_size: 3570
Errors for spline - (average, max): (0.337108, 124.5)
withMerge
cdf_size: 397270
spline_size: 4258
Errors for spline - (average, max): (0.502802, 152.131)
------------------------------------------------------
./main 0 10000 200000
cdf size = 399347
artificial
cdf_size: 399347
spline_size: 10000
Errors for spline - (average, max): (0.00421954, 6.53061)
natural
cdf_size: 399347
spline_size: 554
Errors for spline - (average, max): (0, 0)
random
cdf_size: 399347
spline_size: 9825
Errors for spline - (average, max): (0.768743, 302.978)
blocked
cdf_size: 399347
spline_size: 9770
Errors for spline - (average, max): (0.533014, 307)
anti
cdf_size: 399347
spline_size: 9770
Errors for spline - (average, max): (0.533014, 307)
withCdf
cdf_size: 399347
spline_size: 7971
Errors for spline - (average, max): (0.426227, 141.313)
withMerge
cdf_size: 399347
spline_size: 9645
Errors for spline - (average, max): (0.169045, 97.9947)
----------------------------------------------------------
./main 0 10000 20000000
cdf size = 32081012
artificial
cdf_size: 32081012
spline_size: 10000
Errors for spline - (average, max): (5.78066, 89.3561)
natural
cdf_size: 32081012
spline_size: 9551
Errors for spline - (average, max): (7.46056, 19)
random
cdf_size: 32081012
spline_size: 10000
Errors for spline - (average, max): (18.4854, 140628)
blocked
cdf_size: 32081012
spline_size: 9996
Errors for spline - (average, max): (55.2549, 181299)
anti
cdf_size: 32081012
spline_size: 9996
Errors for spline - (average, max): (77.2404, 286585)
withCdf
cdf_size: 32081012
spline_size: 9119
Errors for spline - (average, max): (9.68178, 1311.21)
withMerge
cdf_size: 32081012
spline_size: 8461
Errors for spline - (average, max): (11.6173, 1786.87)
-----------------------------------------------------