Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
question
stringlengths
67
7.6k
answer
stringlengths
3
7.92k
algo_name
stringclasses
30 values
length
int64
4
64
task_scheduling: d: [10 2 2 7 4 4 1 13 5 6 2 6 6], w: [0.076 0.812 0.039 0.228 0.1 0.149 0.004 0.082 0.151 0.2 0.628 0.15 0.349], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 1], [0 1 0 1 0 0 0 0 0 0 1 0 1], [0 1 0 1 0 0 0 0 0 1 1 0 1], [0 1 0 1 0 0 0 0 0 1 1 0 1], [0 1 0 1 0 0 0 0 0 1 1 1 1], [0 1 0 1 0 0 0 0 0 1 1 1 1], [0 1 0 1 0 0 0 0 0 1 1 1 1], [0 1 0 1 0 0 0 1 0 1 1 1 1], [1 1 0 1 0 0 0 1 0 1 1 1 1], [1 1 0 1 0 0 0 1 0 1 1 1 1] | [1 1 0 1 0 0 0 1 0 1 1 1 1]
task_scheduling
13
task_scheduling: d: [19 22 35 18 17 4 3 23 30 10 35 32 26 7 10 19 3 13 25 37 17 34 22 3 36 3 26 14 34 35 6 30 37 4 22 13 11], w: [0.631 0.339 0.285 0.618 0.291 0.597 0.229 0.58 0.8 0.234 0.046 0.056 0.248 0.734 0.32 0.82 0.382 0.921 0.425 0.891 0.722 0.198 0.087 0.967 0.721 0.661 0.929 0.158 0.108 0.988 0.084 0.882 0.733 0.981 0.765 0.034 0.598], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0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0 1 1 0 1 0 0 1 0 1 1 1 1 0 0], [1 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 0 0 1 0 1 1 1 1 0 0], [1 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 0 0 1 0 1 1 1 1 0 0], [1 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 0 1 1 0 1 1 1 1 0 0], [1 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 0 1 1 0 1 1 1 1 0 0], [1 1 1 1 0 0 0 1 1 0 0 0 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 0 1 1 0 1 1 1 1 0 0], [1 1 1 1 0 0 0 1 1 0 0 1 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 0 1 1 0 1 1 1 1 0 0], [1 1 1 1 0 0 0 1 1 0 1 1 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 0 1 1 0 1 1 1 1 0 0] | [1 1 1 1 0 0 0 1 1 0 1 1 1 0 0 1 0 1 1 1 1 1 0 1 1 0 1 0 1 1 0 1 1 1 1 0 0]
task_scheduling
37
minimum: key: [0.88 0.168 0.091 0.497 0.978 0.429 0.192 0.282 0.616 0.123 0.019 0.543 0.492 0.657 0.887 0.619 0.23 0.275 0.208 0.974 0.675 0.755 0.494 0.788 0.595 0.667 0.646 0.569 0.682 0.128 0.848 0.874 0.594 0.863 0.771 0.618 0.933 0.684 0.844 0.465 0.212 0.765 0.678], initial_trace: 0 trace | min:
1, 2, 2, 2, 2, 2, 2, 2, 2, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 | 10
minimum
43
find_maximum_subarray_kadane: key: [-0.888 -0.064 -0.193 0.28 0.254 -0.217 0.911 0.33 0.784 0.055 -0.705 0.984 0.169 -0.286 -0.204 -0.168 0.749 -0.703 0.858 0.409 0.251 -0.224 0.244 -0.407 0.191 0.957 -0.854 0.699 -0.153 0.479 -0.664 -0.31 0.167 -0.847 0.631 -0.198 0.13 -0.972 -0.067 0.344 0.208 0.844 -0.979 0.068 -0.436 0.899 0.937 -0.602 -0.568 -0.275 0.747 -0.955 -0.242 -0.763 0.598 -0.162], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (3, 3), (3, 4), (3, 4), (3, 6), (3, 7), (3, 8), (3, 9), (3, 9), (3, 11), (3, 12), (3, 12), (3, 12), (3, 12), (3, 16), (3, 16), (3, 18), (3, 19), (3, 20), (3, 20), (3, 22), (3, 22), (3, 22), (3, 25), (3, 25), (3, 25), (3, 25), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29), (3, 29) | (3, 29)
find_maximum_subarray_kadane
56
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1], key: [1 0 0 0 2 0 0 1 0 0 2 0 0 3 0 0 0 3 2 3 3 3 1 2 2 1 1 0 0 0 2 3 0 3 0 2 1 0 2 0 0 2 0 0 1 0 0 2 0 0], initial_trace: 0 trace | s:
1, 1, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3 | 3
naive_string_matcher
50
bellman_ford: s: 1, A: [[0 0.426 0 0 0 0 0 0 0.294 0 0 0 0.308 0.745 0 0.708 0.156 0 0 0.319 0 0 0 0 0.385 0 0 0.618 0 0 0 0 0], [0.426 0.289 0.334 0 0 0 0 0 0 0.425 0 0 0 0 0 0 0.509 0 0 0 0 0.203 0.827 0 0 0 0.595 0 0 0 0.26 0 0], [0 0.334 0.193 0 0 0 0.306 0 0 0 0 0 0 0 0.432 0 0 0 0 0 0 0 0.48 0 0 0 0.399 0 0 0 0 0.362 0], [0 0 0 0 0 0 0.251 0 0 0 0.478 0 0 0 0 0 0 0.721 0.52 0 0.445 0 0 0 0 0.775 0 0 0 0 0 0.263 0], [0 0 0 0 0 0 0.345 0 0 0 0 0 0 0 0 0.955 0.491 0 0 0 0 0 0 0 0 0 0 0 0 0 0.569 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.249 0 0 0 0 0 0 0 0 0.467 0 0 0 0 0 0.412 0 0 0 0 0.116], [0 0 0.306 0.251 0.345 0 0 0 0 0 0 0 0.663 0 0.486 0 0 0 0.414 0 0 0 0 0.33 0 0 0 0 0 0 0.561 0 0], [0 0 0 0 0 0 0 0.256 0.113 0.488 0 0 0 0.22 0 0 0 0 0 0.285 0 0 0 0.356 0 0 0 0 0 0 0 0 0], [0.294 0 0 0 0 0 0 0.113 0 0 0.649 0 0 0 0 0 0.134 0 0.368 0 0 0.374 0 0 0 0 0 0 0.741 0.415 0 0 0], [0 0.425 0 0 0 0 0 0.488 0 0.512 0 0 0 0 0 0 0 0.245 0 0 0 0 0 0 0 0 0.162 0 0 0 0 0 0], [0 0 0 0.478 0 0 0 0 0.649 0 0.068 0 0 0 0 0 0 0.898 0 0 0.528 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.174 0 0 0 0 0.415 0.713 0.365 0 0.394 0 0 0 0 0 0 0 0 0 0 0.314 0], [0.308 0 0 0 0 0.249 0.663 0 0 0 0 0 0 0 0 0.388 0 0 0 0 0 0 0.05 0 0.445 0 0 0 0 0 0 0 0], [0.745 0 0 0 0 0 0 0.22 0 0 0 0 0 0 0 0 0 0.531 0.236 0 0 0 0 0 0 0 0.51 0.054 0 0.757 0 0 0.065], [0 0 0.432 0 0 0 0.486 0 0 0 0 0 0 0 0.25 0 0 0 0 0 0 0 0.647 0 0 0 0.766 0.375 0 0 0.309 0 0], [0.708 0 0 0 0.955 0 0 0 0 0 0 0 0.388 0 0 0 0 0 0 0 0 0.299 0 0.377 0 0.211 0 0 0.195 0 0 0 0.23], [0.156 0.509 0 0 0.491 0 0 0 0.134 0 0 0.415 0 0 0 0 0 0 0 0 0 0 0 0 0.225 0 0 0 0 0 0 0.787 0.427], [0 0 0 0.721 0 0 0 0 0 0.245 0.898 0.713 0 0.531 0 0 0 0.104 0 0 0 0 0 0 0 0.521 0 0.47 0.245 0.045 0 0 0], [0 0 0 0.52 0 0 0.414 0 0.368 0 0 0.365 0 0.236 0 0 0 0 0 0 0 0 0 0.365 0 0 0.243 0 0 0.455 0 0 0.896], [0.319 0 0 0 0 0 0 0.285 0 0 0 0 0 0 0 0 0 0 0 0 0.871 0 0.558 0 0 0 0 0 0 0 0 0 0.611], [0 0 0 0.445 0 0 0 0 0 0 0.528 0.394 0 0 0 0 0 0 0 0.871 0.157 0 0 0.497 0 0 0 0 0 0 0 0 0.204], [0 0.203 0 0 0 0.467 0 0 0.374 0 0 0 0 0 0 0.299 0 0 0 0 0 0.856 0 0 0 0 0 0.629 0.295 0.708 0.323 0 0], [0 0.827 0.48 0 0 0 0 0 0 0 0 0 0.05 0 0.647 0 0 0 0 0.558 0 0 0 0 0.375 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.33 0.356 0 0 0 0 0 0 0 0.377 0 0 0.365 0 0.497 0 0 0.776 0 0.441 0 0 0 0 0 0 0], [0.385 0 0 0 0 0 0 0 0 0 0 0 0.445 0 0 0 0.225 0 0 0 0 0 0.375 0 0 0 0 0 0 0.454 0.064 0 0], [0 0 0 0.775 0 0 0 0 0 0 0 0 0 0 0 0.211 0 0.521 0 0 0 0 0 0.441 0 0.048 0 0 0 0 0 0.752 0], [0 0.595 0.399 0 0 0 0 0 0 0.162 0 0 0 0.51 0.766 0 0 0 0.243 0 0 0 0 0 0 0 0.681 0 0.089 0 0 0 0.077], [0.618 0 0 0 0 0.412 0 0 0 0 0 0 0 0.054 0.375 0 0 0.47 0 0 0 0.629 0 0 0 0 0 0 0 0 0 0 0.239], [0 0 0 0 0 0 0 0 0.741 0 0 0 0 0 0 0.195 0 0.245 0 0 0 0.295 0 0 0 0 0.089 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.415 0 0 0 0 0.757 0 0 0 0.045 0.455 0 0 0.708 0 0 0.454 0 0 0 0 0 0 0 0], [0 0.26 0 0 0.569 0 0.561 0 0 0 0 0 0 0 0.309 0 0 0 0 0 0 0.323 0 0 0.064 0 0 0 0 0 0.314 0 0], [0 0 0.362 0.263 0 0 0 0 0 0 0 0.314 0 0 0 0 0.787 0 0 0 0 0 0 0 0 0.752 0 0 0 0 0 0.799 0], [0 0 0 0 0 0.116 0 0 0 0 0 0 0 0.065 0 0.23 0.427 0 0.896 0.611 0.204 0 0 0 0 0 0.077 0.239 0 0 0 0 0]], initial_trace: [0 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] trace | pi:
[1 1 1 3 4 5 6 7 8 1 10 11 12 13 14 15 1 17 18 19 20 1 1 23 24 25 1 27 28 29 1 31 32], [1 1 1 3 30 21 2 9 21 1 10 16 0 26 30 21 1 9 26 0 20 1 2 23 30 25 9 21 21 21 1 2 26], [1 1 1 6 30 21 2 8 21 1 8 16 0 32 30 21 1 9 26 0 32 1 24 15 30 15 9 21 21 17 1 2 26], [1 1 1 6 30 21 2 8 21 1 8 16 0 32 30 21 1 9 26 0 32 1 24 15 30 15 9 13 21 17 1 2 26] | [1 1 1 6 30 21 2 8 21 1 8 16 0 32 30 21 1 9 26 0 32 1 24 15 30 15 9 13 21 17 1 2 26]
bellman_ford
33
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1], key: [3 2 2 3 3 1 1 1 0 1 2 3 2 3 0 0 1 3 0 0 3 1 1 3 2 2 3 3], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0 | 0
kmp_matcher
28
dijkstra: s: 18, A: [[0 0 0 0 0 0.191 0.314 0.19 0.382 0 0 0 0 0 0 0.526 0 0 0 0.19 0 0.571 0 0 0 0 0 0.038 0 0 0 0 0 0.374 0], [0 0 0.849 0 0 0 0 0.162 0 0 0 0 0 0 0 0 0 0 0 0 0.212 0 0 0 0 0.434 0 0 0 0 0 0 0 0 0], [0 0.849 0.815 0 0 0 0 0.223 0 0 0.914 0 0 0 0 0 0 0 0.147 0 0 0 0.246 0 0 0 0 0 0.273 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.38 0 0 0 0.192 0 0.657 0 0 0 0 0 0 0 0.464 0 0 0 0 0 0.171 0 0 0 0 0 0.53 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.834 0.966 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.283 0.254 0 0 0.538 0], [0.191 0 0 0 0 0.694 0 0 0 0 0 0 0 0.29 0 0 0.672 0 0 0.595 0.285 0 0 0.276 0 0 0 0.709 0 0 0 0 0 0 0], [0.314 0 0 0 0 0 0 0 0.674 0.331 0 0 0 0 0 0.368 0.754 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.532 0 0 0], [0.19 0.162 0.223 0.38 0 0 0 0 0 0 0 0 0.478 0 0 0 0 0.534 0 0 0.833 0.231 0 0.52 0 0.313 0.476 0 0 0 0 0.526 0 0.585 0], [0.382 0 0 0 0 0 0.674 0 0.844 0 0 0 0.17 0 0 0.321 0 0 0 0.684 0 0 0 0 0.803 0 0.858 0 0 0 0.87 0 0 0 0.599], [0 0 0 0 0 0 0.331 0 0 0.729 0 0 0 0.344 0 0 0 0 0 0.721 0 0 0 0.188 0 0.424 0 0.666 0 0 0 0 0 0 0.526], [0 0 0.914 0 0 0 0 0 0 0 0.78 0 0 0 0 0 0 0 0 0 0 0.382 0 0 0 0 0 0 0.53 0 0 0 0 0 0], [0 0 0 0.192 0 0 0 0 0 0 0 0 0 0.875 0 0 0 0 0 0.681 0 0.687 0.22 0 0 0 0 0 0.217 0 0.631 0 0 0 0], [0 0 0 0 0.834 0 0 0.478 0.17 0 0 0 0 0 0 0.092 0 0 0.496 0 0 0 0 0 0.147 0 0 0 0 0 0 0 0 0.164 0], [0 0 0 0.657 0.966 0.29 0 0 0 0.344 0 0.875 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.689 0 0 0 0.444 0.802 0 0.477], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.184 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3], [0.526 0 0 0 0 0 0.368 0 0.321 0 0 0 0.092 0 0 0.797 0 0 0.323 0 0 0 0 0.215 0 0 0 0 0 0 0 0.319 0 0 0.564], [0 0 0 0 0 0.672 0.754 0 0 0 0 0 0 0 0 0 0 0.841 0.593 0.286 0 0 0 0 0.663 0 0 0 0 0.383 0 0 0.251 0 0], [0 0 0 0 0 0 0 0.534 0 0 0 0 0 0 0 0 0.841 0 0 0.159 0 0 0 0 0.369 0 0.54 0.593 0 0 0 0.101 0.233 0 0], [0 0 0.147 0 0 0 0 0 0 0 0 0 0.496 0 0 0.323 0.593 0 0.988 0.468 0 0 0 0 0 0 0 0 0.434 0 0 0 0 0 0], [0.19 0 0 0 0 0.595 0 0 0.684 0.721 0 0.681 0 0 0.184 0 0.286 0.159 0.468 0 0 0.633 0 0 0 0.878 0 0.271 0 0 0 0.641 0.871 0 0], [0 0.212 0 0 0 0.285 0 0.833 0 0 0 0 0 0 0 0 0 0 0 0 0.064 0 0 0 0 0 0 0 0 0.732 0 0 0.258 0 0.74], [0.571 0 0 0.464 0 0 0 0.231 0 0 0.382 0.687 0 0 0 0 0 0 0 0.633 0 0.262 0.045 0 0.864 0 0.671 0 0.638 0 0 0 0.766 0 0.604], [0 0 0.246 0 0 0 0 0 0 0 0 0.22 0 0 0 0 0 0 0 0 0 0.045 0 0.163 0.241 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.276 0 0.52 0 0.188 0 0 0 0 0 0.215 0 0 0 0 0 0 0.163 0.161 0 0.182 0 0 0 0.222 0 0 0 0 0.05], [0 0 0 0 0 0 0 0 0.803 0 0 0 0.147 0 0 0 0.663 0.369 0 0 0 0.864 0.241 0 0 0.722 0 0 0 0.567 0 0 0 0 0.658], [0 0.434 0 0 0 0 0 0.313 0 0.424 0 0 0 0 0 0 0 0 0 0.878 0 0 0 0.182 0.722 0 0 0 0 0 0 0.184 0 0 0], [0 0 0 0 0 0 0 0.476 0.858 0 0 0 0 0 0 0 0 0.54 0 0 0 0.671 0 0 0 0 0.452 0 0 0 0 0 0.676 0 0], [0.038 0 0 0.171 0 0.709 0 0 0 0.666 0 0 0 0.689 0 0 0 0.593 0 0.271 0 0 0 0 0 0 0 0.388 0 0.287 0.574 0 0 0.495 0.49], [0 0 0.273 0 0 0 0 0 0 0 0.53 0.217 0 0 0 0 0 0 0.434 0 0 0.638 0 0 0 0 0 0 0 0.582 0 0 0.113 0 0.648], [0 0 0 0 0.283 0 0 0 0 0 0 0 0 0 0 0 0.383 0 0 0 0.732 0 0 0.222 0.567 0 0 0.287 0.582 0.273 0 0 0.174 0 0], [0 0 0 0 0.254 0 0 0 0.87 0 0 0.631 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.574 0 0 0.136 0 0 0 0], [0 0 0 0 0 0 0.532 0.526 0 0 0 0 0 0.444 0 0.319 0 0.101 0 0.641 0 0 0 0 0 0.184 0 0 0 0 0 0.471 0.859 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.802 0 0 0.251 0.233 0 0.871 0.258 0.766 0 0 0 0 0.676 0 0.113 0.174 0 0.859 0 0 0], [0.374 0 0 0.53 0.538 0 0 0.585 0 0 0 0 0.164 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.495 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.599 0.526 0 0 0 0.477 0.3 0.564 0 0 0 0 0.74 0.604 0 0.05 0.658 0 0 0.49 0.648 0 0 0 0 0 0.332]], initial_trace: [0 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] trace | pi:
[0 1 18 3 4 5 6 7 8 9 10 11 18 13 14 18 18 17 18 18 20 21 22 23 24 25 26 27 18 29 30 31 32 33 34], [0 2 18 3 4 5 6 2 8 9 2 11 18 13 14 18 18 17 18 18 20 21 2 23 24 25 26 27 2 29 30 31 32 33 34], [15 2 18 3 4 5 15 2 15 9 2 11 15 13 14 18 18 17 18 18 20 21 2 15 24 25 26 27 2 29 30 15 32 33 15], [7 7 18 7 4 5 15 2 15 9 2 11 15 13 14 18 18 7 18 18 7 7 2 15 24 7 7 27 2 29 30 15 32 7 15], [7 7 18 7 4 5 15 2 15 9 2 22 15 13 14 18 18 7 18 18 7 22 2 15 22 7 7 27 2 29 30 15 32 7 15], [7 7 18 7 12 5 15 2 12 9 2 22 15 13 14 18 18 7 18 18 7 22 2 15 12 7 7 27 2 29 30 15 32 12 15], [7 7 18 7 12 5 15 2 12 9 28 22 15 13 14 18 18 7 18 18 7 22 2 15 12 7 7 27 2 28 30 15 28 12 15], [7 7 18 7 12 5 15 2 12 9 21 22 15 13 14 18 18 7 18 18 7 22 2 15 12 7 7 27 2 28 30 15 28 12 15], [7 7 18 7 12 19 15 2 12 19 21 22 15 13 19 18 18 19 18 18 7 22 2 15 12 7 7 19 2 28 30 15 28 12 15], [7 7 18 7 12 19 15 2 12 19 21 22 15 13 19 18 18 19 18 18 1 22 2 15 12 7 7 19 2 28 30 15 28 12 15], [7 7 18 7 12 19 15 2 12 19 21 22 15 32 19 18 18 19 18 18 1 22 2 15 12 7 7 19 2 32 30 15 28 12 15], [7 7 18 7 12 23 15 2 12 23 21 22 15 32 19 18 18 19 18 18 1 22 2 15 12 7 7 19 2 32 30 15 28 12 23], [7 7 18 7 12 0 15 2 12 23 21 22 15 32 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 30 15 28 12 23], [7 7 18 7 12 0 15 2 12 23 21 22 15 32 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 30 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 32 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 30 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 32 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 8 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 8 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 8 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 33 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 34 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 5 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 5 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 5 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 5 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23], [7 7 18 7 29 0 15 2 12 23 21 22 15 5 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23] | [7 7 18 7 29 0 15 2 12 23 21 22 15 5 19 18 18 19 18 18 1 22 2 15 12 7 7 0 2 32 27 15 28 12 23]
dijkstra
35
insertion_sort: key: [0.105 0.785 0.425 0.779 0.913 0.752 0.646 0.281 0.508 0.237 0.823 0.992 0.036 0.537], initial_trace: [0.105 0.785 0.425 0.779 0.913 0.752 0.646 0.281 0.508 0.237 0.823 0.992 0.036 0.537] trace | pred:
[0.105 0.785 0.425 0.779 0.913 0.752 0.646 0.281 0.508 0.237 0.823 0.992 0.036 0.537], [0.105 0.425 0.785 0.779 0.913 0.752 0.646 0.281 0.508 0.237 0.823 0.992 0.036 0.537], [0.105 0.425 0.779 0.785 0.913 0.752 0.646 0.281 0.508 0.237 0.823 0.992 0.036 0.537], [0.105 0.425 0.779 0.785 0.913 0.752 0.646 0.281 0.508 0.237 0.823 0.992 0.036 0.537], [0.105 0.425 0.752 0.779 0.785 0.913 0.646 0.281 0.508 0.237 0.823 0.992 0.036 0.537], [0.105 0.425 0.646 0.752 0.779 0.785 0.913 0.281 0.508 0.237 0.823 0.992 0.036 0.537], [0.105 0.281 0.425 0.646 0.752 0.779 0.785 0.913 0.508 0.237 0.823 0.992 0.036 0.537], [0.105 0.281 0.425 0.508 0.646 0.752 0.779 0.785 0.913 0.237 0.823 0.992 0.036 0.537], [0.105 0.237 0.281 0.425 0.508 0.646 0.752 0.779 0.785 0.913 0.823 0.992 0.036 0.537], [0.105 0.237 0.281 0.425 0.508 0.646 0.752 0.779 0.785 0.823 0.913 0.992 0.036 0.537], [0.105 0.237 0.281 0.425 0.508 0.646 0.752 0.779 0.785 0.823 0.913 0.992 0.036 0.537], [0.036 0.105 0.237 0.281 0.425 0.508 0.646 0.752 0.779 0.785 0.823 0.913 0.992 0.537] | [0.036 0.105 0.237 0.281 0.425 0.508 0.537 0.646 0.752 0.779 0.785 0.823 0.913 0.992]
insertion_sort
14
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1], key: [0 1 3 3 2 1 1 0 3 0 3 0 0 0 3 2 2 3 3 3 1 3 2 2 0 1 3 2 1 3 1 1 3 0 3 1 3 1 3 2 2 0 1 3 2 1 3], initial_trace: 0 trace | s:
1, 2, 2, 3, 3, 3, 4, 5, 6, 7, 8, 8, 9, 10, 10, 11, 12, 13, 14, 14, 14, 14, 15, 16, 17, 17, 18, 18, 19, 19, 20, 21, 21, 21, 21, 21, 21, 21, 21 | 21
naive_string_matcher
47
binary_search: key: [0.048 0.054 0.104 0.112 0.118 0.163 0.167 0.25 0.264 0.272 0.278 0.326 0.37 0.392 0.396 0.412 0.413 0.418 0.488 0.488 0.572 0.578 0.627 0.659 0.69 0.703 0.703 0.712 0.718 0.72 0.731 0.748 0.756 0.821 0.836 0.837 0.882 0.914 0.916 0.943 0.958 0.971 0.984], target: 0.984, initial_trace: (0, 42) trace | (low, high):
(22, 42), (33, 42), (38, 42), (41, 42) | (42, 42)
binary_search
43
task_scheduling: d: [8 6 9 13 1 1 2 6 4 4 5 4 8], w: [0.354 0.239 0.134 0.821 0.639 0.818 0.399 0.354 0.176 0.505 0.813 0.556 0.208], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 0 0 0 1 1 0], [0 0 0 1 0 0 0 0 0 1 1 1 0], [0 0 0 1 0 0 0 0 0 1 1 1 0], [1 0 0 1 0 0 0 0 0 1 1 1 0], [1 0 0 1 0 0 0 1 0 1 1 1 0], [1 0 0 1 0 0 0 1 0 1 1 1 0], [1 0 0 1 0 0 0 1 0 1 1 1 1], [1 0 0 1 0 0 0 1 0 1 1 1 1] | [1 0 1 1 0 0 0 1 0 1 1 1 1]
task_scheduling
13
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1], key: [0 2 1 0 2 2 2 1 0 1 0 1 1 0], initial_trace: 0 trace | s:
0, 0, 0, 1 | 2
kmp_matcher
14
insertion_sort: key: [0.083 0.522 0.589 0.487 0.547 0.895 0.455 0.827 0.126 0.875 0.968 0.077 0.512], initial_trace: [0.083 0.522 0.589 0.487 0.547 0.895 0.455 0.827 0.126 0.875 0.968 0.077 0.512] trace | pred:
[0.083 0.522 0.589 0.487 0.547 0.895 0.455 0.827 0.126 0.875 0.968 0.077 0.512], [0.083 0.522 0.589 0.487 0.547 0.895 0.455 0.827 0.126 0.875 0.968 0.077 0.512], [0.083 0.487 0.522 0.589 0.547 0.895 0.455 0.827 0.126 0.875 0.968 0.077 0.512], [0.083 0.487 0.522 0.547 0.589 0.895 0.455 0.827 0.126 0.875 0.968 0.077 0.512], [0.083 0.487 0.522 0.547 0.589 0.895 0.455 0.827 0.126 0.875 0.968 0.077 0.512], [0.083 0.455 0.487 0.522 0.547 0.589 0.895 0.827 0.126 0.875 0.968 0.077 0.512], [0.083 0.455 0.487 0.522 0.547 0.589 0.827 0.895 0.126 0.875 0.968 0.077 0.512], [0.083 0.126 0.455 0.487 0.522 0.547 0.589 0.827 0.895 0.875 0.968 0.077 0.512], [0.083 0.126 0.455 0.487 0.522 0.547 0.589 0.827 0.875 0.895 0.968 0.077 0.512], [0.083 0.126 0.455 0.487 0.522 0.547 0.589 0.827 0.875 0.895 0.968 0.077 0.512], [0.077 0.083 0.126 0.455 0.487 0.522 0.547 0.589 0.827 0.875 0.895 0.968 0.512] | [0.077 0.083 0.126 0.455 0.487 0.512 0.522 0.547 0.589 0.827 0.875 0.895 0.968]
insertion_sort
13
bellman_ford: s: 11, A: [[0 0 0 0 0.623 0 0 0.606 0 0 0 0.353 0 0 0 0.933 0.319 0 0 0 0 0.389 0.195 0 0.736 0 0.755 0 0], [0 0.262 0 0.589 0.291 0.249 0.407 0 0 0 0 0 0.778 0 0 0 0 0 0 0 0 0 0 0.42 0 0.402 0 0 0], [0 0 0 0 0 0 0 0 0.838 0 0 0 0 0 0 0 0.198 0 0 0 0 0 0.148 0 0 0 0 0 0], [0 0.589 0 0 0.072 0.257 0 0 0 0.543 0 0 0 0 0 0 0 0 0 0 0 0 0.19 0.836 0 0 0 0.204 0.057], [0.623 0.291 0 0.072 0.384 0 0.139 0 0 0 0.46 0 0 0.765 0 0 0 0 0.813 0 0 0 0 0 0 0 0.418 0.524 0], [0 0.249 0 0.257 0 0 0 0 0 0 0 0 0 0 0 0.234 0.545 0 0.697 0 0 0 0.94 0 0 0 0 0.166 0], [0 0.407 0 0 0.139 0 0.385 0 0 0 0 0 0.822 0 0 0 0 0 0 0 0 0.377 0 0 0 0 0.727 0.472 0], [0.606 0 0 0 0 0 0 0 0 0.295 0 0 0 0.585 0 0 0 0.327 0 0.69 0 0 0.403 0.725 0 0 0 0 0.53], [0 0 0.838 0 0 0 0 0 0 0 0.246 0 0 0 0.16 0.578 0.142 0.471 0.317 0 0 0 0 0.348 0.549 0 0 0 0], [0 0 0 0.543 0 0 0 0.295 0 0.224 0.388 0 0 0.275 0 0 0 0.406 0 0 0 0 0 0.149 0 0.287 0 0 0], [0 0 0 0 0.46 0 0 0 0.246 0.388 0.203 0.435 0 0 0.369 0 0 0.805 0 0.887 0 0 0.282 0 0 0.411 0 0 0], [0.353 0 0 0 0 0 0 0 0 0 0.435 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.777], [0 0.778 0 0 0 0 0.822 0 0 0 0 0 0 0 0 0 0.769 0 0 0 0 0 0 0 0 0 0 0 0.162], [0 0 0 0 0.765 0 0 0.585 0 0.275 0 0 0 0 0 0.489 0 0.032 0 0 0 0 0 0 0.679 0 0 0 0], [0 0 0 0 0 0 0 0 0.16 0 0.369 0 0 0 0.212 0 0.632 0 0 0 0.295 0 0 0 0 0 0 0 0.586], [0.933 0 0 0 0 0.234 0 0 0.578 0 0 0 0 0.489 0 0 0 0 0 0 0 0 0.167 0 0 0 0 0.608 0], [0.319 0 0.198 0 0 0.545 0 0 0.142 0 0 0 0.769 0 0.632 0 0 0.348 0 0 0.556 0.956 0 0.683 0 0 0 0 0.801], [0 0 0 0 0 0 0 0.327 0.471 0.406 0.805 0 0 0.032 0 0 0.348 0 0 0 0 0.081 0 0.683 0 0 0 0 0.83], [0 0 0 0 0.813 0.697 0 0 0.317 0 0 0 0 0 0 0 0 0 0 0 0 0.597 0 0 0 0 0 0 0.156], [0 0 0 0 0 0 0 0.69 0 0 0.887 0 0 0 0 0 0 0 0 0 0 0.331 0 0 0.23 0 0 0.249 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.295 0 0.556 0 0 0 0 0 0 0 0 0 0 0 0], [0.389 0 0 0 0 0 0.377 0 0 0 0 0 0 0 0 0 0.956 0.081 0.597 0.331 0 0.035 0 0.424 0 0.683 0 0.111 0.3], [0.195 0 0.148 0.19 0 0.94 0 0.403 0 0 0.282 0 0 0 0 0.167 0 0 0 0 0 0 0.72 0 0 0 0 0 0], [0 0.42 0 0.836 0 0 0 0.725 0.348 0.149 0 0 0 0 0 0 0.683 0.683 0 0 0 0.424 0 0 0 0 0 0 0.304], [0.736 0 0 0 0 0 0 0 0.549 0 0 0 0 0.679 0 0 0 0 0 0.23 0 0 0 0 0 0.35 0 0 0.487], [0 0.402 0 0 0 0 0 0 0 0.287 0.411 0 0 0 0 0 0 0 0 0 0 0.683 0 0 0.35 0.07 0 0.166 0], [0.755 0 0 0 0.418 0 0.727 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.502 0 0.173], [0 0 0 0.204 0.524 0.166 0.472 0 0 0 0 0 0 0 0 0.608 0 0 0 0.249 0 0.111 0 0 0 0.166 0 0 0.256], [0 0 0 0.057 0 0 0 0.53 0 0 0 0.777 0.162 0 0.586 0 0.801 0.83 0.156 0 0 0.3 0 0.304 0.487 0 0.173 0.256 0.72]], initial_trace: [0 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] trace | pi:
[11 1 2 3 4 5 6 7 8 9 11 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 11], [11 1 2 28 10 5 6 0 10 10 11 11 28 13 10 0 0 10 28 10 20 0 0 28 0 10 28 28 11], [11 4 22 22 10 3 4 22 10 10 11 11 28 9 10 22 0 21 28 21 14 0 0 9 0 10 28 21 11], [11 4 22 22 3 15 4 22 10 10 11 11 28 17 10 22 0 21 28 21 14 0 0 9 0 10 28 21 11] | [11 4 22 22 3 15 4 22 10 10 11 11 28 17 10 22 0 21 28 21 14 0 0 9 0 10 28 21 11]
bellman_ford
29
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [0 0 0 2 3 1 2 3 3 3 0 2 1 0 0 2 3], initial_trace: 0 trace | s:
0, 1, 1, 2, 2 | 2
naive_string_matcher
17
find_maximum_subarray_kadane: key: [0.15 -0.849 0.409 -0.094 -0.17 0.301 -0.159 0.591 0.186 -0.055 -0.407 0.527 -0.118 -0.939 -0.227 -0.632 -0.27 -0.267 -0.579 -0.537 0.682 0.639 -0.479 0.748 -0.841], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (2, 2), (2, 2), (2, 2), (2, 5), (2, 5), (2, 7), (2, 8), (2, 8), (2, 8), (2, 11), (2, 11), (2, 11), (2, 11), (2, 11), (2, 11), (2, 11), (2, 11), (2, 11), (2, 11), (20, 21), (20, 21), (20, 23) | (20, 23)
find_maximum_subarray_kadane
25
bellman_ford: s: 2, A: [[0.038 0.459 0 0 0 0], [0.459 0 0.282 0 0 0], [0 0.282 0 0.525 0 0], [0 0 0.525 0.645 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5] trace | pi:
[0 2 2 2 4 5] | [1 2 2 2 4 5]
bellman_ford
6
heapsort: key: [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], initial_trace: [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007] trace | pred:
[0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.112 0.13 0.721 0.389 0.967 0.004 0.193 0.7 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.7 0.13 0.721 0.389 0.967 0.004 0.193 0.112 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.7 0.13 0.721 0.389 0.967 0.004 0.193 0.112 0.007], [0.111 0.315 0.014 0.316 0.25 0.721 0.7 0.13 0.721 0.389 0.967 0.004 0.193 0.112 0.007], [0.111 0.315 0.014 0.316 0.967 0.721 0.7 0.13 0.721 0.389 0.25 0.004 0.193 0.112 0.007], [0.111 0.315 0.014 0.316 0.967 0.721 0.7 0.13 0.721 0.389 0.25 0.004 0.193 0.112 0.007], [0.111 0.315 0.014 0.721 0.967 0.721 0.7 0.13 0.316 0.389 0.25 0.004 0.193 0.112 0.007], [0.111 0.315 0.014 0.721 0.967 0.721 0.7 0.13 0.316 0.389 0.25 0.004 0.193 0.112 0.007], [0.111 0.315 0.721 0.721 0.967 0.014 0.7 0.13 0.316 0.389 0.25 0.004 0.193 0.112 0.007], [0.111 0.315 0.721 0.721 0.967 0.193 0.7 0.13 0.316 0.389 0.25 0.004 0.014 0.112 0.007], [0.111 0.315 0.721 0.721 0.967 0.193 0.7 0.13 0.316 0.389 0.25 0.004 0.014 0.112 0.007], [0.111 0.967 0.721 0.721 0.315 0.193 0.7 0.13 0.316 0.389 0.25 0.004 0.014 0.112 0.007], [0.111 0.967 0.721 0.721 0.389 0.193 0.7 0.13 0.316 0.315 0.25 0.004 0.014 0.112 0.007], [0.111 0.967 0.721 0.721 0.389 0.193 0.7 0.13 0.316 0.315 0.25 0.004 0.014 0.112 0.007], [0.967 0.111 0.721 0.721 0.389 0.193 0.7 0.13 0.316 0.315 0.25 0.004 0.014 0.112 0.007], [0.967 0.721 0.721 0.111 0.389 0.193 0.7 0.13 0.316 0.315 0.25 0.004 0.014 0.112 0.007], [0.967 0.721 0.721 0.316 0.389 0.193 0.7 0.13 0.111 0.315 0.25 0.004 0.014 0.112 0.007], [0.967 0.721 0.721 0.316 0.389 0.193 0.7 0.13 0.111 0.315 0.25 0.004 0.014 0.112 0.007], [0.007 0.721 0.721 0.316 0.389 0.193 0.7 0.13 0.111 0.315 0.25 0.004 0.014 0.112 0.967], [0.721 0.007 0.721 0.316 0.389 0.193 0.7 0.13 0.111 0.315 0.25 0.004 0.014 0.112 0.967], [0.721 0.389 0.721 0.316 0.007 0.193 0.7 0.13 0.111 0.315 0.25 0.004 0.014 0.112 0.967], [0.721 0.389 0.721 0.316 0.315 0.193 0.7 0.13 0.111 0.007 0.25 0.004 0.014 0.112 0.967], [0.721 0.389 0.721 0.316 0.315 0.193 0.7 0.13 0.111 0.007 0.25 0.004 0.014 0.112 0.967], [0.112 0.389 0.721 0.316 0.315 0.193 0.7 0.13 0.111 0.007 0.25 0.004 0.014 0.721 0.967], [0.721 0.389 0.112 0.316 0.315 0.193 0.7 0.13 0.111 0.007 0.25 0.004 0.014 0.721 0.967], [0.721 0.389 0.7 0.316 0.315 0.193 0.112 0.13 0.111 0.007 0.25 0.004 0.014 0.721 0.967], [0.721 0.389 0.7 0.316 0.315 0.193 0.112 0.13 0.111 0.007 0.25 0.004 0.014 0.721 0.967], [0.014 0.389 0.7 0.316 0.315 0.193 0.112 0.13 0.111 0.007 0.25 0.004 0.721 0.721 0.967], [0.7 0.389 0.014 0.316 0.315 0.193 0.112 0.13 0.111 0.007 0.25 0.004 0.721 0.721 0.967], [0.7 0.389 0.193 0.316 0.315 0.014 0.112 0.13 0.111 0.007 0.25 0.004 0.721 0.721 0.967], [0.7 0.389 0.193 0.316 0.315 0.014 0.112 0.13 0.111 0.007 0.25 0.004 0.721 0.721 0.967], [0.004 0.389 0.193 0.316 0.315 0.014 0.112 0.13 0.111 0.007 0.25 0.7 0.721 0.721 0.967], [0.389 0.004 0.193 0.316 0.315 0.014 0.112 0.13 0.111 0.007 0.25 0.7 0.721 0.721 0.967], [0.389 0.316 0.193 0.004 0.315 0.014 0.112 0.13 0.111 0.007 0.25 0.7 0.721 0.721 0.967], [0.389 0.316 0.193 0.13 0.315 0.014 0.112 0.004 0.111 0.007 0.25 0.7 0.721 0.721 0.967], [0.389 0.316 0.193 0.13 0.315 0.014 0.112 0.004 0.111 0.007 0.25 0.7 0.721 0.721 0.967], [0.25 0.316 0.193 0.13 0.315 0.014 0.112 0.004 0.111 0.007 0.389 0.7 0.721 0.721 0.967], [0.316 0.25 0.193 0.13 0.315 0.014 0.112 0.004 0.111 0.007 0.389 0.7 0.721 0.721 0.967], [0.316 0.315 0.193 0.13 0.25 0.014 0.112 0.004 0.111 0.007 0.389 0.7 0.721 0.721 0.967], [0.316 0.315 0.193 0.13 0.25 0.014 0.112 0.004 0.111 0.007 0.389 0.7 0.721 0.721 0.967], [0.007 0.315 0.193 0.13 0.25 0.014 0.112 0.004 0.111 0.316 0.389 0.7 0.721 0.721 0.967], [0.315 0.007 0.193 0.13 0.25 0.014 0.112 0.004 0.111 0.316 0.389 0.7 0.721 0.721 0.967], [0.315 0.25 0.193 0.13 0.007 0.014 0.112 0.004 0.111 0.316 0.389 0.7 0.721 0.721 0.967], [0.315 0.25 0.193 0.13 0.007 0.014 0.112 0.004 0.111 0.316 0.389 0.7 0.721 0.721 0.967], [0.111 0.25 0.193 0.13 0.007 0.014 0.112 0.004 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.25 0.111 0.193 0.13 0.007 0.014 0.112 0.004 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.25 0.13 0.193 0.111 0.007 0.014 0.112 0.004 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.25 0.13 0.193 0.111 0.007 0.014 0.112 0.004 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.004 0.13 0.193 0.111 0.007 0.014 0.112 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.193 0.13 0.004 0.111 0.007 0.014 0.112 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.193 0.13 0.112 0.111 0.007 0.014 0.004 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.193 0.13 0.112 0.111 0.007 0.014 0.004 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.004 0.13 0.112 0.111 0.007 0.014 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.13 0.004 0.112 0.111 0.007 0.014 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.13 0.111 0.112 0.004 0.007 0.014 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.13 0.111 0.112 0.004 0.007 0.014 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.014 0.111 0.112 0.004 0.007 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.112 0.111 0.014 0.004 0.007 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.112 0.111 0.014 0.004 0.007 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.007 0.111 0.014 0.004 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.111 0.007 0.014 0.004 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.111 0.007 0.014 0.004 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.004 0.007 0.014 0.111 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.014 0.007 0.004 0.111 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.014 0.007 0.004 0.111 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.004 0.007 0.014 0.111 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.007 0.004 0.014 0.111 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.007 0.004 0.014 0.111 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967], [0.004 0.007 0.014 0.111 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967] | [0.004 0.007 0.014 0.111 0.112 0.13 0.193 0.25 0.315 0.316 0.389 0.7 0.721 0.721 0.967]
heapsort
15
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [1 3 1 3 2 0 3 3 0 0 3 3 3 1 3 3 0], initial_trace: 0 trace | s:
1, 1, 2, 3, 3, 4, 5, 6, 6 | 6
naive_string_matcher
17
bfs: s: 10, A: [[0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 1 0 1 0], [0 1 0 0 1 1 1 0 1 0 1 0 0 0 1 1 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 0 0 1 1 1 1 0 1 1 0 0 0 0 1 1 1 0 0 0], [0 1 0 1 1 0 1 0 1 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0], [1 1 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0], [0 1 0 0 1 1 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 0 1 1 1 0 1], [0 1 0 1 1 0 1 0 1 0 0 0 1 0 0 1 0 0 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0], [0 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0], [0 1 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 1 0 0 1 1 0], [0 1 1 0 0 1 0 1 1 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 1 0 0 1 1 1 0 1 0 0 0 1 0 0], [1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0], [0 1 0 1 0 0 0 0 0 0 0 1 0 1 1 1 0 0 1 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0], [1 0 0 1 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 1 1 0 0 0], [0 0 0 0 0 0 1 1 1 0 0 0 1 0 1 0 1 0 1 0 0 0 0 1], [1 0 0 0 0 0 1 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23] trace | pi:
[10 10 10 10 4 5 10 7 8 9 10 11 12 13 14 15 10 17 18 10 20 21 22 23] | [10 10 10 10 1 0 10 3 1 3 10 0 3 3 1 1 10 0 1 10 0 6 0 2]
bfs
24
dfs: A: [[0 0 1 0], [1 0 0 1], [1 0 1 1], [1 0 1 1]], initial_trace: [0 1 2 3] trace | pi:
[0 1 2 3], [0 1 0 3], [0 1 0 3], [0 1 0 2], [0 1 0 2], [0 1 0 2], [0 1 0 2], [0 1 0 2], [0 1 0 2], [0 1 0 2] | [0 1 0 2]
dfs
4
activity_selector: s: [0.587 0.081 0.076 0.697 0.305 0.127 0.118 0.374 0.414 0.868 0.556 0.043 0.513 0.947 0.118 0.324 0.098 0.379 0.294 0.323 0.211 0.369 0.108 0.154 0.215 0.379 0.585], f: [0.679 0.28 0.302 0.874 0.976 0.433 0.254 0.688 0.762 0.937 0.979 0.807 0.768 0.953 0.152 0.569 0.315 0.773 0.588 0.393 0.938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0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0], [1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0], [1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0], [1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0], [1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 1 0 0], [1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 1 0 0] | [1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 1 0 0]
activity_selector
27
find_maximum_subarray_kadane: key: [0.531 -0.443 -0.741 0.337 -0.989 -0.782], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (0, 0), (0, 0), (0, 0) | (0, 0)
find_maximum_subarray_kadane
6
binary_search: key: [0 0.023 0.056 0.058 0.09 0.108 0.113 0.141 0.152 0.153 0.164 0.188 0.194 0.207 0.285 0.327 0.328 0.331 0.335 0.339 0.343 0.349 0.353 0.36 0.37 0.392 0.42 0.421 0.432 0.439 0.466 0.479 0.492 0.525 0.546 0.562 0.584 0.584 0.59 0.617 0.642 0.682 0.731 0.734 0.74 0.745 0.768 0.772 0.788 0.789 0.832 0.851 0.853 0.86 0.904 0.954 0.958 0.984], target: 0.432, initial_trace: (0, 57) trace | (low, high):
(0, 28), (15, 28), (22, 28), (26, 28) | (28, 28)
binary_search
58
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 1 1], key: [0 1 2 3 0 1 0 0 0 1 0 0 1], initial_trace: 0 trace | s:
| 0
naive_string_matcher
13
lcs_length: string: [0 0 0 1 1], key: [3 2 2 2 3], initial_trace: [[-1 -1 -1 1 0], [-1 -1 -1 0 0], [-1 -1 -1 0 0], [-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1]] trace | b:
| [[-1 -1 -1 1 0], [-1 -1 -1 0 1], [-1 -1 -1 0 1], [-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1]]
lcs_length
5
graham_scan: x: [-0.595 0.481 -0.273 -1.21 1.27 1.4 0.76 0.189 -1.12 1.35 -1.64 -0.313 -1.45 -0.474 1.32 0.428 0.37 -0.265], y: [1.13 1.32 -0.576 -1.44 1.32 0.016 1.78 -0.595 0.944 -1.2 0.834 -1.69 -0.421 -0.645 -0.03 0.452 0.333 -1.93], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 1], [0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 0 1 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 1], [0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 1 1], [0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 1], [0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [0 1 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [0 1 1 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [0 1 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [1 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [1 0 0 0 1 1 1 0 0 1 0 0 0 1 0 0 0 1], [1 0 0 0 1 1 1 0 0 1 0 1 0 1 0 0 0 1], [1 0 0 0 1 1 1 0 0 1 0 0 0 1 0 0 0 1], [1 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 1 0 1 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 1 1 0 0 1 1 0 0 0 0 0 0 1], [0 0 0 0 1 1 1 0 0 1 1 0 1 0 0 0 0 1] | [0 0 0 1 1 1 1 0 0 1 1 0 1 0 0 0 0 1]
graham_scan
18
quicksort: key: [0.075 0.82 0.256 0.682 0.304], initial_trace: [0.075 0.82 0.256 0.682 0.304] trace | pred:
[0.075 0.82 0.256 0.682 0.304], [0.075 0.256 0.82 0.682 0.304], [0.075 0.256 0.82 0.682 0.304], [0.075 0.256 0.304 0.682 0.82], [0.075 0.256 0.304 0.682 0.82], [0.075 0.256 0.304 0.682 0.82], [0.075 0.256 0.304 0.682 0.82] | [0.075 0.256 0.304 0.682 0.82]
quicksort
5
articulation_points: A: [[0 0 0 0 0 0], [0 1 0 0 0 0], [0 0 1 0 0 0], [0 0 0 1 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0]], initial_trace: [0 0 0 0 0 0] trace | is_cut:
[0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0] | [0 0 0 0 0 0]
articulation_points
6
dijkstra: s: 3, A: [[0.123 0.82 0.487 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.82 0.954 0 0 0.253 0.082 0 0.739 0 0 0 0.613 0 0.09 0 0], [0.487 0 0.368 0 0 0 0 0 0 0.225 0 0 0.564 0 0 0], [0 0 0 0.428 0 0 0 0 0 0.255 0 0 0 0.775 0 0], [0 0.253 0 0 0.957 0 0 0 0 0 0 0 0.204 0 0 0], [0 0.082 0 0 0 0.969 0 0.158 0 0 0 0 0 0 0 0.753], [0 0 0 0 0 0 0.983 0 0 0 0 0 0 0.426 0 0], [0 0.739 0 0 0 0.158 0 0.488 0 0 0.742 0 0.316 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.132 0 0.253 0 0], [0 0 0.225 0.255 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.742 0 0 0.343 0 0.298 0 0.31 0], [0 0.613 0 0 0 0 0 0 0.132 0 0 0 0.177 0 0 0], [0 0 0.564 0 0.204 0 0 0.316 0 0 0.298 0.177 0.38 0 0 0], [0 0.09 0 0.775 0 0 0.426 0 0.253 0 0 0 0 0.555 0.702 0], [0 0 0 0 0 0 0 0 0 0 0.31 0 0 0.702 0.221 0.607], [0 0 0 0 0 0.753 0 0 0 0 0 0 0 0 0.607 0.777]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] trace | pi:
[0 1 2 3 4 5 6 7 8 3 10 11 12 3 14 15], [0 1 9 3 4 5 6 7 8 3 10 11 12 3 14 15], [2 1 9 3 4 5 6 7 8 3 10 11 2 3 14 15], [2 13 9 3 4 5 13 7 13 3 10 11 2 3 13 15], [2 13 9 3 1 1 13 1 13 3 10 1 2 3 13 15], [2 13 9 3 1 1 13 5 13 3 10 1 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 10 1 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 10 8 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 12 8 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 12 8 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 12 8 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 12 8 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 12 8 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 12 8 2 3 13 5], [2 13 9 3 1 1 13 5 13 3 12 8 2 3 13 5] | [2 13 9 3 1 1 13 5 13 3 12 8 2 3 13 5]
dijkstra
16
mst_prim: s: 29, A: [[0.98 0 0 0 0.399 0 0 0 0 0 0 0 0.724 0 0 0.203 0 0 0.632 0 0.035 0 0.223 0 0 0.348 0 0 0 0.838 0.112], [0 0 0.123 0.466 0 0.337 0 0 0 0 0.491 0 0 0 0.608 0 0 0 0.789 0.317 0 0 0 0 0 0 0.423 0.743 0.366 0.129 0.558], [0 0.123 0 0 0.675 0 0 0 0 0 0 0.816 0.333 0 0 0 0 0.422 0 0 0 0 0 0.39 0 0 0.512 0 0 0.276 0], [0 0.466 0 0 0.488 0 0 0 0 0 0 0.07 0 0 0 0 0 0 0 0 0 0.09 0.61 0 0 0 0 0 0 0 0], [0.399 0 0.675 0.488 0 0 0.113 0 0 0 0.47 0.574 0 0.715 0 0 0 0 0 0 0 0 0.248 0.148 0 0 0 0 0 0 0.424], [0 0.337 0 0 0 0 0 0.344 0.769 0 0 0.485 0 0 0 0 0.918 0 0 0 0.269 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.113 0 0 0 0 0 0.196 0 0 0 0 0.038 0 0 0 0 0 0 0 0 0 0 0.812 0 0 0 0.06], [0 0 0 0 0 0.344 0 0 0 0 0.414 0 0.4 0 0 0 0 0.885 0 0.572 0 0 0 0 0 0.041 0.293 0.739 0 0 0], [0 0 0 0 0 0.769 0 0 0 0 0 0 0 0.257 0 0 0 0 0 0 0 0 0 0 0.056 0 0.684 0 0.825 0 0], [0 0 0 0 0 0 0 0 0 0 0.214 0 0 0 0 0.789 0.433 0 0 0 0 0 0 0.697 0.364 0.484 0.459 0 0.273 0 0.174], [0 0.491 0 0 0.47 0 0.196 0.414 0 0.214 0 0 0 0 0.332 0 0 0 0 0.306 0 0.258 0 0.547 0 0.593 0.577 0.453 0 0.162 0], [0 0 0.816 0.07 0.574 0.485 0 0 0 0 0 0.032 0.553 0 0 0 0.531 0.422 0 0 0 0 0 0 0 0 0 0 0.058 0 0.391], [0.724 0 0.333 0 0 0 0 0.4 0 0 0 0.553 0 0 0 0.472 0.278 0 0 0.455 0.267 0 0 0 0 0 0.824 0 0 0 0], [0 0 0 0 0.715 0 0 0 0.257 0 0 0 0 0 0 0.054 0 0 0 0 0 0.467 0 0.499 0.437 0.899 0 0 0 0 0], [0 0.608 0 0 0 0 0 0 0 0 0.332 0 0 0 0.032 0 0 0 0 0.152 0 0 0 0 0 0 0 0.816 0.391 0 0], [0.203 0 0 0 0 0 0.038 0 0 0.789 0 0 0.472 0.054 0 0 0 0 0 0.786 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.918 0 0 0 0.433 0 0.531 0.278 0 0 0 0.736 0 0 0 0 0.278 0 0 0.193 0.11 0 0.166 0 0.522 0.431], [0 0 0.422 0 0 0 0 0.885 0 0 0 0.422 0 0 0 0 0 0.794 0 0 0.29 0 0 0 0.225 0.861 0 0.049 0 0 0.484], [0.632 0.789 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.677 0 0 0.745 0 0.087], [0 0.317 0 0 0 0 0 0.572 0 0 0.306 0 0.455 0 0.152 0.786 0 0 0 0 0 0 0 0 0.401 0 0 0 0.977 0 0], [0.035 0 0 0 0 0.269 0 0 0 0 0 0 0.267 0 0 0 0 0.29 0 0 0 0 0.817 0 0 0.711 0.614 0 0.218 0 0], [0 0 0 0.09 0 0 0 0 0 0 0.258 0 0 0.467 0 0 0.278 0 0 0 0 0.391 0 0 0 0 0 0.655 0 0.857 0], [0.223 0 0 0.61 0.248 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.817 0 0 0 0.093 0 0.966 0 0 0 0], [0 0 0.39 0 0.148 0 0 0 0 0.697 0.547 0 0 0.499 0 0 0 0 0 0 0 0 0 0 0.64 0 0 0 0.295 0 0], [0 0 0 0 0 0 0 0 0.056 0.364 0 0 0 0.437 0 0 0.193 0.225 0 0.401 0 0 0.093 0.64 0.673 0 0 0.125 0.61 0 0], [0.348 0 0 0 0 0 0 0.041 0 0.484 0.593 0 0 0.899 0 0 0.11 0.861 0.677 0 0.711 0 0 0 0 0 0.247 0.574 0 0 0], [0 0.423 0.512 0 0 0 0.812 0.293 0.684 0.459 0.577 0 0.824 0 0 0 0 0 0 0 0.614 0 0.966 0 0 0.247 0 0 0 0 0], [0 0.743 0 0 0 0 0 0.739 0 0 0.453 0 0 0 0.816 0 0.166 0.049 0 0 0 0.655 0 0 0.125 0.574 0 0 0 0 0], [0 0.366 0 0 0 0 0 0 0.825 0.273 0 0.058 0 0 0.391 0 0 0 0.745 0.977 0.218 0 0 0.295 0.61 0 0 0 0 0 0], [0.838 0.129 0.276 0 0 0 0 0 0 0 0.162 0 0 0 0 0 0.522 0 0 0 0 0.857 0 0 0 0 0 0 0 0.832 0], [0.112 0.558 0 0 0.424 0 0.06 0 0 0.174 0 0.391 0 0 0 0 0.431 0.484 0.087 0 0 0 0 0 0 0 0 0 0 0 0.464]], initial_trace: [0 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] trace | pi:
[29 29 29 3 4 5 6 7 8 9 29 11 12 13 14 15 29 17 18 19 20 29 22 23 24 25 26 27 28 29 30], [29 29 1 1 4 1 6 7 8 9 29 11 12 13 1 15 29 17 1 1 20 29 22 23 24 25 1 1 1 29 1], [29 29 1 1 2 1 6 7 8 9 29 2 2 13 1 15 29 2 1 1 20 29 22 2 24 25 1 1 1 29 1], [29 29 1 1 10 1 10 10 8 10 29 2 2 13 10 15 29 2 1 10 20 10 22 2 24 10 1 10 1 29 1], [29 29 1 1 6 1 10 10 8 10 29 2 2 13 10 6 29 2 1 10 20 10 22 2 24 10 1 10 1 29 6], [15 29 1 1 6 1 10 10 8 10 29 2 2 15 10 6 29 2 1 10 20 10 22 2 24 10 1 10 1 29 6], [15 29 1 1 6 1 10 10 13 10 29 2 2 15 10 6 29 2 1 10 20 10 22 2 13 10 1 10 1 29 6], [30 29 1 1 6 1 10 10 13 30 29 30 2 15 10 6 30 2 30 10 20 10 22 2 13 10 1 10 1 29 6], [30 29 1 1 6 1 10 10 13 30 29 30 2 15 10 6 30 2 30 10 20 10 22 2 13 10 1 10 1 29 6], [30 29 1 1 6 1 10 10 13 30 29 30 2 15 10 6 30 2 30 10 0 10 0 2 13 0 1 10 1 29 6], [30 29 1 1 6 20 10 10 13 30 29 30 20 15 10 6 30 20 30 10 0 10 0 2 13 0 1 10 20 29 6], [30 29 1 1 6 20 10 10 13 30 29 30 20 15 10 6 30 20 30 10 0 10 0 4 13 0 1 10 20 29 6], [30 29 1 1 6 20 10 10 13 30 29 30 20 15 10 6 30 20 30 10 0 10 0 4 13 0 1 10 20 29 6], [30 29 1 1 6 20 10 10 13 30 29 30 20 15 10 6 30 20 30 10 0 10 0 4 9 0 1 10 20 29 6], [30 29 1 1 6 20 10 10 13 30 29 28 20 15 10 6 30 20 30 10 0 10 0 4 9 0 1 10 20 29 6], [30 29 1 11 6 20 10 10 13 30 29 28 20 15 10 6 30 20 30 10 0 10 0 4 9 0 1 10 20 29 6], [30 29 1 11 6 20 10 10 13 30 29 28 20 15 10 6 30 20 30 10 0 3 0 4 9 0 1 10 20 29 6], [30 29 1 11 6 20 10 10 13 30 29 28 20 15 10 6 21 20 30 10 0 3 0 4 9 0 1 10 20 29 6], [30 29 1 11 6 20 10 10 13 30 29 28 20 15 10 6 21 20 30 10 0 3 0 4 22 0 1 10 20 29 6], [30 29 1 11 6 20 10 10 24 30 29 28 20 15 10 6 24 24 30 10 0 3 0 4 22 0 1 24 20 29 6], [30 29 1 11 6 20 10 10 24 30 29 28 20 15 10 6 24 24 30 10 0 3 0 4 22 0 1 24 20 29 6], [30 29 1 11 6 20 10 10 24 30 29 28 20 15 10 6 27 27 30 10 0 3 0 4 22 0 1 24 20 29 6], [30 29 1 11 6 20 10 10 24 30 29 28 20 15 10 6 27 27 30 10 0 3 0 4 22 0 1 24 20 29 6], [30 29 1 11 6 20 10 10 24 30 29 28 20 15 10 6 27 27 30 10 0 3 0 4 22 16 1 24 20 29 6], [30 29 1 11 6 20 10 25 24 30 29 28 20 15 10 6 27 27 30 10 0 3 0 4 22 16 25 24 20 29 6], [30 29 1 11 6 20 10 25 24 30 29 28 20 15 10 6 27 27 30 10 0 3 0 4 22 16 25 24 20 29 6], [30 29 1 11 6 20 10 25 24 30 29 28 20 15 10 6 27 27 30 10 0 3 0 4 22 16 25 24 20 29 6], [30 29 1 11 6 20 10 25 24 30 29 28 20 15 10 6 27 27 30 10 0 3 0 4 22 16 25 24 20 29 6], [30 29 1 11 6 20 10 25 24 30 29 28 20 15 10 6 27 27 30 10 0 3 0 4 22 16 25 24 20 29 6], [30 29 1 11 6 20 10 25 24 30 29 28 20 15 19 6 27 27 30 10 0 3 0 4 22 16 25 24 20 29 6] | [30 29 1 11 6 20 10 25 24 30 29 28 20 15 19 6 27 27 30 10 0 3 0 4 22 16 25 24 20 29 6]
mst_prim
31
activity_selector: s: [0.182 0.302 0.139 0.368 0.659 0.111 0.356 0.174 0.374 0.613 0.381 0.061 0.669 0.251 0.103 0.556 0.052 0.076 0.534 0.039 0.228 0.1 0.149 0.004 0.082 0.151 0.2 0.214 0.055 0.349 0.338 0.801 0.001 0.76 0.676 0.249 0.358 0.391 0.211 0.714 0.352 0.355 0.021 0.363 0.018 0.375 0.371 0.135 0.147 0.211], f: [0.804 0.566 0.963 0.717 0.994 0.337 0.849 0.629 0.478 0.948 0.786 0.792 0.79 0.526 0.579 0.727 0.835 0.503 0.812 0.638 0.529 0.309 0.297 0.3 0.818 0.65 0.3 0.628 0.15 0.696 0.567 0.897 0.381 0.92 0.888 0.749 0.631 0.661 0.682 0.831 0.421 0.968 0.817 0.975 0.142 0.734 0.681 0.227 0.183 0.43], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0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0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0] | [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0]
activity_selector
50
strongly_connected_components: A: [[1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1], [0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [1 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0], [0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] trace | scc_id:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 14 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 15], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2], [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2] | [0 1 2 3 4 5 6 7 8 6 6 11 12 7 7 2]
strongly_connected_components
16
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1], key: [2 2 2 0 1 0 1 1 2 0 0 3 0 0 2 0 2 3 1 2 3 3 3 1 3 2 1 1 1 3 2 3 3 3 1 2 0 0 2 0 3 3 3 1 3 2 1 1 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 | 20
kmp_matcher
49
quickselect: key: [0.099 0.458 0.428 0.328 0.97 0.753 0.455 0.629 0.275], initial_trace: 8 trace | pivot:
8, 8, 8, 8, 8, 8, 8, 8, 1, 1, 1, 1, 1, 1, 1, 6, 6 | 6
quickselect
9
minimum: key: [0.171 0.773 0.898 0.679 0.322 0.47 0.055 0.34 0.342 0.055 0.511 0.95 0.931 0.808 0.704 0.668 0.408 0.871 0.878 0.696 0.825 0.96 0.164 0.141 0.188 0.286 0.593 0.918 0.834 0.464 0.33 0.722 0.286 0.479 0.48 0.917 0.768 0.162 0.179 0.564 0.728], initial_trace: 0 trace | min:
0, 0, 0, 0, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 | 6
minimum
41
topological_sort: A: [[0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0], [1 0 1 0 0 0 0 0 1 1], [1 1 1 1 0 0 0 1 0 0], [1 0 1 0 0 0 0 1 0 1], [1 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0], [0 1 0 0 0 0 1 0 0 1], [0 0 1 0 0 0 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 0, [0 1 0 3 4 5 6 7 8 9], 2, [0 2 0 3 4 5 6 7 8 9], 1, [0 2 0 3 4 5 6 7 8 9], 1, [0 2 0 3 4 5 6 7 8 9], 1, [0 2 0 3 4 5 6 7 8 9], 1, [0 2 0 3 4 5 6 7 8 9], 1, [0 2 0 3 4 5 1 7 8 9], 6, [0 2 0 3 4 5 1 7 8 9], 6, [0 2 0 3 4 5 1 7 8 9], 6, [0 2 0 3 4 5 1 6 8 9], 7, [0 2 0 3 4 5 1 6 8 7], 9, [0 2 0 3 4 5 1 6 9 7], 8, [0 2 0 8 4 5 1 6 9 7], 3, [0 2 0 8 4 5 1 6 9 7], 3, [0 2 0 8 4 5 1 6 9 7], 3, [0 2 0 8 3 5 1 6 9 7], 4, [0 2 0 8 3 5 1 6 9 7], 4, [0 2 0 8 3 5 1 6 9 7], 4 | [0 2 0 8 3 4 1 6 9 7], 5
topological_sort
10
jarvis_march: x: [-0.677 0.311 0.647 -0.192 -1.23 -0.699 0.982 -0.808 0.467 0.667 0.5 -1.2 -1.43 -0.619], y: [-0.446 0.163 0.307 -0.531 -1.23 -0.916 -0.515 -1.59 -1.05 -0.269 -0.979 -0.243 0.65 -1.34], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 1 0 0 0 0 0], [0 0 0 0 0 0 0 1 1 0 0 0 0 0], [0 0 0 0 0 0 0 1 1 0 0 0 0 0], [0 0 0 0 0 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| [0 0 1 0 1 0 1 1 1 0 0 0 1 0]
jarvis_march
14
binary_search: key: [0.06 0.103 0.128 0.16 0.193 0.215 0.222 0.227 0.248 0.261 0.315 0.325 0.363 0.403 0.419 0.42 0.435 0.455 0.471 0.473 0.489 0.558 0.571 0.573 0.58 0.598 0.599 0.629 0.634 0.647 0.687 0.7 0.705 0.712 0.732 0.738 0.744 0.747 0.754 0.774 0.792 0.798 0.802 0.806 0.806 0.832 0.891 0.942 0.987 0.994], target: 0.301, initial_trace: (0, 49) trace | (low, high):
(0, 24), (0, 12), (7, 12), (10, 12), (10, 11) | (10, 10)
binary_search
50
task_scheduling: d: [3 4 3 6 3 6], w: [0.958 0.047 0.773 0.146 0.333 0.726], initial_trace: [0 0 0 0 0 0] trace | selected:
[1 0 0 0 0 0], [1 0 1 0 0 0], [1 0 1 0 0 1], [1 0 1 0 0 1], [1 0 1 1 0 1] | [1 0 1 1 0 1]
task_scheduling
6
bellman_ford: s: 1, A: [[0 0 0 0 0], [0 0.276 0 0 0], [0 0 0 0 0], [0 0 0 0.17 0], [0 0 0 0 0.217]], initial_trace: [0 1 2 3 4] trace | pi:
| [0 1 2 3 4]
bellman_ford
5
articulation_points: A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0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 0 0 0 0 0 1 0 0 1 0 0 0 0], [0 1 0 1 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 1 0 0 1 1], [1 0 0 1 1 1 0 0 0 0 1 0 1 0 1 0 0 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0], [0 1 0 0 0 1 0 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0], [0 1 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 0 0 1 0 0 1 0], [0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 1 0 0 0 1 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 0 0 0 0], [0 1 0 0 0 0 0 1 0 1 1 0 1 1 0 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 1 1 0 0 1 1 0 0 0 0 0 0 0]], initial_trace: [0 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] trace | pi:
[0 1 11 3 11 5 6 7 8 9 10 11 11 13 11 11 11 17 11 19 11 21 22 11 24 25 11 27 28 11 30 11 32 11 34 35 36 11 11 11 40 41 42] | [12 18 11 2 11 2 4 20 12 14 16 11 11 14 11 11 11 16 11 2 11 15 29 11 12 15 11 2 2 11 12 11 2 11 15 31 4 11 11 11 14 4 12]
bfs
43
articulation_points: A: [[0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1]], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | is_cut:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 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0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 1 0], [0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 0 0 0 0 0], [0 1 0 1 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 1 0 0 0 0], [1 0 1 0 1 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 1 0 1 1 1 1 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 1 1 0 0 1 0 1 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0 1 1], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1 0]], initial_trace: [0 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] trace | pi:
[0 21 2 3 4 5 6 7 21 9 10 11 12 13 21 21 21 21 18 21 20 21 21 23 21 21 21 27 28 29 21 31 32 33 34 21] | [1 21 19 8 15 1 16 1 21 1 1 1 8 1 21 21 21 21 8 21 14 21 21 30 21 21 21 14 30 22 21 16 19 24 1 21]
bfs
36
find_maximum_subarray_kadane: key: [0.405 0.292 0.021 0.32 -0.434 -0.292 -0.945 -0.822 -0.034 0.256 -0.712 -0.288 0.547 0.556 0.917 -0.907 0.545 -0.708 -0.333 0.452 0.269 0.636 0.105 -0.806 -0.401 -0.539 0.787 0.709 0.801 -0.148 0.274 0.644 -0.317 -0.792 0.151 0.1 0.747 0.797 -0.358 0.793 -0.71 -0.203 -0.437 0.179 -0.738 -0.11 0.788 -0.309 -0.811 -0.183 -0.054 0.003 0.843 -0.073 -0.015 0.627 -0.564 -0.563 -0.356 0.812], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 2), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (12, 13), (12, 14), (12, 14), (12, 14), (12, 14), (12, 14), (12, 14), (12, 14), (12, 14), (12, 22), (12, 22), (12, 22), (12, 22), (12, 22), (12, 22), (12, 28), (12, 28), (12, 30), (12, 31), (12, 31), (12, 31), (12, 31), (12, 31), (12, 31), (12, 37), (12, 37), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39), (12, 39) | (12, 39)
find_maximum_subarray_kadane
60
dijkstra: s: 25, A: [[0.846 0.542 0 0.311 0 0.442 0.216 0.079 0 0 0.667 0 0.364 0 0 0 0 0 0.79 0.059 0 0 0.365 0.884 0 0 0.313 0 0.428 0 0 0.411 0 0 0], [0.542 0 0.13 0.642 0 0.731 0 0.723 0.418 0 0 0 0 0 0 0 0 0 0.614 0 0 0 0 0 0.07 0 0.254 0 0 0 0 0 0 0.578 0], [0 0.13 0 0 0 0.356 0 0 0 0 0 0.201 0 0 0.137 0.344 0 0 0 0.327 0 0 0 0 0.637 0 0.064 0.794 0 0 0 0 0 0 0.218], [0.311 0.642 0 0.605 0 0.268 0 0.099 0 0.221 0 0 0 0 0.467 0 0.357 0 0 0 0 0 0.34 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.408 0.81 0.46 0.399 0 0 0 0 0 0 0.82 0 0 0 0 0.748 0 0 0.09 0 0 0 0 0 0.945 0 0 0.475 0 0.489 0], [0.442 0.731 0.356 0.268 0.81 0.529 0 0.241 0 0.264 0 0 0 0 0 0 0 0.805 0.384 0.163 0 0 0 0.516 0.043 0 0 0 0 0 0 0 0 0 0], [0.216 0 0 0 0.46 0 0 0 0 0 0 0 0 0 0 0 0.421 0.441 0 0.388 0 0 0.189 0 0 0 0 0 0 0 0 0 0 0 0], [0.079 0.723 0 0.099 0.399 0.241 0 0.992 0 0.667 0 0 0.371 0.598 0.507 0 0.581 0 0 0 0 0.037 0 0.931 0 0 0 0.343 0 0 0 0 0 0 0], [0 0.418 0 0 0 0 0 0 0.591 0 0.49 0.562 0 0.485 0.585 0 0.315 0 0 0.633 0 0 0.597 0.304 0.488 0.517 0 0 0 0 0 0 0 0 0], [0 0 0 0.221 0 0.264 0 0.667 0 0.769 0 0 0.306 0 0 0.362 0.413 0 0 0.783 0 0 0 0 0 0.626 0 0 0.272 0 0 0 0 0 0], [0.667 0 0 0 0 0 0 0 0.49 0 0 0.815 0.556 0 0 0 0 0.292 0 0.52 0 0.187 0 0 0 0 0 0 0 0 0 0.475 0.38 0 0.584], [0 0 0.201 0 0 0 0 0 0.562 0 0.815 0 0 0.332 0 0 0.6 0 0.261 0 0.283 0 0.503 0 0.336 0 0 0 0.209 0 0 0 0 0 0.09], [0.364 0 0 0 0 0 0 0.371 0 0.306 0.556 0 0 0 0.727 0 0 0 0.27 0 0.237 0 0 0 0 0 0 0 0 0 0 0 0.733 0 0], [0 0 0 0 0 0 0 0.598 0.485 0 0 0.332 0 0.873 0 0 0 0.927 0.579 0 0 0 0 0 0 0.75 0 0.394 0 0.503 0 0 0 0 0], [0 0 0.137 0.467 0.82 0 0 0.507 0.585 0 0 0 0.727 0 0.431 0 0.139 0 0 0 0.176 0 0.4 0 0 0 0 0 0 0.248 0 0 0.514 0 0], [0 0 0.344 0 0 0 0 0 0 0.362 0 0 0 0 0 0.484 0 0 0 0 0 0 0 0 0 0 0 0.725 0 0 0 0 0 0 0], [0 0 0 0.357 0 0 0.421 0.581 0.315 0.413 0 0.6 0 0 0.139 0 0.222 0.539 0 0 0 0.117 0.329 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.805 0.441 0 0 0 0.292 0 0 0.927 0 0 0.539 0 0.921 0 0.183 0 0 0.296 0 0 0 0 0 0 0 0 0 0.518 0], [0.79 0.614 0 0 0 0.384 0 0 0 0 0 0.261 0.27 0.579 0 0 0 0.921 0.055 0 0 0 0 0 0.818 0.808 0 0.487 0 0.264 0 0 0.12 0.718 0], [0.059 0 0.327 0 0.748 0.163 0.388 0 0.633 0.783 0.52 0 0 0 0 0 0 0 0 0.601 0 0 0 0.33 0.361 0 0 0 0 0 0.386 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.283 0.237 0 0.176 0 0 0.183 0 0 0 0 0.451 0 0.652 0 0 0 0 0.074 0 0 0.275 0 0], [0 0 0 0 0 0 0 0.037 0 0 0.187 0 0 0 0 0 0.117 0 0 0 0 0 0 0 0 0.378 0 0.874 0 0 0.392 0.899 0 0 0], [0.365 0 0 0.34 0.09 0 0.189 0 0.597 0 0 0.503 0 0 0.4 0 0.329 0 0 0 0.451 0 0.707 0.153 0.115 0 0.379 0.099 0 0 0 0 0.473 0 0.881], [0.884 0 0 0 0 0.516 0 0.931 0.304 0 0 0 0 0 0 0 0 0.296 0 0.33 0 0 0.153 0 0 0 0 0 0 0.713 0 0 0 0 0.628], [0 0.07 0.637 0 0 0.043 0 0 0.488 0 0 0.336 0 0 0 0 0 0 0.818 0.361 0.652 0 0.115 0 0 0 0 0 0.841 0 0 0.758 0 0 0], [0 0 0 0 0 0 0 0 0.517 0.626 0 0 0 0.75 0 0 0 0 0.808 0 0 0.378 0 0 0 0.448 0.821 0.838 0 0 0.281 0 0 0 0.292], [0.313 0.254 0.064 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.379 0 0 0.821 0 0 0 0 0 0 0 0 0], [0 0 0.794 0 0 0 0 0.343 0 0 0 0 0 0.394 0 0.725 0 0 0.487 0 0 0.874 0.099 0 0 0.838 0 0 0 0.495 0 0 0 0 0], [0.428 0 0 0 0.945 0 0 0 0 0.272 0 0.209 0 0 0 0 0 0 0 0 0 0 0 0 0.841 0 0 0 0 0 0 0 0.395 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.503 0.248 0 0 0 0.264 0 0.074 0 0 0.713 0 0 0 0.495 0 0.362 0.054 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.386 0 0.392 0 0 0 0.281 0 0 0 0.054 0 0 0 0.317 0], [0.411 0 0 0 0.475 0 0 0 0 0 0.475 0 0 0 0 0 0 0 0 0 0 0.899 0 0 0.758 0 0 0 0 0 0 0.16 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.38 0 0.733 0 0.514 0 0 0 0.12 0 0.275 0 0.473 0 0 0 0 0 0.395 0 0 0 0 0 0], [0 0.578 0 0 0.489 0 0 0 0 0 0 0 0 0 0 0 0 0.518 0.718 0 0 0 0 0 0 0 0 0 0 0 0.317 0 0 0 0.296], [0 0 0.218 0 0 0 0 0 0 0 0.584 0.09 0 0 0 0 0 0 0 0 0 0 0.881 0.628 0 0.292 0 0 0 0 0 0 0 0.296 0.419]], initial_trace: [0 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] trace | pi:
[0 1 2 3 4 5 6 7 25 25 10 11 12 25 14 15 16 17 25 19 20 25 22 23 24 25 25 25 28 29 25 31 32 33 25], [0 1 2 3 4 5 6 7 25 25 10 11 12 25 14 15 16 17 25 30 20 25 22 23 24 25 25 25 28 30 25 31 32 30 25], [0 1 34 3 4 5 6 7 25 25 34 34 12 25 14 15 16 17 25 30 20 25 34 34 24 25 25 25 28 30 25 31 32 34 25], [0 1 34 3 4 5 6 7 25 25 34 34 12 25 29 15 16 17 29 30 29 25 34 34 24 25 25 29 28 30 25 31 32 34 25], [0 1 34 3 4 5 6 21 25 25 21 34 12 25 29 15 21 17 29 30 29 25 34 34 24 25 25 29 28 30 25 21 32 34 25], [0 1 34 3 4 5 6 21 25 25 21 34 12 11 29 15 21 17 29 30 29 25 11 34 11 25 25 29 11 30 25 21 32 34 25], [0 1 34 3 4 5 6 21 25 25 21 34 20 11 29 15 21 20 29 30 29 25 20 34 11 25 25 29 11 30 25 21 20 34 25], [7 7 34 7 7 7 6 21 25 25 21 34 20 11 29 15 21 20 29 30 29 25 20 34 11 25 25 7 11 30 25 21 20 34 25], [7 0 34 7 7 7 0 21 25 25 21 34 20 11 29 15 21 20 29 0 29 25 0 34 11 25 0 7 11 30 25 0 20 34 25], [7 0 34 7 7 7 0 21 25 25 21 34 20 11 29 15 21 20 29 0 29 25 16 34 11 25 0 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 34 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 34 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 11 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 1 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 1 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 16 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25], [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25] | [7 2 34 7 7 7 0 21 25 25 21 34 20 11 29 2 21 20 29 0 29 25 24 8 5 25 2 7 11 30 25 0 20 34 25]
dijkstra
35
activity_selector: s: [0.404 0.16 0.359 0.312 0.47 0.004 0.622 0.408 0.585], f: [0.415 0.75 0.726 0.407 0.706 0.601 0.89 0.491 0.682], initial_trace: [0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 1 0 0 0 0 0], [0 0 0 1 0 0 0 0 0], [0 0 0 1 0 0 0 1 0], [0 0 0 1 0 0 0 1 0], [0 0 0 1 0 0 0 1 1], [0 0 0 1 0 0 0 1 1], [0 0 0 1 0 0 0 1 1], [0 0 0 1 0 0 0 1 1] | [0 0 0 1 0 0 0 1 1]
activity_selector
9
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 1 1], key: [3 0 0 3 0 2 2 3 0 0 0 3], initial_trace: 0 trace | s:
1, 1, 2 | 2
naive_string_matcher
12
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1], key: [2 1 3 1 1 3 3 2 3 2 2 1 2 0 1 0 3 1 3 2 3 2], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 3, 4, 5 | 6
kmp_matcher
22
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1], key: [3 2 0 0 0 3 1 2 1 3 0 2 1 2 1 2 3 3 2 2 1 2 3 2 2 3 1 2 0 2 1 0 0 1 2 3 2 2 3 1 2], initial_trace: 0 trace | s:
1, 2, 3, 4, 5, 6, 6, 6, 7, 8, 8, 9, 10, 11, 12, 12, 12, 13, 14, 14, 14, 14, 15, 16, 17, 18, 19, 20, 20, 20, 20, 20, 20, 20 | 20
naive_string_matcher
41
dijkstra: s: 8, A: [[0 0.073 0.712 0.886 0.67 0 0 0 0.612 0 0], [0.073 0 0 0 0 0 0 0 0.12 0.849 0.693], [0.712 0 0 0 0 0 0 0 0 0 0.073], [0.886 0 0 0 0 0 0 0 0 0 0], [0.67 0 0 0 0.478 0 0 0 0.069 0.266 0], [0 0 0 0 0 0.771 0.496 0 0 0.598 0], [0 0 0 0 0 0.496 0.513 0 0 0 0], [0 0 0 0 0 0 0 0 0.577 0 0], [0.612 0.12 0 0 0.069 0 0 0.577 0 0.441 0], [0 0.849 0 0 0.266 0.598 0 0 0.441 0.215 0.397], [0 0.693 0.073 0 0 0 0 0 0 0.397 0.037]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[8 8 2 3 8 5 6 8 8 8 10], [8 8 2 3 8 5 6 8 8 4 10], [1 8 2 3 8 5 6 8 8 4 1], [1 8 0 0 8 5 6 8 8 4 1], [1 8 0 0 8 9 6 8 8 4 9], [1 8 0 0 8 9 6 8 8 4 9], [1 8 10 0 8 9 6 8 8 4 9], [1 8 10 0 8 9 6 8 8 4 9], [1 8 10 0 8 9 5 8 8 4 9], [1 8 10 0 8 9 5 8 8 4 9] | [1 8 10 0 8 9 5 8 8 4 9]
dijkstra
11
dfs: A: [[0 1 0 1 1 0 1 0 0 0 0 0 1 1 0 1 0 1 1 0], [0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1], [1 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 1 0 0 0], [0 1 1 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 1 0], [0 1 1 1 0 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1], [1 1 1 1 0 0 1 0 0 0 1 1 0 1 1 1 1 0 0 0], [0 1 1 0 1 0 0 1 0 1 0 1 0 0 1 1 0 1 1 1], [1 1 1 0 1 0 1 0 0 0 1 1 0 1 1 0 0 1 0 0], [0 0 1 0 1 0 0 1 0 0 0 1 1 0 1 1 0 1 0 0], [1 1 0 1 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 0], [0 1 1 0 0 1 1 1 1 1 1 0 0 0 1 1 0 1 0 1], [1 1 1 0 1 0 1 0 0 0 0 1 1 0 1 1 1 0 0 0], [0 1 0 0 1 0 1 1 0 0 1 0 0 1 1 0 1 0 0 1], [1 0 0 1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 1], [0 0 0 1 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1], [0 1 1 1 0 1 0 1 0 1 0 1 0 0 0 1 1 0 0 1], [1 0 0 0 0 1 1 0 0 1 0 0 0 1 0 1 0 0 1 0], [1 1 1 0 1 1 1 0 1 1 1 1 1 0 0 0 0 0 1 1], [0 0 1 1 0 0 1 1 0 0 0 0 0 0 1 0 1 1 0 0], [1 1 0 0 1 1 0 1 0 1 0 0 1 0 0 1 1 0 1 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 4 3 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 4 3 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 4 3 5 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 4 3 5 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 7 4 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 7 4 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 9 10 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 9 7 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 9 7 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 12 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 9 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 9 13 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 9 12 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 9 12 14 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 9 12 13 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 9 12 13 15 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 9 12 13 14 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 11 9 12 13 14 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 16 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 17 18 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 17 16 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 17 16 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 19], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17], [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17] | [0 0 1 2 6 3 5 8 4 10 7 15 9 12 13 14 11 18 16 17]
dfs
20
insertion_sort: key: [0.984 0.265 0.669 0.49 0.39 0.223 0.358 0.221 0.089 0.761 0.589], initial_trace: [0.984 0.265 0.669 0.49 0.39 0.223 0.358 0.221 0.089 0.761 0.589] trace | pred:
[0.265 0.984 0.669 0.49 0.39 0.223 0.358 0.221 0.089 0.761 0.589], [0.265 0.669 0.984 0.49 0.39 0.223 0.358 0.221 0.089 0.761 0.589], [0.265 0.49 0.669 0.984 0.39 0.223 0.358 0.221 0.089 0.761 0.589], [0.265 0.39 0.49 0.669 0.984 0.223 0.358 0.221 0.089 0.761 0.589], [0.223 0.265 0.39 0.49 0.669 0.984 0.358 0.221 0.089 0.761 0.589], [0.223 0.265 0.358 0.39 0.49 0.669 0.984 0.221 0.089 0.761 0.589], [0.221 0.223 0.265 0.358 0.39 0.49 0.669 0.984 0.089 0.761 0.589], [0.089 0.221 0.223 0.265 0.358 0.39 0.49 0.669 0.984 0.761 0.589], [0.089 0.221 0.223 0.265 0.358 0.39 0.49 0.669 0.761 0.984 0.589] | [0.089 0.221 0.223 0.265 0.358 0.39 0.49 0.589 0.669 0.761 0.984]
insertion_sort
11
quickselect: key: [0.563 0.426 0.588 0.483 0.362 0.912 0.077 0.384 0.366 0.395 0.38 0.202 0.803 0.485 0.546 0.335 0.95 0.726 0.616 0.856 0.257 0.805 0.419 0.029 0.753 0.042 0.151 0.428 0.878 0.88 0.863 0.374 0.504 0.29 0.94 0.545 0.371 0.339 0.252 0.065 0.932 0.655 0.543 0.123 0.11 0.127 0.51 0.681 0.467 0.386 0.728 0.705 0.5 0.399 0.787 0.725 0.458 0.31 0.749 0.278 0.607 0.008 0.334], initial_trace: 62 trace | pivot:
62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 3, 3 | 48
quickselect
63
binary_search: key: [0.107 0.134 0.173 0.262 0.305 0.353 0.355 0.403 0.541 0.557 0.596 0.622 0.715 0.751 0.81 0.849 0.851 0.873], target: 0.329, initial_trace: (0, 17) trace | (low, high):
(0, 8), (5, 8), (5, 6) | (5, 5)
binary_search
18
task_scheduling: d: [9 23 9 26 3 22 19 21 18 15 24 13 4 16 27 9 31 31 15 9 12 26 5 26 33 14 12 17 2 24 30 17 12], w: [0.766 0.713 0.455 0.341 0.358 0.967 0.026 0.042 0.338 0.525 0.11 0.674 0.151 0.074 0.533 0.234 0.931 0.074 0.841 0.881 0.676 0.657 0.94 0.464 0.957 0.104 0.661 0.176 0.93 0.453 0.791 0.748 0.455], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0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[1 1 0 1 0 1 0 1 0 1 1 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 0]
task_scheduling
33
find_maximum_subarray_kadane: key: [-0.933 -0.716 -0.134 -0.429 0.408 0.557 -0.402 0.735 -0.295 -0.703 -0.809 0.661 0.998 -0.082 -0.63 -0.056 0.531 -0.443 -0.741 0.337 -0.989 -0.782 -0.209 0.306 -0.218], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (2, 2), (2, 2), (4, 4), (4, 5), (4, 5), (4, 7), (4, 7), (4, 7), (4, 7), (4, 7), (11, 12), (11, 12), (11, 12), (11, 12), (11, 12), (11, 12), (11, 12), (11, 12), (11, 12), (11, 12), (11, 12), (11, 12) | (11, 12)
find_maximum_subarray_kadane
25
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1], key: [3 1 0 2 3 0 0 2 2 3 1 2 2 2], initial_trace: 0 trace | s:
0, 0, 0, 1, 2, 3, 3, 4, 5, 6 | 7
kmp_matcher
14
task_scheduling: d: [10 19 2 4 16 14 21 31 13 5 28 6 22 25 30 29 23 23 22 5 17 10 31 29 23 27 21 18 15 22 13 34 20 4], w: [0.171 0.456 0.93 0.899 0.704 0.503 0.63 0.59 0.358 0.572 0.859 0.578 0.152 0.595 0.144 0.969 0.484 0.598 0.207 0.475 0.31 0.021 0.699 0.103 0.06 0.88 0.46 0.988 0.22 0.899 0.882 0.044 0.514 0.879], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 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0 0 0 1 1 1 1 1 1 0 1 1 1 1 0] | [0 1 0 1 1 0 1 1 0 0 1 0 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 0 1 1 1 1 0]
task_scheduling
34
strongly_connected_components: A: [[1 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 1 0], [0 0 0 1 0 0 0 0 0], [0 0 0 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0], [0 1 0 0 0 0 1 0 0], [0 0 0 0 0 1 0 0 0], [1 0 0 0 0 0 0 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8] trace | scc_id:
[0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 5 8], [0 1 2 3 4 5 6 5 8], [0 1 2 3 4 5 6 5 8], [0 1 2 3 4 5 6 5 8], [0 1 2 3 4 5 6 5 8], [0 1 2 3 4 5 6 5 8], [0 1 2 3 4 5 6 5 8] | [0 1 2 3 4 5 6 5 8]
strongly_connected_components
9
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1], key: [0 0 3 3 2 3 1 3 3 2 3 1 0 3 3 3 0 1 0 3 1 3 0 0 3 3 2], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0 | 0
kmp_matcher
27
segments_intersect: x: [0.091 0.204 0.033 0.327], y: [0.373 0.189 0.031 0.847] intersect:
1
segments_intersect
20
binary_search: key: [0.016 0.06 0.09 0.105 0.123 0.166 0.19 0.217 0.341 0.347 0.372 0.38 0.389 0.389 0.469 0.478 0.524 0.549 0.658 0.691 0.777 0.785 0.804 0.878 0.891 0.99], target: 0.330, initial_trace: (0, 25) trace | (low, high):
(0, 12), (7, 12), (7, 9), (7, 8) | (8, 8)
binary_search
26
bellman_ford: s: 13, A: [[0.791 0 0 0 0.263 0 0.721 0 0.663 0 0 0.182 0 0 0 0], [0 0.711 0 0 0 0 0 0.697 0.421 0.519 0 0 0 0 0 0], [0 0 0.992 0 0.152 0 0.271 0 0 0.366 0 0.366 0.985 0 0 0], [0 0 0 0.231 0 0 0 0 0 0 0 0 0.177 0 0 0], [0.263 0 0.152 0 0 0.138 0 0 0 0.788 0.677 0 0 0 0 0], [0 0 0 0 0.138 0.091 0 0 0 0 0.165 0.184 0 0 0 0], [0.721 0 0.271 0 0 0 0 0.575 0 0 0 0 0 0 0 0], [0 0.697 0 0 0 0 0.575 0.646 0 0.441 0.091 0 0 0 0 0], [0.663 0.421 0 0 0 0 0 0 0.32 0 0 0 0 0 0 0], [0 0.519 0.366 0 0.788 0 0 0.441 0 0 0.818 0 0.535 0.172 0 0], [0 0 0 0 0.677 0.165 0 0.091 0 0.818 0.872 0.246 0 0 0 0.361], [0.182 0 0.366 0 0 0.184 0 0 0 0 0.246 0 0 0 0 0.829], [0 0 0.985 0.177 0 0 0 0 0 0.535 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.172 0 0 0 0.227 0 0.17], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.361 0.829 0 0.17 0 0.468]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] trace | pi:
[0 1 2 3 4 5 6 7 8 13 10 11 12 13 14 13], [0 9 9 3 9 5 6 9 8 13 15 15 9 13 14 13], [11 9 9 12 2 10 2 9 1 13 15 10 9 13 14 13] | [4 9 9 12 2 10 2 9 1 13 15 10 9 13 14 13]
bellman_ford
16
bubble_sort: key: [0.061 0.282 0.769 0.064 0.559 0.092 0.57 0.602 0.859 0.484 0.141], initial_trace: [0.061 0.282 0.769 0.064 0.559 0.092 0.57 0.602 0.859 0.484 0.141] trace | pred:
[0.061 0.282 0.769 0.064 0.559 0.092 0.57 0.602 0.859 0.141 0.484], [0.061 0.282 0.769 0.064 0.559 0.092 0.57 0.602 0.141 0.859 0.484], [0.061 0.282 0.769 0.064 0.559 0.092 0.57 0.141 0.602 0.859 0.484], [0.061 0.282 0.769 0.064 0.559 0.092 0.141 0.57 0.602 0.859 0.484], [0.061 0.282 0.769 0.064 0.559 0.092 0.141 0.57 0.602 0.859 0.484], [0.061 0.282 0.769 0.064 0.092 0.559 0.141 0.57 0.602 0.859 0.484], [0.061 0.282 0.769 0.064 0.092 0.559 0.141 0.57 0.602 0.859 0.484], [0.061 0.282 0.064 0.769 0.092 0.559 0.141 0.57 0.602 0.859 0.484], [0.061 0.064 0.282 0.769 0.092 0.559 0.141 0.57 0.602 0.859 0.484], [0.061 0.064 0.282 0.769 0.092 0.559 0.141 0.57 0.602 0.859 0.484], [0.061 0.064 0.282 0.769 0.092 0.559 0.141 0.57 0.602 0.484 0.859], [0.061 0.064 0.282 0.769 0.092 0.559 0.141 0.57 0.484 0.602 0.859], [0.061 0.064 0.282 0.769 0.092 0.559 0.141 0.484 0.57 0.602 0.859], [0.061 0.064 0.282 0.769 0.092 0.559 0.141 0.484 0.57 0.602 0.859], [0.061 0.064 0.282 0.769 0.092 0.141 0.559 0.484 0.57 0.602 0.859], [0.061 0.064 0.282 0.769 0.092 0.141 0.559 0.484 0.57 0.602 0.859], [0.061 0.064 0.282 0.092 0.769 0.141 0.559 0.484 0.57 0.602 0.859], [0.061 0.064 0.092 0.282 0.769 0.141 0.559 0.484 0.57 0.602 0.859], [0.061 0.064 0.092 0.282 0.769 0.141 0.559 0.484 0.57 0.602 0.859], [0.061 0.064 0.092 0.282 0.769 0.141 0.559 0.484 0.57 0.602 0.859], [0.061 0.064 0.092 0.282 0.769 0.141 0.559 0.484 0.57 0.602 0.859], [0.061 0.064 0.092 0.282 0.769 0.141 0.559 0.484 0.57 0.602 0.859], [0.061 0.064 0.092 0.282 0.769 0.141 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.282 0.769 0.141 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.282 0.141 0.769 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.769 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.769 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.769 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.769 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.769 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.769 0.484 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.769 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.769 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.769 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.769 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.769 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.769 0.559 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.769 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.769 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.769 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.769 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.769 0.57 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.769 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.769 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.769 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.769 0.602 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859], [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859] | [0.061 0.064 0.092 0.141 0.282 0.484 0.559 0.57 0.602 0.769 0.859]
bubble_sort
11
mst_kruskal: A: [[0.719 0 0.695 0 0 0 0.311], [0 0 0 0 0 0 0], [0.695 0 0 0 0 0 0], [0 0 0 0 0 0 0.538], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0.311 0 0 0.538 0 0 0]], initial_trace: [[0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0]] trace | in_mst:
[[0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0]], [[0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [1 0 0 0 0 0 0]], [[0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [1 0 0 0 0 0 0]], [[0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [1 0 0 1 0 0 0]], [[0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [1 0 0 1 0 0 0]], [[0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [1 0 0 1 0 0 0]] | [[0 0 1 0 0 0 1], [0 0 0 0 0 0 0], [1 0 0 0 0 0 0], [0 0 0 0 0 0 1], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [1 0 0 1 0 0 0]]
mst_kruskal
7
segments_intersect: x: [0.372 0.619 0.548 0.583], y: [0.195 0.404 0.75 0.359] intersect:
1
segments_intersect
13
lcs_length: string: [0 0 0 0 1 1 1 1], key: [0 1 0 0 0 1 1 2], initial_trace: [[-1 -1 -1 -1 0 2 2 2], [-1 -1 -1 -1 1 0 0 0], [-1 -1 -1 -1 0 0 0 0], [-1 -1 -1 -1 0 0 0 0], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1]] trace | b:
[[-1 -1 -1 -1 0 2 2 2], [-1 -1 -1 -1 1 0 0 1], [-1 -1 -1 -1 0 2 1 1], [-1 -1 -1 -1 0 2 1 1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1]], [[-1 -1 -1 -1 0 2 2 2], [-1 -1 -1 -1 1 0 0 2], [-1 -1 -1 -1 0 1 1 1], [-1 -1 -1 -1 0 1 2 1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1]], [[-1 -1 -1 -1 0 2 2 2], [-1 -1 -1 -1 1 0 0 2], [-1 -1 -1 -1 0 1 1 1], [-1 -1 -1 -1 0 1 1 1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1]] | [[-1 -1 -1 -1 0 2 2 2], [-1 -1 -1 -1 1 0 0 2], [-1 -1 -1 -1 0 1 1 1], [-1 -1 -1 -1 0 1 1 1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1]]
lcs_length
8
insertion_sort: key: [0.912 0.222 0.348 0.01 0.053 0.838 0.872 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], initial_trace: [0.912 0.222 0.348 0.01 0.053 0.838 0.872 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065] trace | pred:
[0.222 0.912 0.348 0.01 0.053 0.838 0.872 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.222 0.348 0.912 0.01 0.053 0.838 0.872 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.01 0.222 0.348 0.912 0.053 0.838 0.872 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.01 0.053 0.222 0.348 0.912 0.838 0.872 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.01 0.053 0.222 0.348 0.838 0.912 0.872 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.01 0.053 0.222 0.348 0.838 0.872 0.912 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.01 0.053 0.222 0.348 0.838 0.872 0.878 0.912 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.348 0.838 0.872 0.878 0.912 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.348 0.665 0.838 0.872 0.878 0.912 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.348 0.665 0.708 0.838 0.872 0.878 0.912 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.348 0.665 0.708 0.838 0.857 0.872 0.878 0.912 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.348 0.665 0.708 0.781 0.838 0.857 0.872 0.878 0.912 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.348 0.665 0.708 0.781 0.807 0.838 0.857 0.872 0.878 0.912 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.348 0.665 0.708 0.781 0.807 0.827 0.838 0.857 0.872 0.878 0.912 0.331 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.331 0.348 0.665 0.708 0.781 0.807 0.827 0.838 0.857 0.872 0.878 0.912 0.612 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.331 0.348 0.612 0.665 0.708 0.781 0.807 0.827 0.838 0.857 0.872 0.878 0.912 0.696 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.331 0.348 0.612 0.665 0.696 0.708 0.781 0.807 0.827 0.838 0.857 0.872 0.878 0.912 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.331 0.348 0.612 0.665 0.696 0.708 0.781 0.807 0.827 0.838 0.857 0.872 0.878 0.912 0.963 0.281 0.17 0.065], [0.008 0.01 0.053 0.222 0.281 0.331 0.348 0.612 0.665 0.696 0.708 0.781 0.807 0.827 0.838 0.857 0.872 0.878 0.912 0.963 0.17 0.065], [0.008 0.01 0.053 0.17 0.222 0.281 0.331 0.348 0.612 0.665 0.696 0.708 0.781 0.807 0.827 0.838 0.857 0.872 0.878 0.912 0.963 0.065] | [0.008 0.01 0.053 0.065 0.17 0.222 0.281 0.331 0.348 0.612 0.665 0.696 0.708 0.781 0.807 0.827 0.838 0.857 0.872 0.878 0.912 0.963]
insertion_sort
22
segments_intersect: x: [0.969 0.237 0.33 0.595], y: [0.254 0.392 0.706 0.839] intersect:
0
segments_intersect
39
activity_selector: s: [0.563 0.561 0.767 0.139 0.076 0.084 0.27 0.337 0.386 0.044 0.419 0.001 0.209 0.009 0.238 0.582 0.474 0.499 0.146 0.318 0.518 0.605 0.596 0.039 0.218 0.518 0.296 0.017 0.464 0.495 0.914 0.314 0.259 0.1 0.48 0.435 0.593 0.363 0.835 0.107 0.09 0.686 0.1 0.082 0.117 0.671 0.736 0.501 0.145 0.137 0.416], f: [0.831 0.679 0.848 0.14 0.415 0.212 0.44 0.398 0.478 0.358 0.897 0.337 0.521 0.798 0.723 0.617 0.529 0.87 0.6 0.419 0.694 0.717 0.914 0.743 0.553 0.867 0.635 0.97 0.833 0.801 0.96 0.728 0.936 0.885 0.919 0.875 0.844 0.804 0.877 0.663 0.935 0.945 0.121 0.122 0.269 0.71 0.87 0.521 0.208 0.145 0.952], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0.043 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.15 0 0 0 0 0 0.18 0 0.224 0.442], [0 0 0.681 0 0.964 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.476 0 0 0 0.253 0 0 0 0.449 0 0 0 0.344 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.734 0 0.144 0.504 0 0.273 0 0.604 0.174 0 0], [0 0 0 0 0 0 0 0.035 0.511 0 0 0 0 0.079 0.072 0 0 0 0.212 0.808 0.454], [0 0 0 0 0 0 0 0.511 0.217 0.582 0 0 0 0.372 0 0 0.723 0 0 0 0.198], [0 0 0 0 0 0.253 0 0 0.582 0 0 0.856 0.172 0 0 0 0 0.429 0.516 0.919 0], [0 0 0 0 0 0 0.734 0 0 0 0 0.673 0 0 0 0.463 0.71 0 0.674 0.14 0.224], [0.071 0 0 0.15 0 0 0 0 0 0.856 0.673 0.767 0.587 0 0 0 0.108 0.096 0 0 0.524], [0 0 0 0 0 0 0.144 0 0 0.172 0 0.587 0.375 0 0 0.512 0 0 0 0 0], [0 0 0 0 0 0.449 0.504 0.079 0.372 0 0 0 0 0.907 0 0.383 0 0 0 0 0], [0 0.61 0 0 0 0 0 0.072 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.687 0 0 0 0 0 0.273 0 0 0 0.463 0 0.512 0.383 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.723 0 0.71 0.108 0 0 0 0 0 0 0.506 0 0], [0.719 0 0.043 0.18 0 0.344 0.604 0 0 0.429 0 0.096 0 0 0 0 0 0 0.378 0 0], [0.442 0 0 0 0 0 0.174 0.212 0 0.516 0.674 0 0 0 0 0 0.506 0.378 0 0 0.056], [0 0 0 0.224 0 0 0 0.808 0 0.919 0.14 0 0 0 0 0 0 0 0 0.887 0], [0 0 0 0.442 0 0 0 0.454 0.198 0 0.224 0.524 0 0 0 0 0 0 0.056 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 0 12 13 14 0 16 0 0 19 20], [0 1 2 11 4 5 6 7 8 11 11 0 11 13 14 0 11 11 0 19 11], [0 1 17 11 4 17 17 7 8 17 11 0 11 13 14 0 11 11 17 19 11], [0 1 17 11 2 17 17 7 8 17 11 0 11 13 14 0 11 11 17 19 11], [0 1 17 11 2 17 17 7 16 17 11 0 11 13 14 0 11 11 17 19 11], [0 1 17 11 2 17 17 7 16 17 11 0 11 13 14 0 11 11 17 3 3], [0 1 17 11 2 17 17 19 16 17 19 0 11 13 14 0 11 11 17 3 3], [0 1 17 11 2 17 17 19 16 17 19 0 11 13 14 10 11 11 17 3 10], [0 1 17 11 2 17 17 20 20 17 19 0 11 13 14 10 11 11 20 3 10], [0 1 17 11 2 17 18 18 20 17 19 0 11 13 14 10 11 11 20 3 10], [0 1 17 11 2 17 18 18 20 17 19 0 6 6 14 6 11 11 20 3 10], [0 1 17 11 2 17 18 18 20 12 19 0 6 6 14 6 11 11 20 3 10], [0 1 17 11 2 9 18 18 20 12 19 0 6 6 14 6 11 11 20 3 10], [0 1 17 11 2 9 18 18 20 12 19 0 6 8 14 6 11 11 20 3 10], [0 1 17 11 2 9 18 18 20 12 19 0 6 7 7 6 11 11 20 3 10], [0 14 17 11 2 9 18 18 20 12 19 0 6 7 7 6 11 11 20 3 10], [0 14 17 11 2 9 18 18 20 12 19 0 6 7 7 6 11 11 20 3 10], [0 14 17 11 2 9 18 18 20 12 19 0 6 7 7 6 11 11 20 3 10], [0 14 17 11 2 9 18 18 20 12 19 0 6 7 7 6 11 11 20 3 10], [0 14 17 11 2 9 18 18 20 12 19 0 6 7 7 6 11 11 20 3 10] | [0 14 17 11 2 9 18 18 20 12 19 0 6 7 7 6 11 11 20 3 10]
mst_prim
21
bfs: s: 3, A: [[0 0 0 0], [0 1 0 1], [0 0 0 0], [0 1 0 0]], initial_trace: [0 1 2 3] trace | pi:
| [0 3 2 3]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 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0], [0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 1 1 1 0 1 0 0 0 0 1], [0 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0], [1 0 1 0 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0], [1 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 1 1 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0]], initial_trace: [0 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] trace | pi:
[0 1 2 3 20 5 6 7 8 20 10 11 12 20 14 15 20 17 18 20 20 21 22 23 24 25 26 27 28], [9 16 9 3 20 4 9 19 8 20 4 11 12 20 9 9 20 13 13 20 20 9 16 9 4 25 26 9 16] | [9 16 9 0 20 4 9 19 0 20 4 0 0 20 9 9 20 13 13 20 20 9 16 9 4 5 7 9 16]
bfs
29
insertion_sort: key: [0.988 0.13 0.391 0.871 0.649], initial_trace: [0.988 0.13 0.391 0.871 0.649] trace | pred:
[0.13 0.988 0.391 0.871 0.649], [0.13 0.391 0.988 0.871 0.649], [0.13 0.391 0.871 0.988 0.649] | [0.13 0.391 0.649 0.871 0.988]
insertion_sort
5
optimal_bst: p: [0.026 0.051 0.018 0.027 0.04 0.057 0.046 0.034 0.034 0.027 0.002 0], q: [0.021 0.078 0.07 0.017 0.021 0.076 0.086 0.047 0.066 0.05 0.031 0.074], initial_trace: [[0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0]] trace | root:
[[0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 2 0 0 0 0 0 0 0 0], [0 0 0 0 3 0 0 0 0 0 0 0], [0 0 0 0 0 4 0 0 0 0 0 0], [0 0 0 0 0 0 5 0 0 0 0 0], [0 0 0 0 0 0 0 6 0 0 0 0], [0 0 0 0 0 0 0 0 7 0 0 0], [0 0 0 0 0 0 0 0 0 8 0 0], [0 0 0 0 0 0 0 0 0 0 9 0], [0 0 0 0 0 0 0 0 0 0 0 10], [0 0 0 0 0 0 0 0 0 0 0 0]], [[0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 1 0 0 0 0 0 0 0 0], [0 0 0 2 2 0 0 0 0 0 0 0], [0 0 0 0 3 4 0 0 0 0 0 0], [0 0 0 0 0 4 5 0 0 0 0 0], [0 0 0 0 0 0 5 5 0 0 0 0], [0 0 0 0 0 0 0 6 6 0 0 0], [0 0 0 0 0 0 0 0 7 8 0 0], [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 0 5 5 6 6 6 6], [0 0 0 0 0 0 0 6 6 7 7 8], [0 0 0 0 0 0 0 0 7 8 8 8], [0 0 0 0 0 0 0 0 0 8 8 9], [0 0 0 0 0 0 0 0 0 0 9 9], [0 0 0 0 0 0 0 0 0 0 0 10], [0 0 0 0 0 0 0 0 0 0 0 0]], [[0 0 1 1 1 1 4 4 4 5 5 0], [0 0 1 1 1 2 4 4 5 5 5 5], [0 0 0 2 2 4 4 5 5 5 6 6], [0 0 0 0 3 4 5 5 5 5 6 6], [0 0 0 0 0 4 5 5 5 6 6 6], [0 0 0 0 0 0 5 5 6 6 6 6], [0 0 0 0 0 0 0 6 6 7 7 8], [0 0 0 0 0 0 0 0 7 8 8 8], [0 0 0 0 0 0 0 0 0 8 8 9], [0 0 0 0 0 0 0 0 0 0 9 9], [0 0 0 0 0 0 0 0 0 0 0 10], [0 0 0 0 0 0 0 0 0 0 0 0]] | [[0 0 1 1 1 1 4 4 4 5 5 5], [0 0 1 1 1 2 4 4 5 5 5 5], [0 0 0 2 2 4 4 5 5 5 6 6], [0 0 0 0 3 4 5 5 5 5 6 6], [0 0 0 0 0 4 5 5 5 6 6 6], [0 0 0 0 0 0 5 5 6 6 6 6], [0 0 0 0 0 0 0 6 6 7 7 8], [0 0 0 0 0 0 0 0 7 8 8 8], [0 0 0 0 0 0 0 0 0 8 8 9], [0 0 0 0 0 0 0 0 0 0 9 9], [0 0 0 0 0 0 0 0 0 0 0 10], [0 0 0 0 0 0 0 0 0 0 0 0]]
optimal_bst
11
activity_selector: s: [0.649 0.036 0.537 0.277 0.855 0.085 0.105 0.306 0.055 0.213 0.913 0.752 0.646 0.281 0.035 0.237 0.823], f: [0.992 0.403 0.719 0.829 0.965 0.396 0.448 0.785 0.425 0.779 0.971 0.775 0.991 0.602 0.508 0.424 0.885], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1] | [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1]
activity_selector
17
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [3 2 3 2 1 2 0 0 2 2 0 0 1 2 0], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 1, 2, 3 | 4
kmp_matcher
15
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1], key: [1 1 2 2 1 2 2 1 0 0 0 3 2 0 0 3 2 3 1 1 0 0 0 0 1 1 1 2 0 3 0 2 0 3 1 1 2 0 3 0 2 0], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 13, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 23, 24 | 25
kmp_matcher
42
strongly_connected_components: A: [[0 0 0 0 1 0 0 1 0 0], [0 1 0 0 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 1 0], [0 0 0 0 1 0 0 1 0 1], [0 0 0 0 0 1 0 0 0 0], [0 1 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 1], [0 0 0 1 0 0 0 0 0 0], [1 0 0 0 0 0 0 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9] trace | scc_id:
[0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 6 7 3 9], [0 1 2 3 4 5 1 7 3 9], [0 1 2 3 4 5 1 7 3 9], [0 1 2 3 4 5 1 7 3 9], [0 1 2 3 4 5 1 7 3 9], [0 1 2 3 4 5 1 7 3 9], [0 1 2 3 4 5 1 7 3 0], [0 1 2 3 0 5 1 7 3 0], [0 1 2 3 0 5 1 7 3 0], [0 1 2 3 0 5 1 0 3 0], [0 1 2 3 0 5 1 0 3 0] | [0 1 2 3 0 5 1 0 3 0]
strongly_connected_components
10
minimum: key: [0.035 0.653 0.889 0.425 0.406 0.776 0.322 0.237 0.512 0.73 0.108 0.256 0.111 0.945 0.824 0.547 0.579 0.275 0.006 0.047 0.045 0.291 0.159 0.607 0.452 0.86 0.448 0.15 0.183 0.913 0.844 0.156 0.306 0.5 0.621 0.89 0.923 0.454], initial_trace: 0 trace | min:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18 | 18
minimum
38
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1], key: [3 3 2 0 1 3 3 0 3 0 3 0 1 1 1 1 1 0 1 1 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9, 10 | 11
kmp_matcher
21
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1], key: [3 0 1 3 2 3 1 3 3 2 3 1 0 0 3 3 2 1 0 0 3 3 2], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 11, 12 | 13
kmp_matcher
23
find_maximum_subarray_kadane: key: [-0.664 -0.31 0.167 -0.847 0.631 -0.198 0.13 -0.972 -0.067 0.344 0.208 0.844 -0.979 0.068 -0.436 0.899 0.937], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (2, 2), (2, 2), (4, 4), (4, 4), (4, 4), (4, 4), (4, 4), (4, 4), (4, 4), (9, 11), (9, 11), (9, 11), (9, 11), (9, 11) | (9, 16)
find_maximum_subarray_kadane
17
dag_shortest_paths: s: 11, A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.0919 0 0.686 0 0.474 0 0 0.608 0 0 0 0 0.544 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.724 0 0 0 0 0 0 0 0 0 0 0 0.464 0 0], [0 0 0.253 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.369 0.653 0.769 0.597 0 0 0 0 0.988 0.683 0.196 0 0 0.331 0 0], [0.709 0 0 0 0 0 0 0.307 0 0.652 0.368 0.576 0.57 0 0 0], [0 0 0.279 0 0.763 0 0 0 0 0 0 0 0 0 0 0], [0.237 0.218 0.254 0.579 0 0 0 0 0 0 0 0 0 0.0335 0 0], [0 0.519 0.514 0 0.476 0 0 0.568 0 0 0.963 0 0.771 0 0 0], [0.569 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.257 0 0 0 0 0 0.474 0.354 0], [0.0363 0 0 0 0.536 0 0 0 0 0 0 0 0 0 0 0], [0.307 0 0.832 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.677 0 0.393 0 0.639 0 0 0 0 0 0 0 0 0 0 0], [0.857 0 0 0.391 0.668 0 0.123 0.3 0 0.53 0 0.78 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15], [0 1 2 3 4 5 6 11 8 9 10 11 12 11 11 15], [14 1 14 3 14 5 6 11 8 9 10 11 12 11 11 15], [13 1 14 3 14 5 6 11 8 9 10 11 12 11 11 15], [13 1 14 3 14 5 6 11 8 9 10 11 12 11 11 15], [13 1 7 3 14 5 6 11 8 9 10 11 12 11 11 15] | [13 1 7 3 14 5 6 11 8 9 10 11 12 11 11 15]
dag_shortest_paths
16
insertion_sort: key: [0.341 0.292 0.653 0.637 0.119 0.118 0.656], initial_trace: [0.341 0.292 0.653 0.637 0.119 0.118 0.656] trace | pred:
[0.292 0.341 0.653 0.637 0.119 0.118 0.656], [0.292 0.341 0.653 0.637 0.119 0.118 0.656], [0.292 0.341 0.637 0.653 0.119 0.118 0.656], [0.119 0.292 0.341 0.637 0.653 0.118 0.656], [0.118 0.119 0.292 0.341 0.637 0.653 0.656] | [0.118 0.119 0.292 0.341 0.637 0.653 0.656]
insertion_sort
7
quicksort: key: [0.842 0.713 0.872 0.642 0.651 0.311 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], initial_trace: [0.842 0.713 0.872 0.642 0.651 0.311 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387] trace | pred:
[0.842 0.713 0.872 0.642 0.651 0.311 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.842 0.713 0.872 0.642 0.651 0.311 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.842 0.713 0.872 0.642 0.651 0.311 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.842 0.713 0.872 0.642 0.651 0.311 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.713 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.387], [0.311 0.387 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.872 0.642 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.872 0.651 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.872 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.872 0.842 0.48 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.842 0.872 0.57 0.5 0.49 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.57 0.872 0.842 0.5 0.49 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.842 0.872 0.49 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.872 0.842 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.872 0.842 0.872 0.458 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.842 0.872 0.872 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.842 0.872 0.872 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.842 0.872 0.872 0.951 0.715 0.713], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.642 0.651 0.48 0.57 0.5 0.49 0.458 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.651 0.48 0.57 0.5 0.49 0.642 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.651 0.48 0.57 0.5 0.49 0.642 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.651 0.57 0.5 0.49 0.642 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.57 0.651 0.5 0.49 0.642 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.57 0.5 0.651 0.49 0.642 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.57 0.5 0.49 0.651 0.642 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.57 0.5 0.49 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.57 0.5 0.49 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.57 0.5 0.49 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.57 0.5 0.49 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.872 0.872 0.951 0.715 0.842], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.715 0.872 0.951 0.872 0.842], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.715 0.842 0.951 0.872 0.872], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.715 0.842 0.951 0.872 0.872], [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.715 0.842 0.872 0.951 0.872] | [0.311 0.387 0.458 0.48 0.49 0.5 0.57 0.642 0.651 0.713 0.715 0.842 0.872 0.872 0.951]
quicksort
15
find_maximum_subarray_kadane: key: [-0.483 -0.786 -0.044 -0.646 -0.309 0.613 -0.933 -0.594 0.377 0.475 0.878 0.139 -0.863 0.519 -0.996 -0.943 -0.362 0.503 -0.507 -0.354 -0.61 0.725 0.469 -0.683 -0.911 -0.822 -0.508 -0.244 0.68 -0.551 -0.91 0.652 0.03 0.3 0.181 0.469 -0.376 -0.56 -0.048 0.289 0.343 -0.756 0.09 -0.119 0.003 0.212 0.371 0.802 0.247 -0.085 0.484 -0.421 -0.629 -0.036 -0.164 0.251 0.452 0.945], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (2, 2), (2, 2), (2, 2), (5, 5), (5, 5), (5, 5), (5, 5), (8, 9), (8, 10), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (8, 11), (31, 47), (31, 48), (31, 48), (31, 50), (31, 50), (31, 50), (31, 50), (31, 50), (31, 50), (31, 50) | (31, 57)
find_maximum_subarray_kadane
58
graham_scan: x: [-1.28 -0.493 0.083 -1.32 1.17 0.09 -0.005 -0.426 0.932 -0.807 -1.01 -1.83 -0.709 -0.984 0.27 1.11 1.87 1.89 1.13 -0.712 1.51 -1.6 0.161 -1.08 -0.913], y: [0.015 -1.64 1.43 0.039 1.18 -0.526 -0.156 0.943 -1.65 1.81 0.108 0.426 0.726 0.876 -1.8 -0.836 0.136 0.197 -0.541 0.691 1.13 -0.152 -1.08 1.08 0.034], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0], [0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0], [0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0], [0 0 1 0 0 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0], [0 0 1 0 0 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 1 0 0], [0 0 1 0 0 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0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], [0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 1 0], [0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 1 0], [0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 1 1 0 0 0] | [0 1 0 0 0 0 0 0 1 1 0 1 0 0 1 0 1 1 0 0 1 1 0 0 0]
graham_scan
25
quickselect: key: [0.849 0.344 0.855 0.898 0.518 0.483 0.454 0.875 0.517 0.317 0.244 0.117 0.303 0.669 0.591 0.56 0.583 0.053 0.482 0.926 0.61 0.636 0.49 0.181 0.925 0.793 0.791 0.619 0.154 0.091 0.204 0.033 0.327 0.373 0.189 0.031 0.847 0.103 0.326], initial_trace: 38 trace | pivot:
38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 33, 33, 33, 33, 33, 33, 33, 4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 6, 6, 6, 6, 18, 18, 18, 22, 22 | 5
quickselect
39
find_maximum_subarray_kadane: key: [0.226 0.265 -0.906 -0.914 -0.513 0.07 -0.311 -0.652 -0.23 0.588 0.761 -0.665 -0.817 -0.006 0.956 -0.142 -0.616 -0.436 0.232 -0.753 -0.961 0.086 -0.016 0.315 0.773 0.237 -0.54 -0.451 -0.585 0.948 0.35], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (9, 9), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (9, 10), (21, 25), (21, 25), (21, 25), (21, 25), (21, 25) | (21, 25)
find_maximum_subarray_kadane
31
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1], key: [3 1 2 1 3 2 3 2 1 2 2 1 2 3 2 3 2 0 2 0 1 3 3 0 3 0 3 2 1 2 3 2 3 2 0], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10 | 11
kmp_matcher
35
jarvis_march: x: [0.333 1.86 1.42 -1.95 -0.403], y: [-0.333 -0.378 0.745 -0.147 -1.7], initial_trace: [0 0 0 0 0] trace | in_hull:
[0 0 0 0 1], [0 0 0 0 1], [0 0 0 0 1], [0 0 0 0 1], [0 0 0 0 1], [0 0 0 0 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 1 0 1], [0 1 1 0 1], [0 1 1 0 1], [0 1 1 0 1], [0 1 1 0 1], [0 1 1 0 1], [0 1 1 1 1], [0 1 1 1 1], [0 1 1 1 1], [0 1 1 1 1], [0 1 1 1 1] | [0 1 1 1 1]
jarvis_march
5
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1], key: [3 3 0 3 3 0 2 2 1 3 2 2 2 3 2 3 0 0 1 3 0 0 3 1 1 0 3 0 2 3 3 1 0 2 2 1 3 2 2], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4 | 5
kmp_matcher
39
activity_selector: s: [0.087 0.044 0.239 0.014 0.057 0.159 0.71 0.393 0.894 0.126 0.239 0.715 0.079 0.101], f: [0.853 0.153 0.472 0.33 0.802 0.546 0.764 0.492 0.984 0.198 0.453 0.76 0.566 0.47], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 1 0 0], [0 1 0 0 0 0 0 0 0 0 1 1 0 0], [0 1 0 0 0 0 0 0 0 0 1 1 0 0], [0 1 0 0 0 0 0 0 0 0 1 1 0 0] | [0 1 0 0 0 0 0 0 1 0 1 1 0 0]
activity_selector
14
segments_intersect: x: [0.93 0.899 0.704 0.503], y: [0.63 0.59 0.358 0.572] intersect:
0
segments_intersect
50
find_maximum_subarray_kadane: key: [0.506 -0.09 0.259 -0.449 0.435], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (0, 2), (0, 2) | (0, 2)
find_maximum_subarray_kadane
5

CLRS Text Testing Datasets

Dataset containing 5 different test splits for the CLRS-30 Algorithms, each split is generated with a different random seed using our GitHub code. The full list of 30 algorithms and lengths included in each split is available here.

The full paper available on ArXiv

Licensing Information

We are releasing this dataset under the terms of Apache-2.0.

Bibtex

If you use our dataset, please cite us:

@article{markeeva2024clrs,
  title={The CLRS-Text Algorithmic Reasoning Language Benchmark},
  author={Markeeva, Larisa and McLeish, Sean and Ibarz, Borja and Bounsi, Wilfried and Kozlova, Olga and Vitvitskyi, Alex and Blundell, Charles and Goldstein, Tom and Schwarzschild, Avi and Veli{\v{c}}kovi{\'c}, Petar},
  journal={arXiv preprint arXiv:2406.04229},
  year={2024}
}

Full List of Algorithms

  • activity_selector
  • articulation_points
  • bellman_ford
  • bfs
  • binary_search
  • bridges
  • bubble_sort
  • dag_shortest_paths
  • dfs
  • dijkstra
  • find_maximum_subarray_kadane
  • floyd_warshall
  • graham_scan
  • heapsort
  • insertion_sort
  • jarvis_march
  • kmp_matcher
  • lcs_length
  • matrix_chain_order
  • minimum
  • mst_kruskal
  • mst_prim
  • naive_string_matcher
  • optimal_bst
  • quickselect
  • quicksort
  • segments_intersect
  • strongly_connected_components
  • task_scheduling
  • topological_sort
Downloads last month
52

Collection including tomg-group-umd/CLRS-Text-test