benchmarks.org 70.5 KB
Newer Older
1
#+TITLE: Benchmarks for Weighted Tree Automata
2
#+PROPERTY: header-args  :exports both :eval never-export
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
3
#+LATEX_HEADER: \usepackage[paperheight=30cm,paperwidth=40cm,margin=0.5cm]{geometry}
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

* What fits in 16GB RAM

Finding the number of states that copar can solve in 16GB RAM for a few
different types of WTAs.

** Powerset
*** GHC 8.6.4 with symbols 0,8 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid powerset --symbols 0,8 --zero-frequency 0.7 --good 1400 --bad 1600 --start-states 1500
#+END_SRC

#+RESULTS:
: Trying 1500...
: Trying 1450...
: Trying 1475...
: Trying 1487...
: Trying 1481...
: Trying 1478...
: Trying 1479...
: First bad state count: 1479

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_powerset_0,8_0.7_1478*
#+END_SRC

#+RESULTS:
: 82M bench/wta_powerset_0,8_0.7_1478_0.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_1.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_2.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_3.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_4.coalgebra

*** GHC 8.4.4 with symbols 0,8 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid powerset --symbols 0,8 --zero-frequency 0.7 --start-states 1000
#+END_SRC

#+RESULTS:
: Trying 1000...
: Trying 2000...
: Trying 1500...
: Trying 1250...
: Trying 1375...
: Trying 1437...
: Trying 1468...
: Trying 1484...
: Trying 1476...
: Trying 1480...
: Trying 1478...
: Trying 1479...
: First bad state count: 1479

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_powerset_0,8_0.7_1478*
#+END_SRC

#+RESULTS:
: 82M bench/wta_powerset_0,8_0.7_1478_0.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_1.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_2.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_3.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_4.coalgebra

**** Automaton size

#+begin_src sh :hlines yes
77
python bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,8 --zero-frequency 0.7 --states 1478
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
python bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,8 --zero-frequency 0.7 --states 1478 --indiv --header
#+end_src

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 5243856 | 10484756 |                     10 |                   18 |                             2 |             0 |    115.339077581 |   34.439478263 |       79.458232767 |        27.712258503 |    37.668249537 |
| 1 | 5245405 | 10487854 |                     10 |                   18 |                             2 |             0 |    114.001430765 |   34.477874858 |        78.07613373 |        27.764347556 |    37.074617863 |
| 2 | 5243549 | 10484142 |                     10 |                   18 |                             2 |             0 |    114.862812706 |   34.668409012 |       78.756016051 |        27.741448159 |     37.09480403 |
| 3 | 5241660 | 10480364 |                     10 |                   18 |                             2 |             0 |    114.228588077 |   34.362576104 |       78.424601434 |        27.648526393 |    37.043127108 |
| 4 | 5243032 | 10483108 |                     10 |                   18 |                             2 |             0 |    114.692551901 |   34.827430372 |       78.414037199 |        27.723198479 |    38.276163878 |

*** GHC 8.4.4 with symbols 1,0,4 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid powerset --symbols 1,0,4 --zero-frequency 0.7
#+END_SRC

#+RESULTS:
: Trying 50...
: Trying 100...
: Trying 200...
: Trying 150...
: Trying 175...
: Trying 162...
: Trying 156...
: Trying 153...
: Trying 151...
: Trying 152...
: First bad state count: 152

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_powerset_1,0,4_0.7_152*
#+END_SRC

#+RESULTS:
: 83M bench/wta_powerset_1,0,4_0.7_152_0.coalgebra
: 83M bench/wta_powerset_1,0,4_0.7_152_1.coalgebra
: 83M bench/wta_powerset_1,0,4_0.7_152_2.coalgebra
: 83M bench/wta_powerset_1,0,4_0.7_152_3.coalgebra
: 83M bench/wta_powerset_1,0,4_0.7_152_4.coalgebra

**** Automaton Size

#+begin_src sh :hlines yes
124
python bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 1,0,4 --zero-frequency 0.7 --states 151
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
python bench.py run ../../copar/bin/copar --monoid powerset --symbols 1,0,4 --zero-frequency 0.7 --states 151 --indiv --header
#+end_src

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 4131380 | 12393591 |                      7 |                   69 |                             4 |             0 |     92.530296805 |   32.925871573 |       58.292789973 |        13.413784138 |     32.25285307 |
| 1 | 4131667 | 12394466 |                      7 |                   69 |                             4 |             0 |    104.072447103 |     32.6810851 |       70.054731043 |        22.601698388 |    34.657530397 |
| 2 | 4130798 | 12391837 |                      7 |                   69 |                             4 |             0 |     104.65358267 |   32.641475967 |       70.686110886 |        22.881971907 |    34.580390995 |
| 3 | 4131273 | 12393268 |                      7 |                   69 |                             4 |             0 |    104.436764929 |   33.010643372 |       70.097279338 |        22.722527765 |    34.948100296 |
| 4 | 4131755 | 12394730 |                      7 |                   69 |                             4 |             0 |    103.940596569 |   32.874641172 |       69.748179673 |        22.561661198 |    34.530464508 |

*** GHC 8.4.4 with symbols 4,3,2 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid powerset --symbols 4,3,2 --zero-frequency 0.7
#+END_SRC

#+RESULTS:
: Trying 50...
: Trying 100...
: Trying 200...
: Trying 150...
: Trying 175...
: Trying 187...
: Trying 193...
: Trying 190...
: Trying 191...
: First bad state count: 191

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_powerset_4,3,2_0.7_190*
#+END_SRC

#+RESULTS:
: 83M bench/wta_powerset_4,3,2_0.7_190_0.coalgebra
: 83M bench/wta_powerset_4,3,2_0.7_190_1.coalgebra
: 83M bench/wta_powerset_4,3,2_0.7_190_2.coalgebra
: 83M bench/wta_powerset_4,3,2_0.7_190_3.coalgebra
: 83M bench/wta_powerset_4,3,2_0.7_190_4.coalgebra

**** Automaton Size

#+begin_src sh :hlines yes
170
python bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 4,3,2 --zero-frequency 0.7 --states 190
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
python bench.py run ../../copar/bin/copar --monoid powerset --symbols 4,3,2 --zero-frequency 0.7 --states 190 --indiv --header
#+end_src

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 4150153 | 12416791 |                     11 |                72964 |                           190 |       7474719 |    141.894074912 |    32.94816078 |      104.894412823 |         19.27142335 |    73.292672481 |
| 1 | 4149881 | 12415853 |                     11 |                72964 |                           190 |       7374059 |    143.936708293 |   32.959668876 |      106.847647981 |        19.335579933 |    74.389142529 |
| 2 | 4147912 | 12410153 |                     11 |                72964 |                           190 |       7530637 |    143.039477927 |   32.922891848 |      106.049882108 |        19.238034371 |    73.786648681 |
| 3 | 4149832 | 12415896 |                     11 |                72964 |                           190 |       7400820 |    141.899762867 |   32.763790399 |       105.08945468 |        19.081253852 |    73.103108932 |
| 4 | 4147931 | 12410198 |                     11 |                72964 |                           190 |       7356721 |    142.277553489 |   33.004372363 |      105.135364747 |        19.217062907 |     72.82642293 |

*** GHC 8.4.4 with symbols 0,0,0,0,0,3 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid powerset --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --start-states 2
#+END_SRC

#+RESULTS:
: Trying 2...
: Trying 4...
: Trying 8...
: Trying 16...
: Trying 12...
: Trying 10...
: Trying 11...
: First bad state count: 12

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_powerset_0,0,0,0,0,3_0.7_11*
#+END_SRC

#+RESULTS:
: 47M bench/wta_powerset_0,0,0,0,0,3_0.7_11_0.coalgebra
: 47M bench/wta_powerset_0,0,0,0,0,3_0.7_11_1.coalgebra
: 47M bench/wta_powerset_0,0,0,0,0,3_0.7_11_2.coalgebra
: 47M bench/wta_powerset_0,0,0,0,0,3_0.7_11_3.coalgebra
: 47M bench/wta_powerset_0,0,0,0,0,3_0.7_11_4.coalgebra

**** Automaton Size

#+begin_src sh :hlines yes
214
python bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --states 11
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
python bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --states 11 --indiv --header
#+end_src

#+RESULTS:
| i |  states |   edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 1593503 | 9560952 |                      5 |                   98 |                             2 |             0 |     44.433319213 |   19.470309466 |       24.352231629 |         11.34834025 |    10.606600771 |
| 1 | 1594688 | 9568062 |                      5 |                   98 |                             2 |             0 |      44.35660646 |   19.503070403 |       24.284648797 |        11.546398372 |    10.351405421 |
| 2 | 1595746 | 9574410 |                      5 |                   98 |                             2 |             0 |     44.979436845 |   19.622696684 |       24.756055326 |        11.448256352 |    10.958179969 |
| 3 | 1594811 | 9568800 |                      5 |                   98 |                             2 |             0 |     44.518512407 |   19.486959131 |       24.465812029 |        11.501689163 |     10.63837111 |
| 4 | 1595187 | 9571056 |                      5 |                   98 |                             2 |             0 |     44.449440224 |   19.537019031 |       24.300846734 |        11.389487771 |      10.5363747 |

** Z,max
*** GHC 8.4.4 with symbols 0,8 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid 'Z,max' --symbols 0,8 --zero-frequency 0.7
#+END_SRC

#+RESULTS:
: Trying 50...
: Trying 100...
: Trying 200...
: Trying 400...
: Trying 800...
: Trying 1600...
: Trying 1200...
: Trying 1400...
: Trying 1500...
: Trying 1450...
: Trying 1475...
: Trying 1462...
: Trying 1456...
: Trying 1453...
: Trying 1451...
: First bad state count: 1451

251
**** File Size
252
253
254
255
256
257
258
259
260
261
262
263

#+BEGIN_SRC sh :results output
ls -sh bench/wta_Z,max_0,8_0.7_1450*
#+END_SRC

#+RESULTS:
: 182M bench/wta_Z,max_0,8_0.7_1450_0.coalgebra
: 182M bench/wta_Z,max_0,8_0.7_1450_1.coalgebra
: 182M bench/wta_Z,max_0,8_0.7_1450_2.coalgebra
: 182M bench/wta_Z,max_0,8_0.7_1450_3.coalgebra
: 182M bench/wta_Z,max_0,8_0.7_1450_4.coalgebra

264
**** Automaton Size
265
266

#+BEGIN_SRC sh
267
python bench.py generate ../../copar/bin/random-wta --monoid 'Z,max' --symbols 0,8 --zero-frequency 0.7 --states 1450
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
python bench.py run ../../copar/bin/copar --monoid 'Z,max' --symbols 0,8 --zero-frequency 0.7 --states 1450 --indiv --header
#+END_SRC

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 5047826 | 10092752 |                   1458 |                13050 |                          1450 |       9457197 |    127.724360284 |   43.258927035 |       81.171137974 |        26.874901612 |    40.422676395 |
| 1 | 5047514 | 10092128 |                   1458 |                13050 |                          1450 |       9456756 |    125.832804664 |   42.853972016 |       79.686342664 |        26.577174808 |    39.966384527 |
| 2 | 5049772 | 10096644 |                   1458 |                13050 |                          1450 |       9460968 |    126.336593045 |    42.68312591 |       80.349875424 |        26.745235991 |    40.031230363 |
| 3 | 5046916 | 10090932 |                   1458 |                13050 |                          1450 |       9455805 |     125.95962352 |   42.526542018 |       80.176310943 |        26.550162046 |    40.227319833 |
| 4 | 5049229 | 10095558 |                   1458 |                13050 |                          1450 |       9460347 |    126.718920083 |   42.559013501 |       80.863052096 |        26.756405734 |    40.145229524 |

*** GHC 8.4.4 with symbols 1,0,4 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid 'Z,max' --symbols 1,0,4 --zero-frequency 0.7
#+END_SRC

#+RESULTS:
: Trying 50...
: Trying 100...
: Trying 200...
: Trying 150...
: Trying 175...
: Trying 162...
: Trying 156...
: Trying 153...
: Trying 151...
: First bad state count: 151

#+BEGIN_SRC sh :results output
ls -sh bench/wta_Z,max_1,0,4_0.7_150*
#+END_SRC

**** File Size

#+RESULTS:
: 162M bench/wta_Z,max_1,0,4_0.7_150_0.coalgebra
: 162M bench/wta_Z,max_1,0,4_0.7_150_1.coalgebra
: 162M bench/wta_Z,max_1,0,4_0.7_150_2.coalgebra
: 162M bench/wta_Z,max_1,0,4_0.7_150_3.coalgebra
: 162M bench/wta_Z,max_1,0,4_0.7_150_4.coalgebra

**** Automaton Size

#+BEGIN_SRC sh
313
python bench.py generate ../../copar/bin/random-wta --monoid 'Z,max' --symbols 1,0,4 --zero-frequency 0.7 --states 150
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
python bench.py run ../../copar/bin/copar --monoid 'Z,max' --symbols 1,0,4 --zero-frequency 0.7 --states 150 --indiv --header
#+END_SRC

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 4051480 | 12153896 |                    155 |                90151 |                           150 |       7087519 |    120.395749162 |   40.871788157 |        74.90886142 |        22.238988672 |     39.72932804 |
| 1 | 4050707 | 12151583 |                    155 |                90151 |                           150 |       7087488 |    120.463605814 |    40.81720097 |       75.096220332 |         22.78192433 |    39.512466086 |
| 2 | 4048842 | 12145992 |                    155 |                90151 |                           150 |       7083654 |    120.367574362 |   40.847872293 |       74.879748499 |        22.174812232 |    39.882652278 |
| 3 | 4052208 | 12156090 |                    155 |                90151 |                           150 |       7090069 |    120.237306821 |   40.747046417 |       74.945644255 |        22.185753095 |    39.520022235 |
| 4 | 4048823 | 12145929 |                    155 |                90151 |                           150 |       7084229 |    121.046334089 |   41.206127141 |       75.236966807 |        22.108849249 |    39.746848148 |

*** GHC 8.4.4 with symbols 4,3,2 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid 'Z,max' --symbols 4,3,2 --zero-frequency 0.7 --start-states 100
#+END_SRC

#+RESULTS:
: Trying 100...
: Trying 200...
: Trying 150...
: Trying 175...
: Trying 187...
: Trying 193...
: Trying 190...
: Trying 188...
: Trying 189...
: First bad state count: 189

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_Z,max_4,3,2_0.7_188*
#+END_SRC

#+RESULTS:
: 162M bench/wta_Z,max_4,3,2_0.7_188_0.coalgebra
: 162M bench/wta_Z,max_4,3,2_0.7_188_1.coalgebra
: 162M bench/wta_Z,max_4,3,2_0.7_188_2.coalgebra
: 162M bench/wta_Z,max_4,3,2_0.7_188_3.coalgebra
: 162M bench/wta_Z,max_4,3,2_0.7_188_4.coalgebra

**** Automaton Size

#+BEGIN_SRC sh
359
python bench.py generate ../../copar/bin/random-wta --monoid 'Z,max' --symbols 4,3,2 --zero-frequency 0.7 --states 188
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
python bench.py run ../../copar/bin/copar --monoid 'Z,max' --symbols 4,3,2 --zero-frequency 0.7 --states 188 --indiv --header
#+END_SRC

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 4020872 | 12029832 |                    197 |                71444 |                           188 |       6045852 |    115.942447016 |    40.75075879 |       71.271681594 |        18.625916768 |     39.91853539 |
| 1 | 4017121 | 12018620 |                    197 |                71444 |                           188 |       6040501 |    113.960683621 |   40.210261362 |       69.908854506 |        18.715510494 |    39.429755908 |
| 2 | 4017092 | 12018743 |                    197 |                71444 |                           188 |       6040038 |    114.417975118 |   40.056454421 |       70.449543532 |        18.443439893 |    39.714702929 |
| 3 | 4013171 | 12006729 |                    197 |                71444 |                           188 |       6034912 |    104.421419394 |   40.426583126 |       60.116296609 |        10.279226244 |    37.258447268 |
| 4 | 4018149 | 12021895 |                    197 |                71444 |                           188 |       6042204 |    104.595285757 |   40.484957759 |        60.29935373 |        10.313693438 |    37.315322541 |

*** GHC 8.4.4 with symbols 0,0,0,0,0,3 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid 'Z,max' --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --start-states 6
#+END_SRC

#+RESULTS:
: Trying 6...
: Trying 12...
: Trying 9...
: Trying 10...
: Trying 11...
: First bad state count: 12

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_Z,max_0,0,0,0,0,3_0.7_11*
#+END_SRC

#+RESULTS:
: 79M bench/wta_Z,max_0,0,0,0,0,3_0.7_11_0.coalgebra
: 79M bench/wta_Z,max_0,0,0,0,0,3_0.7_11_1.coalgebra
: 79M bench/wta_Z,max_0,0,0,0,0,3_0.7_11_2.coalgebra
: 79M bench/wta_Z,max_0,0,0,0,0,3_0.7_11_3.coalgebra
: 79M bench/wta_Z,max_0,0,0,0,0,3_0.7_11_4.coalgebra

**** Automaton Size

#+BEGIN_SRC sh
401
python bench.py generate ../../copar/bin/random-wta --monoid 'Z,max' --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --states 11
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
python bench.py run ../../copar/bin/copar --monoid 'Z,max' --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --states 11 --indiv --header
#+END_SRC

#+RESULTS:
| i |  states |   edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 1595450 | 9572634 |                     14 |               473731 |                            11 |       2679440 |     59.567674089 |   22.815217966 |       34.656233896 |        10.712862563 |    21.527223791 |
| 1 | 1596274 | 9577578 |                     14 |               473599 |                            11 |       2680789 |     59.667949978 |   22.964709813 |       34.595654672 |        10.671440318 |    21.504327033 |
| 2 | 1593533 | 9561132 |                     14 |               473725 |                            11 |       2676188 |      59.60896951 |   22.965296594 |       34.468009878 |        10.694780509 |    21.357284246 |
| 3 | 1593597 | 9561516 |                     14 |               473516 |                            11 |       2675256 |     59.618517937 |   22.900218752 |       34.517770264 |        10.699678956 |    21.404437124 |
| 4 | 1595682 | 9574026 |                     14 |               473759 |                            11 |       2679419 |     59.829033166 |    22.84743033 |       34.719394797 |        10.690592405 |    21.632768706 |

** Word,or
*** GHC 8.4.4 with symbols 0,8 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid 'Word,or' --symbols 0,8 --zero-frequency 0.7 --start-states 1000
#+END_SRC

#+RESULTS:
: Trying 1000...
: Trying 2000...
: Trying 1500...
: Trying 1250...
: Trying 1375...
: Trying 1437...
: Trying 1406...
: Trying 1421...
: Trying 1413...
: Trying 1409...
: Trying 1407...
: Trying 1408...
: First bad state count: 1409

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_Word,or_0,8_0.7_1408*
#+END_SRC

#+RESULTS:
: 164M bench/wta_Word,or_0,8_0.7_1408_0.coalgebra
: 164M bench/wta_Word,or_0,8_0.7_1408_1.coalgebra
: 165M bench/wta_Word,or_0,8_0.7_1408_2.coalgebra
: 165M bench/wta_Word,or_0,8_0.7_1408_3.coalgebra
: 165M bench/wta_Word,or_0,8_0.7_1408_4.coalgebra

**** Automaton Size

#+BEGIN_SRC sh
451
python bench.py generate ../../copar/bin/random-wta --monoid 'Word,or' --symbols 0,8 --zero-frequency 0.7 --states 1408
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
python bench.py run ../../copar/bin/copar --monoid 'Word,or' --symbols 0,8 --zero-frequency 0.7 --states 1408 --indiv --header
#+END_SRC

#+RESULTS:
| i |  states |   edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 4757493 | 9512170 |                   1416 |                12672 |                          1408 |       8913294 |    122.529064018 |   49.673619826 |       69.872621378 |        24.487186873 |    37.636595831 |
| 1 | 4757305 | 9511794 |                   1416 |                12672 |                          1408 |       8912679 |    121.871882143 |   49.468009438 |       69.396700752 |        24.548033181 |    37.526833514 |
| 2 | 4760364 | 9517912 |                   1416 |                12672 |                          1408 |       8918643 |    122.195401637 |   49.367139075 |       69.859922188 |        24.551202679 |    37.745627532 |
| 3 | 4760232 | 9517648 |                   1416 |                12672 |                          1408 |       8918564 |    121.744240716 |   49.628682967 |       69.111452032 |        24.573090085 |    37.819264634 |
| 4 | 4759753 | 9516690 |                   1416 |                12672 |                          1408 |       8917624 |    118.671354206 |   49.213411686 |       66.440058464 |        25.139216435 |    33.058420248 |

*** GHC 8.4.4 with symbols 1,0,4 and zero-freq 0.7

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid 'Word,or' --symbols 1,0,4 --zero-frequency 0.7 --start-states 120
#+END_SRC

#+RESULTS:
: Trying 120...
: Trying 240...
: Trying 180...
: Trying 150...
: Trying 135...
: Trying 142...
: Trying 146...
: Trying 148...
: Trying 149...
: First bad state count: 149

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_Word,or_1,0,4_0.7_148*
#+END_SRC

#+RESULTS:
: 151M bench/wta_Word,or_1,0,4_0.7_148_0.coalgebra
: 151M bench/wta_Word,or_1,0,4_0.7_148_1.coalgebra
: 151M bench/wta_Word,or_1,0,4_0.7_148_2.coalgebra
: 151M bench/wta_Word,or_1,0,4_0.7_148_3.coalgebra
: 151M bench/wta_Word,or_1,0,4_0.7_148_4.coalgebra

**** Automaton Size

#+BEGIN_SRC sh
497
python bench.py generate ../../copar/bin/random-wta --monoid 'Word,or' --symbols 1,0,4 --zero-frequency 0.7 --states 148
498
499
500
501
502
503
504
505
506
507
508
python bench.py run ../../copar/bin/copar --monoid 'Word,or' --symbols 1,0,4 --zero-frequency 0.7 --states 148 --indiv --header
#+END_SRC

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 3889583 | 11668189 |                    153 |                87765 |                           148 |       6805177 |    117.573809962 |   44.159477335 |       69.176479615 |         20.97881901 |     36.97313268 |
| 1 | 3891836 | 11675004 |                    153 |                87765 |                           148 |       6809318 |    118.060187599 |   44.059742822 |       69.709799716 |        20.986764025 |    37.089169403 |
| 2 | 3889498 | 11667962 |                    153 |                87765 |                           148 |       6805428 |    117.680086041 |   43.801892931 |       69.639925802 |        20.888711457 |    36.894495934 |
| 3 | 3890675 | 11671481 |                    153 |                87765 |                           148 |       6807190 |    118.213230214 |   44.026034118 |       69.934017821 |        20.807216331 |    36.920223682 |
| 4 | 3889335 | 11667465 |                    153 |                87765 |                           148 |       6804884 |    118.020940476 |   44.097067581 |       69.813347698 |        20.923033139 |    36.907214948 |

509
*** GHC 8.4.4 with symbols 4,3,2 and zero-freq 0.7
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid 'Word,or' --symbols 4,3,2 --zero-frequency 0.7
#+END_SRC

#+RESULTS:
: Trying 50...
: Trying 100...
: Trying 200...
: Trying 150...
: Trying 175...
: Trying 187...
: Trying 181...
: Trying 184...
: Trying 185...
: Trying 186...
: First bad state count: 187

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_Word,or_4,3,2_0.7_186*
#+END_SRC

#+RESULTS:
: 152M bench/wta_Word,or_4,3,2_0.7_186_0.coalgebra
: 152M bench/wta_Word,or_4,3,2_0.7_186_1.coalgebra
: 152M bench/wta_Word,or_4,3,2_0.7_186_2.coalgebra
: 152M bench/wta_Word,or_4,3,2_0.7_186_3.coalgebra
: 152M bench/wta_Word,or_4,3,2_0.7_186_4.coalgebra

**** Automaton Size

#+BEGIN_SRC sh
544
python bench.py generate ../../copar/bin/random-wta --monoid 'Word,or' --symbols 4,3,2 --zero-frequency 0.7 --states 186
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
python bench.py run ../../copar/bin/copar --monoid 'Word,or' --symbols 4,3,2 --zero-frequency 0.7 --states 186 --indiv --header
#+END_SRC

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 3890269 | 11638838 |                    195 |                69940 |                           186 |       5848699 |    114.733470175 |   43.499787726 |         67.5948969 |        17.660572753 |    37.835620352 |
| 1 | 3893818 | 11649123 |                    195 |                69940 |                           186 |       5854005 |    114.756947419 |   43.702682275 |       67.505722972 |        17.675712966 |    37.818639736 |
| 2 | 3893265 | 11647592 |                    195 |                69940 |                           186 |       5854134 |    115.418354168 |   43.606980048 |       68.133828807 |        17.837028275 |    37.992011256 |
| 3 | 3892206 | 11644421 |                    195 |                69940 |                           186 |       5852423 |    113.998060941 |   43.769845642 |       66.618120946 |        17.720427448 |    37.714434677 |
| 4 | 3892036 | 11643814 |                    195 |                69940 |                           186 |       5851296 |    115.965290499 |   44.138476758 |       68.234040288 |        17.763408679 |    38.356640369 |

*** GHC 8.4.4 with symbols 0,0,0,0,0,3 and zero-freq 0.7 
#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid 'Word,or' --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --start-states 6                                                                            
#+END_SRC

#+RESULTS:
: Trying 6...                          
: Trying 12...
: Trying 9...
: Trying 10...
: Trying 11...
: First bad state count: 12

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_Word,or_0,0,0,0,0,3_0.7_11*
#+END_SRC

#+RESULTS:
: 77M bench/wta_Word,or_0,0,0,0,0,3_0.7_11_0.coalgebra
: 77M bench/wta_Word,or_0,0,0,0,0,3_0.7_11_1.coalgebra
: 77M bench/wta_Word,or_0,0,0,0,0,3_0.7_11_2.coalgebra
: 77M bench/wta_Word,or_0,0,0,0,0,3_0.7_11_3.coalgebra
: 77M bench/wta_Word,or_0,0,0,0,0,3_0.7_11_4.coalgebra

**** Automaton Size

#+BEGIN_SRC sh
585
python bench.py generate ../../copar/bin/random-wta --monoid 'Word,or' --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --states 11
586
587
588
589
590
591
592
593
594
595
python bench.py run ../../copar/bin/copar --monoid 'Word,or' --symbols 0,0,0,0,0,3 --zero-frequency 0.7 --states 11 --indiv --header
#+END_SRC

#+RESULTS:
| i |  states |   edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 1594413 | 9566412 |                     14 |               473587 |                            11 |       2676959 |      61.53939505 |    24.79942316 |       34.477272309 |        10.822832613 |    21.313535924 |
| 1 | 1596360 | 9578094 |                     14 |               473404 |                            11 |       2681034 |     61.147599248 |   24.824030133 |       34.101896988 |           10.793184 |    20.989457877 |
| 2 | 1595591 | 9573480 |                     14 |               473700 |                            11 |       2679546 |     61.459443653 |   24.801616514 |       34.389540062 |        10.893824596 |    21.133849133 |
| 3 | 1593825 | 9562884 |                     14 |               473580 |                            11 |       2676789 |     61.147557505 |    24.98879381 |       33.942496577 |        10.818043846 |    20.839884809 |
| 4 | 1596528 | 9579102 |                     14 |               473600 |                            11 |       2681048 |     61.864094058 |   24.884111862 |       34.762990208 |        10.893522867 |    21.485077775 |
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
* Same Question, but with limited transition count
** Powerset
*** GHC 8.4.4 with symbols 0,8 and transitions 500

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/{random-wta,copar} --monoid powerset --symbols 0,8 --transitions 5000
#+END_SRC

#+RESULTS:
: Trying 1000...
: Trying 2000...
: Trying 1500...
: Trying 1250...
: Trying 1375...
: Trying 1437...
: Trying 1468...
: Trying 1484...
: Trying 1476...
: Trying 1480...
: Trying 1478...
: Trying 1479...
: First bad state count: 1479

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_powerset_0,8_0.7_1478*
#+END_SRC

#+RESULTS:
: 82M bench/wta_powerset_0,8_0.7_1478_0.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_1.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_2.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_3.coalgebra
: 82M bench/wta_powerset_0,8_0.7_1478_4.coalgebra

**** Automaton size

#+begin_src sh :hlines yes
635
python bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,8 --zero-frequency 0.7 --states 1478
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
python bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,8 --zero-frequency 0.7 --states 1478 --indiv --header
#+end_src

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 5243856 | 10484756 |                     10 |                   18 |                             2 |             0 |    115.339077581 |   34.439478263 |       79.458232767 |        27.712258503 |    37.668249537 |
| 1 | 5245405 | 10487854 |                     10 |                   18 |                             2 |             0 |    114.001430765 |   34.477874858 |        78.07613373 |        27.764347556 |    37.074617863 |
| 2 | 5243549 | 10484142 |                     10 |                   18 |                             2 |             0 |    114.862812706 |   34.668409012 |       78.756016051 |        27.741448159 |     37.09480403 |
| 3 | 5241660 | 10480364 |                     10 |                   18 |                             2 |             0 |    114.228588077 |   34.362576104 |       78.424601434 |        27.648526393 |    37.043127108 |
| 4 | 5243032 | 10483108 |                     10 |                   18 |                             2 |             0 |    114.692551901 |   34.827430372 |       78.414037199 |        27.723198479 |    38.276163878 |

*** GHC 8.4.4 with symbols 0,8 and out-degree 1000

#+BEGIN_SRC sh
./bench.py bisect ../../copar/bin/random-wta ../../copar/bin/copar --monoid powerset --symbols 0,8 --out-degree 1000 --good 1000
#+END_SRC

#+RESULTS:
: Trying 1001...
: Trying 2002...
: Trying 4004...
: Trying 8008...
: Trying 6006...
: Trying 7007...
: Trying 7507...
: Trying 7257...
: Trying 7382...
: Trying 7444...
: Trying 7413...
: Trying 7428...
: Trying 7420...
: Trying 7416...
: Trying 7414...
: Trying 7415...
: First bad state count: 7416

**** File Size

#+BEGIN_SRC sh :results output
ls -sh bench/wta_powerset_0,8_t7415000__7415*
#+END_SRC

#+RESULTS:
: 120M bench/wta_powerset_0,8_t7415000__7415_0.coalgebra
: 120M bench/wta_powerset_0,8_t7415000__7415_1.coalgebra
: 120M bench/wta_powerset_0,8_t7415000__7415_2.coalgebra
: 120M bench/wta_powerset_0,8_t7415000__7415_3.coalgebra
: 120M bench/wta_powerset_0,8_t7415000__7415_4.coalgebra

**** Automaton Size

#+begin_src sh :hlines yes
688
python bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,8 --transitions 7415000 --states 7415
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
python bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,8 --transitions 7415000 --states 7415 --indiv --header
#+end_src

#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 7422415 | 14830000 |                     10 |                   18 |                             2 |             0 |    157.872966092 |   51.221314999 |      104.615248956 |          33.7012898 |    58.664739269 |
| 1 | 7422415 | 14830000 |                     10 |                   18 |                             2 |             0 |    157.428380106 |   51.433510926 |      103.926494829 |        33.216537153 |    58.775334589 |
| 2 | 7422415 | 14830000 |                     10 |                   18 |                             2 |             0 |    156.808413994 |   51.343226544 |       103.40051371 |        32.969125294 |    58.865798525 |
| 3 | 7422415 | 14830000 |                     10 |                   18 |                             2 |             0 |    157.791363724 |   51.873644617 |      103.855838314 |         33.05713406 |    58.931293578 |
| 4 | 7422415 | 14830000 |                     10 |                   18 |                             2 |             0 |    157.126256596 |   51.400301031 |      103.666329167 |        32.976280595 |    58.830566981 |

* Next Try

We now use the following parameters:

- Signature :: 4×X^k k ∈ { 0, ..., 5 }
- GHC :: 8.4.4

** Powerset
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
708
*** 4xX mit out-degree 500
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
709
710
711
712
713

#+BEGIN_SRC shell
./bench.py bisect ../../copar/bin/random-wta ../../copar/bin/copar --monoid powerset --symbols 0,4 --out-degree 500 --good 8000 --start-states 12000 --bad 16000
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
714
#+RESULTS:
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
: Trying 12000...
: Trying 14000...
: Trying 15000...
: Trying 14500...
: Trying 14250...
: Trying 14375...
: Trying 14312...
: Trying 14281...
: Trying 14296...
: Trying 14288...
: Trying 14284...
: Trying 14282...
: First bad state count: 14282

**** File Size

731
732
#+BEGIN_SRC sh :results output table
ls -sh bench/wta_powerset_0,4_*__14281_* | tr " ," ",."
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
733
734
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
735
#+NAME: power_1_500_file
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
736
#+RESULTS:
737
738
739
740
741
| 118M | bench/wta_powerset_0.4_t7140500__14281_0.coalgebra |
| 118M | bench/wta_powerset_0.4_t7140500__14281_1.coalgebra |
| 118M | bench/wta_powerset_0.4_t7140500__14281_2.coalgebra |
| 118M | bench/wta_powerset_0.4_t7140500__14281_3.coalgebra |
| 118M | bench/wta_powerset_0.4_t7140500__14281_4.coalgebra |
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
742
743
744
745
746
747
748
749

**** Automaton Size

#+BEGIN_SRC shell
./bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,4 --out-degree 500 --states 14281
./bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,4 --out-degree 500 --states 14281 --indiv --header
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
750
#+NAME: power_1_500
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
751
752
753
754
755
756
757
758
759
760
761
762
763
764
#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 7154781 | 14281000 |                      6 |                   10 |                             2 |             0 |    155.635043092 |   50.511676534 |      103.239235361 |        30.135940008 |    61.445316625 |
| 1 | 7154781 | 14281000 |                      6 |                   10 |                             2 |             0 |    155.345664537 |   50.391815858 |      103.046448356 |         29.52881681 |    61.823502784 |
| 2 | 7154781 | 14281000 |                      6 |                   10 |                             2 |             0 |    154.746389702 |   50.356318464 |      102.487287332 |        29.561887582 |    61.245616512 |
| 3 | 7154781 | 14281000 |                      6 |                   10 |                             2 |             0 |    156.681042711 |   50.477922803 |      104.306181251 |        30.132009036 |    62.231759233 |
| 4 | 7154781 | 14281000 |                      6 |                   10 |                             2 |             0 |    156.206931801 |   50.552217812 |      103.775304876 |        30.106012782 |    61.793692847 |

*** 4xX mit out-degree 20

#+BEGIN_SRC shell
./bench.py bisect ../../copar/bin/random-wta ../../copar/bin/copar --monoid powerset --symbols 0,4 --out-degree 20 --good 8000 --start-states 14281
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
765
#+RESULTS:
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
: Trying 14281...
: Trying 28562...
: Trying 57124...
: Trying 114248...
: Trying 228496...
: Trying 456992...
: Trying 342744...
: Trying 399868...
: Trying 371306...
: Trying 357025...
: Trying 349884...
: Trying 353454...
: Trying 355239...
: Trying 356132...
: Trying 355685...
: Trying 355462...
: Trying 355573...
: Trying 355629...
: Trying 355657...
: Trying 355671...
: Trying 355678...
: Trying 355681...
: Trying 355683...
: Trying 355684...
: First bad state count: 355685

**** File Size


**** Automaton Size

#+BEGIN_SRC shell
./bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,4 --out-degree 20 --states 355684
./bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,4 --out-degree 20 --states 355684 --indiv --header
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
802
#+NAME: power_1_20
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
803
804
805
806
807
808
809
810
811
812
813
814
815
816
#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 7469364 | 14227360 |                      6 |              1768728 |                        355684 |      10883373 |    344.399732107 |   61.942569869 |      262.572157652 |        32.047148894 |   209.333188906 |
| 1 | 7469364 | 14227360 |                      6 |              1768935 |                        355684 |      10883077 |    340.732038227 |   60.912573518 |      260.176273796 |        31.928906963 |   208.837646082 |
| 2 | 7469364 | 14227360 |                      6 |              1768908 |                        355684 |      10885631 |    340.838739608 |   61.120402905 |      260.008098908 |        31.951679391 |   208.775189688 |
| 3 | 7469364 | 14227360 |                      6 |              1768880 |                        355684 |      10880372 |    340.237713603 |   61.448840572 |      259.027481579 |        31.936433445 |   207.318948419 |
| 4 | 7469364 | 14227360 |                      6 |              1768875 |                        355684 |      10886155 |    342.792217839 |   61.487509806 |      261.434824046 |        32.045849362 |   209.995181997 |

*** 4xX mit out-degree 50

#+BEGIN_SRC shell
./bench.py bisect ../../copar/bin/random-wta ../../copar/bin/copar --monoid powerset --symbols 0,4 --out-degree 50 --good 130000 --bad 140000
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
817
#+RESULTS:
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
: Trying 135000...
: Trying 132500...
: Trying 131250...
: Trying 131875...
: Trying 132187...
: Trying 132031...
: Trying 132109...
: Trying 132148...
: Trying 132167...
: Trying 132177...
: Trying 132182...
: Trying 132179...
: Trying 132178...
: First bad state count: 132179

833
834
**** File Size

835
836
#+BEGIN_SRC sh :results output table
ls -sh bench/wta_powerset_0,4_*_132178_* | tr " ," ",."
837
838
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
839
#+NAME: power_1_file
840
#+RESULTS:
841
842
843
844
845
| 117M | bench/wta_powerset_0.4_t6608900__132178_0.coalgebra |
| 117M | bench/wta_powerset_0.4_t6608900__132178_1.coalgebra |
| 117M | bench/wta_powerset_0.4_t6608900__132178_2.coalgebra |
| 117M | bench/wta_powerset_0.4_t6608900__132178_3.coalgebra |
| 117M | bench/wta_powerset_0.4_t6608900__132178_4.coalgebra |
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
846
847
848
849

**** Automaton Size

#+BEGIN_SRC shell
850
851
./bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,4 --out-degree 50 --states 132177
./bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,4 --out-degree 50 --states 132177 --indiv --header
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
852
853
#+END_SRC

854
#+NAME: power_1
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
855
856
#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
857
858
859
860
861
862
| 0 | 6741027 | 13217700 |                      6 |               660882 |                        132177 |       9323005 |    265.849947508 |   53.024255888 |      200.012469965 |        32.711091055 |   156.049078211 |
| 1 | 6741027 | 13217700 |                      6 |               660884 |                        132177 |       9336757 |    266.027492928 |   53.656205959 |      199.630533624 |        33.784156055 |    154.30670604 |
| 2 | 6741027 | 13217700 |                      6 |               660885 |                        132177 |       9295860 |    266.131064164 |   53.031692734 |      200.333990554 |        33.839128343 |   154.752397766 |
| 3 | 6741027 | 13217700 |                      6 |               660882 |                        132177 |       9287608 |     266.57863175 |   53.338030998 |      200.492577153 |        33.341400299 |   155.694877544 |
| 4 | 6741027 | 13217700 |                      6 |               660884 |                        132177 |       9347998 |     265.39360727 |   52.816564437 |      199.812521066 |         33.25935421 |   155.166041015 |

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
863
864
865
866
867
868
*** 4xX^2 mit out-degree 50

#+BEGIN_SRC shell
./bench.py bisect ../../copar/bin/random-wta ../../copar/bin/copar --monoid powerset --symbols 0,0,4 --out-degree 50 --start-states 80000
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
869
#+RESULTS:
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
: Trying 80000...
: Trying 160000...
: Trying 120000...
: Trying 100000...
: Trying 90000...
: Trying 95000...
: Trying 97500...
: Trying 98750...
: Trying 98125...
: Trying 98437...
: Trying 98593...
: Trying 98671...
: Trying 98632...
: Trying 98651...
: Trying 98661...
: Trying 98666...
: Trying 98668...
: Trying 98669...
: Trying 98670...
: First bad state count: 98671

891
892
**** File Size 

893
894
#+BEGIN_SRC sh :results output table
ls -sh bench/wta_powerset_0,0,4_*_98670_* | tr " ," ",."
895
896
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
897
#+NAME: power_2_file
898
#+RESULTS:
899
900
901
902
903
| 123M | bench/wta_powerset_0.0.4_t4933500__98670_0.coalgebra |
| 123M | bench/wta_powerset_0.0.4_t4933500__98670_1.coalgebra |
| 123M | bench/wta_powerset_0.0.4_t4933500__98670_2.coalgebra |
| 123M | bench/wta_powerset_0.0.4_t4933500__98670_3.coalgebra |
| 123M | bench/wta_powerset_0.0.4_t4933500__98670_4.coalgebra |
904

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
905
906
907
908
909
910
911
**** Automaton Size

#+BEGIN_SRC shell
./bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,0,4 --out-degree 50 --states 98670
./bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,0,4 --out-degree 50 --states 98670 --indiv --header
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
912
#+NAME: power_2
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
913
914
#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
915
916
917
918
919
| 0 | 5032170 | 14800500 |                      6 |              5031861 |                         98670 |      11563672 |     318.18771425 |   46.231443471 |      259.512847417 |        31.400595851 |   212.323222545 |
| 1 | 5032170 | 14800500 |                      6 |              5031879 |                         98670 |      11565958 |    318.887658897 |   46.483533968 |      259.856085361 |        31.407316023 |    212.38857748 |
| 2 | 5032170 | 14800500 |                      6 |              5031848 |                         98670 |      11565284 |    318.529242826 |   46.499900763 |      259.501330137 |        31.347128979 |   210.955648567 |
| 3 | 5032170 | 14800500 |                      6 |              5031845 |                         98670 |      11558234 |    317.809993575 |   46.522121526 |      258.840719384 |        31.371523591 |   211.925301877 |
| 4 | 5032170 | 14800500 |                      6 |              5031882 |                         98670 |      11551538 |    316.309936896 |   46.212332602 |      257.508264904 |        31.362333309 |   210.039264838 |
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
920
921
922
923
924
925
926

*** 4xX^3 mit out-degree 50

#+BEGIN_SRC shell
./bench.py bisect ../../copar/bin/random-wta ../../copar/bin/copar --monoid powerset --symbols 0,0,0,4 --out-degree 50 --start-states 60000
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
927
#+RESULTS:
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
: Trying 60000...
: Trying 120000...
: Trying 90000...
: Trying 75000...
: Trying 82500...
: Trying 86250...
: Trying 84375...
: Trying 85312...
: Trying 84843...
: Trying 85077...
: Trying 84960...
: Trying 85018...
: Trying 84989...
: Trying 85003...
: Trying 85010...
: Trying 85014...
: Trying 85016...
: Trying 85017...
: First bad state count: 85018

948
949
**** File Size 

950
951
#+BEGIN_SRC sh :results output table
ls -sh bench/wta_powerset_0,0,0,4_*_85017_* | tr " ," ",."
952
953
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
954
#+NAME: power_3_file
955
#+RESULTS:
956
| 138M | bench/wta_powerset_0.0.0.4_t4250850__85017_0.coalgebra |
957

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
958
959
960
961
962
963
964
**** Automaton Size 

#+BEGIN_SRC shell
./bench.py generate ../../copar/bin/random-wta --monoid powerset --symbols 0,0,0,4 --out-degree 50 --states 85016
./bench.py run ../../copar/bin/copar --monoid powerset --symbols 0,0,0,4 --out-degree 50 --states 85016 --indiv --header
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
965
#+NAME: power_3
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
966
967
968
969
#+RESULTS:
| i |  states |    edges | initial-partition-size | final-partition-size | explicit-final-partition-size | size1-skipped | overall-duration | parse-duration | algorithm-duration | initialize-duration | refine-duration |
| 0 | 4335816 | 17003200 |                      6 |              4335816 |                         85016 |      11932210 |    261.096600392 |   47.614392976 |      203.643561011 |        20.446586332 |   167.587154416 |

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
970
971
972
973
974
975
*** 4xX^4 mit out-degree 50

#+BEGIN_SRC shell
./bench.py bisect ../../copar/bin/random-wta ../../copar/bin/copar --monoid powerset --symbols 0,0,0,0,4 --out-degree 50 --start-states 48000
#+END_SRC

Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
976
#+RESULTS:
Hans-Peter Deifel's avatar
Hans-Peter Deifel committed
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
: Trying 48000...
: Trying 96000...
: Trying 72000...
: Trying 60000...
: Trying 54000...
: Trying 57000...
: Trying 58500...
: Trying 59250...
: Trying 59625...
: Trying 59437...
: Trying 59531...
: Trying 59578...
: Trying 59601...
: Trying 59589...
: Trying 59595...
: Trying 59598...
: Trying 59596...
: First bad state count: 59596

996
997
**** File Size

998
999
#+BEGIN_SRC sh :results output table
ls -sh bench/wta_powerset_0,0,0,0,4_*_59596_* | tr " ," ",."
1000
#+END_SRC