Datasets:

question
stringlengths
67
7.6k
answer
stringlengths
3
7.92k
algo_name
stringclasses
30 values
length
int64
4
64
matrix_chain_order: p: [0.292 0.653 0.637 0.119 0.118 0.656 0.367 0.161], 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]] trace | s:
[[0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0], [0 0 0 2 0 0 0 0], [0 0 0 0 3 0 0 0], [0 0 0 0 0 4 0 0], [0 0 0 0 0 0 5 0], [0 0 0 0 0 0 0 6], [0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0], [0 0 1 1 2 0 0 0], [0 0 0 2 2 3 0 0], [0 0 0 0 3 4 4 0], [0 0 0 0 0 4 4 5], [0 0 0 0 0 0 5 6], [0 0 0 0 0 0 0 6], [0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0], [0 0 1 1 3 3 3 3], [0 0 0 2 2 4 3 4], [0 0 0 0 3 4 3 4], [0 0 0 0 0 4 4 4], [0 0 0 0 0 0 5 6], [0 0 0 0 0 0 0 6], [0 0 0 0 0 0 0 0]] | [[0 0 0 0 0 0 0 0], [0 0 1 1 3 4 4 3], [0 0 0 2 2 4 3 3], [0 0 0 0 3 4 3 3], [0 0 0 0 0 4 4 4], [0 0 0 0 0 0 5 6], [0 0 0 0 0 0 0 6], [0 0 0 0 0 0 0 0]]
matrix_chain_order
8
graham_scan: x: [0.048 0.826 -1.15 0.13 1.7 -0.678 1.58 -0.58 0.083 -0.462 -0.686 -0.687 0.21 -1.81 1.78 -0.873 -1.74 -0.042 0.536 -0.329 0.616 -1.17], y: [-1.89 1.59 -1.22 1.41 -0.002 0.084 -1.05 0.283 -1.81 0.724 -1.54 0.763 -0.37 -0.34 -0.066 -1.02 -0.946 -1.49 1.42 0.965 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 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [1 1 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0], [1 1 0 1 0 0 1 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0], [1 1 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0], [1 1 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0], [1 1 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0], [1 1 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [1 1 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1], [1 1 0 1 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1], [1 1 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1], [1 1 0 1 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1], [1 1 1 1 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1], [1 1 0 1 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1], [1 1 0 1 0 0 1 0 0 0 0 0 0 1 1 0 1 0 0 0 0 1] | [1 1 0 1 0 0 1 0 0 0 1 0 0 1 1 0 1 0 0 0 0 1]
graham_scan
22
binary_search: key: [0.055 0.055 0.141 0.164 0.188 0.286 0.322 0.33 0.34 0.342 0.408 0.464 0.47 0.511 0.593 0.668 0.679 0.696 0.704 0.773 0.808 0.825 0.834 0.871 0.878 0.898 0.918 0.931 0.95 0.96], target: 0.722, initial_trace: (0, 29) trace | (low, high):
(15, 29), (15, 22), (19, 22), (19, 20) | (19, 19)
binary_search
30
dfs: A: [[1 0 0 0], [1 0 1 0], [1 1 0 0], [1 1 0 0]], initial_trace: [0 1 2 3] trace | pi:
[0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 1 3], [0 1 1 3], [0 1 1 3], [0 1 1 3], [0 1 1 3], [0 1 1 3] | [0 1 1 3]
dfs
4
bellman_ford: s: 6, A: [[0 0 0 0 0.263 0 0.064 0 0 0 0.456 0 0.294 0], [0 0 0 0 0 0 0.265 0 0 0 0.486 0 0 0], [0 0 0.405 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.436 0 0 0 0 0 0.139 0 0 0 0], [0.263 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.086 0 0.169 0 0.122 0.238 0 0 0], [0.064 0.265 0 0 0 0 0 0.084 0 0 0 0 0 0.471], [0 0 0 0 0 0.169 0.084 0.538 0.065 0.654 0 0 0 0], [0 0 0 0 0 0 0 0.065 0 0.374 0 0 0 0], [0 0 0 0.139 0 0.122 0 0.654 0.374 0.721 0 0 0 0], [0.456 0.486 0 0 0 0.238 0 0 0 0 0.889 0 0.141 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.601], [0.294 0 0 0 0 0 0 0 0 0 0.141 0 0.371 0.595], [0 0 0 0 0 0 0.471 0 0 0 0 0.601 0.595 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13] trace | pi:
[6 6 2 3 4 5 6 6 8 9 10 11 12 6], [6 6 2 3 0 7 6 6 7 7 0 13 0 6], [6 6 2 9 0 7 6 6 7 5 5 13 0 6] | [6 6 2 9 0 7 6 6 7 5 5 13 0 6]
bellman_ford
14
dag_shortest_paths: s: 13, A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.463 0 0 0 0 0.00701 0 0 0 0.604 0.339 0.548 0 0 0 0 0], [0.321 0 0 0 0 0 0.463 0 0 0 0 0 0 0 0 0 0.558 0 0 0 0 0 0], [0.365 0 0.765 0 0 0 0.928 0 0 0 0.481 0.328 0 0 0 0 0 0 0 0 0.0516 0.943 0], [0 0.286 0.243 0.954 0 0.965 0.552 0 0.472 0.668 0.732 0.813 0.409 0 0 0.316 0 0 0 0 0.621 0.35 0], [0 0.86 0 0 0 0 0 0 0 0 0 0 0 0.928 0 0 0.0461 0 0 0 0.282 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.777 0 0 0 0 0 0 0], [0.638 0 0.191 0 0 0.26 0.128 0 0 0.309 0.0162 0.626 0.336 0.383 0 0.177 0 0 0 0 0.161 0 0], [0 0 0.244 0 0 0 0.533 0 0 0 0 0.585 0 0 0 0 0.188 0 0 0 0 0 0], [0.304 0 0.00812 0 0 0 0.559 0 0 0 0 0.185 0 0.437 0 0.539 0.606 0 0 0 0.339 0 0], [0.547 0.235 0 0 0 0 0 0 0.407 0.446 0 0 0 0 0 0.614 0.862 0 0 0 0.372 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.384 0.825 0 0 0 0 0 0], [0.813 0.508 0.618 0.921 0 0 0.028 0 0 0.829 0.567 0.101 0 0.749 0 0 0.399 0.747 0 0 0.571 0 0], [0.537 0 0 0 0 0 0.584 0 0 0 0 0.661 0 0 0 0 0.396 0 0 0 0.782 0 0], [0.407 0.609 0 0 0.151 0.118 0.286 0 0 0.691 0 0.972 0 0 0 0 0.714 0.917 0.0191 0 0 0 0.00785], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.534 0 0 0 0 0 0.724 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.713 0 0 0 0 0 0 0 0 0.977 0.944 0 0 0 0 0 0], [0 0 0 0.255 0 0.0207 0.754 0 0 0.651 0.0308 0.0691 0.305 0.0239 0 0 0.324 0 0 0 0 0 0], [0.44 0 0 0 0 0.31 0.985 0.937 0 0 0.625 0 0.383 0.597 0 0 0 0 0 0 0 0 0], [0.469 0 0.506 0 0 0 0.673 0 0 0 0 0 0 0 0 0.784 0.393 0.901 0 0 0 0 0], [0 0.202 0.104 0 0 0 0 0 0 0.00906 0 0.33 0 0 0 0 0.809 0 0 0 0.737 0 0], [0 0 0 0 0 0 0 0 0.0326 0 0 0 0.652 0 0 0.363 0 0.915 0 0 0.895 0.0503 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] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [13 1 2 3 4 5 13 7 8 9 10 13 12 13 14 15 13 17 18 19 13 21 22], [13 1 20 3 4 5 13 7 8 9 10 13 12 13 14 20 13 20 18 19 13 21 22], [13 1 20 3 4 5 13 7 8 9 10 13 12 13 14 20 13 20 18 19 13 21 22], [13 1 20 3 4 5 13 7 8 9 10 13 12 13 14 20 13 20 18 19 13 21 22], [13 1 20 3 4 5 13 7 8 9 10 13 12 13 14 11 13 20 18 19 13 21 22], [13 1 20 3 4 5 13 7 8 9 10 13 12 13 14 11 13 20 18 19 13 21 22], [13 1 20 3 4 5 13 7 8 9 10 13 12 13 14 11 13 20 18 19 13 21 22] | [13 1 20 3 4 5 13 7 8 9 10 13 12 13 14 11 13 20 18 19 13 21 22]
dag_shortest_paths
23
find_maximum_subarray_kadane: key: [0.374 -0.216 0.81 -0.722 -0.845 0.853 0.446 0.946 0.925 0.334 -0.611 0.922 0.108 -0.339 -0.333 -0.218 0.934 -0.046 0.424 -0.089 0.828 -0.914 -0.338 0.137 -0.566 -0.605 -0.228 -0.543 -0.383 -0.851 -0.79 0.165 -0.622 -0.531 -0.892 -0.272 0.114 0.628 0.581 -0.419 0.103 -0.6], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (0, 2), (0, 2), (0, 2), (0, 2), (5, 6), (5, 7), (5, 8), (5, 9), (5, 9), (5, 11), (5, 12), (5, 12), (5, 12), (5, 12), (5, 16), (5, 16), (5, 18), (5, 18), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20), (5, 20) | (5, 20)
find_maximum_subarray_kadane
42
mst_prim: s: 10, A: [[0.389 0 0.314 0.463 0 0 0 0 0 0 0 0 0 0], [0 0.092 0.377 0 0 0.538 0 0 0 0.743 0 0 0 0], [0.314 0.377 0.25 0 0.272 0 0 0 0 0.205 0 0 0 0.083], [0.463 0 0 0.043 0 0 0.178 0 0.437 0.616 0 0 0.53 0.525], [0 0 0.272 0 0 0 0 0 0.451 0 0 0 0.632 0], [0 0.538 0 0 0 0.131 0.144 0 0 0.474 0 0 0 0.453], [0 0 0 0.178 0 0.144 0.544 0.05 0 0 0 0 0 0.402], [0 0 0 0 0 0 0.05 0.71 0 0 0 0 0.136 0], [0 0 0 0.437 0.451 0 0 0 0.441 0 0 0 0.143 0], [0 0.743 0.205 0.616 0 0.474 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.96 0.392 0 0.8], [0 0 0 0 0 0 0 0 0 0 0.392 0.961 0 0.338], [0 0 0 0.53 0.632 0 0 0.136 0.143 0 0 0 0 0.177], [0 0 0.083 0.525 0 0.453 0.402 0 0 0 0.8 0.338 0.177 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 10 12 10], [0 1 2 3 4 5 6 7 8 9 10 10 12 11], [0 1 13 13 4 13 13 7 8 9 10 10 13 11], [2 2 13 13 2 13 13 7 8 2 10 10 13 11], [2 2 13 13 2 13 13 12 12 2 10 10 13 11], [2 2 13 13 2 13 7 12 12 2 10 10 13 11], [2 2 13 6 2 6 7 12 12 2 10 10 13 11], [2 2 13 6 2 6 7 12 12 2 10 10 13 11], [2 2 13 6 2 6 7 12 12 2 10 10 13 11], [2 2 13 6 2 6 7 12 12 2 10 10 13 11], [2 2 13 6 2 6 7 12 12 2 10 10 13 11], [2 2 13 6 2 6 7 12 12 2 10 10 13 11], [2 2 13 6 2 6 7 12 12 2 10 10 13 11] | [2 2 13 6 2 6 7 12 12 2 10 10 13 11]
mst_prim
14
jarvis_march: x: [0.335 -0.084 0.952 -0.907 -1.03 -0.813 -0.098], y: [1.08 1.7 -1.69 0.643 0.97 -1.52 1.83], initial_trace: [0 0 0 0 0 0 0] trace | in_hull:
[0 0 1 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 1 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], [1 0 1 0 0 0 0], [1 0 1 0 0 0 0], [1 0 1 0 0 0 0], [1 0 1 0 0 0 0], [1 0 1 0 0 0 0], [1 0 1 0 0 0 0], [1 0 1 0 0 0 0], [1 0 1 0 0 0 0], [1 0 1 0 0 0 1], [1 0 1 0 0 0 1], [1 0 1 0 0 0 1], [1 0 1 0 0 0 1], [1 0 1 0 0 0 1], [1 0 1 0 0 0 1], [1 0 1 0 0 0 1], [1 0 1 0 0 0 1], [1 0 1 0 1 0 1], [1 0 1 0 1 0 1], [1 0 1 0 1 0 1], [1 0 1 0 1 0 1], [1 0 1 0 1 0 1], [1 0 1 0 1 0 1], [1 0 1 0 1 0 1], [1 0 1 0 1 0 1], [1 0 1 0 1 1 1], [1 0 1 0 1 1 1], [1 0 1 0 1 1 1], [1 0 1 0 1 1 1], [1 0 1 0 1 1 1], [1 0 1 0 1 1 1], [1 0 1 0 1 1 1] | [1 0 1 0 1 1 1]
jarvis_march
7
find_maximum_subarray_kadane: key: [-0.942 0.939 0.376 -0.292 0.639 -0.192 0.945 0.897 0.089 0.914 0.821 -0.248 0.033 -0.131 -0.58 -0.808 0.078 0.144 0.132 0.973 -0.245 -0.619 -0.972 -0.709 0.28 0.479 -0.295 -0.183 0.974 -0.299 -0.391], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 2), (1, 2), (1, 4), (1, 4), (1, 6), (1, 7), (1, 8), (1, 9), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10), (1, 10) | (1, 10)
find_maximum_subarray_kadane
31
mst_kruskal: A: [[0.668 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]], initial_trace: [[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]]
mst_kruskal
4
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: [1 0 1 1 1 0 1 1 3 3 3 0 2 3 0 2 3 3 0 1 0 0 2 3 0 2 3 3], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 5, 6, 6, 7, 8, 9, 10, 10, 11, 12 | 13
kmp_matcher
28
floyd_warshall: A: [[0.285 0 0 0 0 0 0 0 0], [0 0.18 0.225 0 0.658 0.301 0.041 0 0], [0 0.225 0.906 0 0 0.664 0 0 0], [0 0 0 0 0 0 0 0 0.778], [0 0.658 0 0 0 0 0 0 0], [0 0.301 0.664 0 0 0 0.264 0.23 0], [0 0.041 0 0 0 0.264 0.509 0 0.564], [0 0 0 0 0 0.23 0 0.21 0], [0 0 0 0.778 0 0 0.564 0 0.938]], initial_trace: [[0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8]] trace | Pi:
[[0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8]], [[0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1], [2 2 1 2 1 1 1 2 2], [3 3 3 3 3 3 3 3 3], [4 4 1 4 4 1 1 4 4], [5 5 1 5 1 5 5 5 5], [6 6 1 6 1 6 1 6 6], [7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8]], [[0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1], [2 2 1 2 1 1 1 2 2], [3 3 3 3 3 3 3 3 3], [4 4 1 4 4 1 1 4 4], [5 5 1 5 1 5 5 5 5], [6 6 1 6 1 6 1 6 6], [7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8]], [[0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1], [2 2 1 2 1 1 1 2 2], [3 3 3 3 3 3 3 3 3], [4 4 1 4 4 1 1 4 4], [5 5 1 5 1 5 5 5 5], [6 6 1 6 1 6 1 6 6], [7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8]], [[0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1], [2 2 1 2 1 1 1 2 2], [3 3 3 3 3 3 3 3 3], [4 4 1 4 4 1 1 4 4], [5 5 1 5 1 5 5 5 5], [6 6 1 6 1 6 1 6 6], [7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8]], [[0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 5 1], [2 2 1 2 1 1 1 5 2], [3 3 3 3 3 3 3 3 3], [4 4 1 4 4 1 1 5 4], [5 5 1 5 1 5 5 5 5], [6 6 1 6 1 6 1 5 6], [7 5 1 7 1 7 5 7 7], [8 8 8 8 8 8 8 8 8]], [[0 0 0 0 0 0 0 0 0], [1 6 1 1 1 1 1 5 6], [2 2 1 2 1 1 1 5 6], [3 3 3 3 3 3 3 3 3], [4 4 1 4 4 1 1 5 6], [5 5 1 5 1 5 5 5 6], [6 6 1 6 1 6 1 5 6], [7 5 1 7 1 7 5 7 6], [8 6 1 8 1 6 8 5 8]] | [[0 0 0 0 0 0 0 0 0], [1 6 1 8 1 1 1 5 6], [2 2 1 8 1 1 1 5 6], [3 6 1 3 1 6 8 5 3], [4 4 1 8 4 1 1 5 6], [5 5 1 8 1 5 5 5 6], [6 6 1 8 1 6 1 5 6], [7 5 1 8 1 7 5 7 6], [8 6 1 8 1 6 8 5 8]]
floyd_warshall
9
mst_prim: s: 15, A: [[0 0 0 0 0 0 0 0.405 0 0 0 0 0 0 0 0], [0 0 0.242 0 0 0 0 0 0 0 0 0 0.481 0 0 0], [0 0.242 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.42 0 0.434 0.673 0 0 0 0 0 0 0 0], [0 0 0 0.42 0.565 0.786 0 0 0.739 0.943 0 0 0 0.34 0.675 0], [0 0 0 0 0.786 0 0 0.378 0.345 0 0 0 0 0 0 0.288], [0 0 0 0.434 0 0 0 0 0.114 0 0 0 0 0 0 0], [0.405 0 0 0.673 0 0.378 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.739 0.345 0.114 0 0 0.662 0 0.452 0.845 0 0.443 0], [0 0 0 0 0.943 0 0 0 0.662 0 0 0 0 0 0.863 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.393 0.492], [0 0 0 0 0 0 0 0 0.452 0 0 0.41 0 0 0.385 0], [0 0.481 0 0 0 0 0 0 0.845 0 0 0 0 0 0 0], [0 0 0 0 0.34 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.675 0 0 0 0.443 0.863 0.393 0.385 0 0 0.957 0], [0 0 0 0 0 0.288 0 0 0 0 0.492 0 0 0 0 0.826]], 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 15 6 7 8 9 15 11 12 13 14 15], [0 1 2 3 5 15 6 5 5 9 15 11 12 13 14 15], [0 1 2 3 8 15 8 5 5 8 15 8 8 13 8 15], [0 1 2 6 8 15 8 5 5 8 15 8 8 13 8 15], [7 1 2 6 8 15 8 5 5 8 15 8 8 13 8 15], [7 1 2 6 8 15 8 5 5 8 15 8 8 13 8 15], [7 1 2 6 3 15 8 5 5 8 15 8 8 13 8 15], [7 1 2 6 3 15 8 5 5 8 15 8 8 4 8 15], [7 1 2 6 3 15 8 5 5 8 15 8 8 4 8 15], [7 1 2 6 3 15 8 5 5 8 14 14 8 4 8 15], [7 1 2 6 3 15 8 5 5 8 14 14 8 4 8 15], [7 1 2 6 3 15 8 5 5 8 14 14 8 4 8 15], [7 1 2 6 3 15 8 5 5 8 14 14 8 4 8 15], [7 12 2 6 3 15 8 5 5 8 14 14 8 4 8 15], [7 12 1 6 3 15 8 5 5 8 14 14 8 4 8 15] | [7 12 1 6 3 15 8 5 5 8 14 14 8 4 8 15]
mst_prim
16
articulation_points: A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [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 1 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 0 1 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 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 1 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 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 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]], 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], [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 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 0 0 1 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 0 0 1 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]
articulation_points
18
floyd_warshall: A: [[0.752 0.05 0 0 0 0 0.329 0], [0.05 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.137], [0 0 0 0.305 0 0.306 0 0], [0 0 0 0 0 0 0 0], [0 0 0 0.306 0 0.045 0 0], [0.329 0 0 0 0 0 0 0.597], [0 0 0.137 0 0 0 0.597 0.424]], initial_trace: [[0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7]] trace | Pi:
[[0 0 0 0 0 0 0 0], [1 1 1 1 1 1 0 1], [2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5], [6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 7]], [[1 0 0 0 0 0 0 0], [1 1 1 1 1 1 0 1], [2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5], [6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 7]], [[1 0 0 0 0 0 0 0], [1 1 1 1 1 1 0 1], [2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5], [6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 2]], [[1 0 0 0 0 0 0 0], [1 1 1 1 1 1 0 1], [2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5], [6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 2]], [[1 0 0 0 0 0 0 0], [1 1 1 1 1 1 0 1], [2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5], [6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 2]], [[1 0 0 0 0 0 0 0], [1 1 1 1 1 1 0 1], [2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5], [6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 2]] | [[1 0 7 0 0 0 0 6], [1 1 7 1 1 1 0 6], [6 0 2 2 2 2 7 2], [3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5], [6 0 7 6 6 6 6 6], [6 0 7 7 7 7 7 2]]
floyd_warshall
8
find_maximum_subarray_kadane: key: [0.012 0.011 -0.83 0.281], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 1) | (3, 3)
find_maximum_subarray_kadane
4
task_scheduling: d: [7 9 11 22 8 13 4 12 20 3 15 3 18 10 22 1 10 1 7 3 11 13], w: [0.062 0.493 0.518 0.511 0.998 0.242 0.934 0.759 0.193 0.354 0.553 0.685 0.902 0.542 0.22 0.88 0.677 0.645 0.118 0.69 0.281 0.635], initial_trace: [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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [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 0 0 0 0.481 0 0 0 0 0.184 0 0.322 0], [0 0.227 0.216 0 0 0.113 0 0 0 0 0 0.171 0 0 0 0 0 0.575 0 0 0 0], [0 0 0 0 0 0 0.462 0 0 0.778 0 0 0 0 0 0 0 0.534 0 0 0 0], [0.714 0 0 0 0 0 0 0 0 0 0 0 0 0.446 0 0 0.678 0 0 0 0 0.134], [0 0 0 0 0 0 0 0 0.301 0 0.379 0 0.32 0.22 0 0.635 0 0 0 0 0 0], [0 0 0 0 0 0 0.778 0 0 0.864 0.212 0 0.367 0 0.932 0 0 0 0 0 0 0.082], [0 0 0 0 0 0 0 0 0.379 0.212 0 0 0 0 0.07 0 0 0 0.814 0.181 0.663 0], [0 0.093 0 0 0 0.171 0 0 0 0 0 0.486 0 0.491 0 0.96 0.318 0 0.656 0 0 0], [0 0 0 0 0 0 0 0 0.32 0.367 0 0 0.05 0 0 0.396 0 0.085 0 0 0.307 0], [0.519 0 0.593 0 0.481 0 0 0.446 0.22 0 0 0.491 0 0.307 0 0 0 0 0 0 0.234 0], [0 0 0.126 0 0 0 0 0 0 0.932 0.07 0 0 0 0 0 0.351 0 0.082 0 0 0], [0 0 0 0.7 0 0 0 0 0.635 0 0 0.96 0.396 0 0 0 0.425 0 0 0 0 0], [0 0 0 0 0 0 0 0.678 0 0 0 0.318 0 0 0.351 0.425 0 0 0 0 0 0], [0 0 0 0.208 0 0.575 0.534 0 0 0 0 0 0.085 0 0 0 0 0 0 0.043 0 0.78], [0.458 0 0 0.535 0.184 0 0 0 0 0 0.814 0.656 0 0 0.082 0 0 0 0 0 0 0], [0 0 0 0.713 0 0 0 0 0 0 0.181 0 0 0 0 0 0 0.043 0 0 0 0], [0 0 0 0.473 0.322 0 0 0 0 0 0.663 0 0.307 0.234 0 0 0 0 0 0 0.825 0.081], [0 0 0 0 0 0 0 0.134 0 0.082 0 0 0 0 0 0 0 0.78 0 0 0.081 0.248]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21] trace | pi:
[0 1 2 3 4 5 6 7 12 12 10 11 12 13 14 12 16 12 18 19 12 21], [0 1 2 17 20 17 17 7 12 12 9 15 12 8 9 12 15 12 18 17 12 20], [13 5 5 17 20 17 17 21 12 12 19 5 12 8 10 12 15 12 4 17 12 20], [13 5 14 17 20 17 17 21 12 12 19 5 12 8 10 12 15 12 14 17 12 20], [13 5 14 17 20 17 17 21 12 12 19 5 12 8 10 12 14 12 14 17 12 20] | [18 5 14 17 20 17 17 21 12 12 19 5 12 8 10 12 14 12 14 17 12 20]
bellman_ford
22
segments_intersect: x: [0.381 0.92 0.676 0.249], y: [0.358 0.661 0.211 0.831] intersect:
1
segments_intersect
6
find_maximum_subarray_kadane: key: [-0.345 0.941 0.506 -0.09 0.259 -0.449], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 2), (1, 2), (1, 4) | (1, 4)
find_maximum_subarray_kadane
6
floyd_warshall: A: [[0 0 0.615 0 0 0 0 0.522 0 0 0 0], [0 0 0.351 0 0 0.282 0.229 0.197 0 0 0 0], [0.615 0.351 0.437 0 0 0 0 0.39 0.469 0.872 0.707 0], [0 0 0 0.283 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.565 0 0 0 0], [0 0.282 0 0 0 0 0.362 0 0.59 0 0 0], [0 0.229 0 0 0 0.362 0 0 0 0 0 0], [0.522 0.197 0.39 0 0.565 0 0 0.29 0 0.554 0 0.515], [0 0 0.469 0 0 0.59 0 0 0 0.704 0 0], [0 0 0.872 0 0 0 0 0.554 0.704 0 0.236 0], [0 0 0.707 0 0 0 0 0 0 0.236 0.548 0], [0 0 0 0 0 0 0 0.515 0 0 0 0.553]], initial_trace: [[0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11]] trace | Pi:
[[0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11]], [[0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 1 1 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4], [5 5 1 5 5 5 5 1 5 5 5 5], [6 6 1 6 6 6 6 1 6 6 6 6], [7 7 7 7 7 1 1 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11]], [[0 2 0 0 0 1 1 0 2 2 2 0], [2 1 1 1 1 1 1 1 2 2 2 1], [2 2 2 2 2 1 1 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4], [2 5 1 5 5 5 5 1 5 2 2 5], [2 6 1 6 6 6 6 1 2 2 2 6], [7 7 7 7 7 1 1 7 2 7 2 7], [2 2 8 8 8 8 1 2 8 8 2 8], [2 2 9 9 9 1 1 9 9 9 9 9], [2 2 10 10 10 1 1 2 2 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11]], [[0 2 0 0 0 1 1 0 2 2 2 0], [2 1 1 1 1 1 1 1 2 2 2 1], [2 2 2 2 2 1 1 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4], [2 5 1 5 5 5 5 1 5 2 2 5], [2 6 1 6 6 6 6 1 2 2 2 6], [7 7 7 7 7 1 1 7 2 7 2 7], [2 2 8 8 8 8 1 2 8 8 2 8], [2 2 9 9 9 1 1 9 9 9 9 9], [2 2 10 10 10 1 1 2 2 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11]], [[0 2 0 0 0 1 1 0 2 2 2 0], [2 1 1 1 1 1 1 1 2 2 2 1], [2 2 2 2 2 1 1 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4], [2 5 1 5 5 5 5 1 5 2 2 5], [2 6 1 6 6 6 6 1 2 2 2 6], [7 7 7 7 7 1 1 7 2 7 2 7], [2 2 8 8 8 8 1 2 8 8 2 8], [2 2 9 9 9 1 1 9 9 9 9 9], [2 2 10 10 10 1 1 2 2 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11]], [[0 2 0 0 0 1 1 0 2 2 2 0], [2 1 1 1 1 1 1 1 2 2 2 1], [2 2 2 2 2 1 1 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4], [2 5 1 5 5 5 5 1 5 2 2 5], [2 6 1 6 6 6 6 1 5 2 2 6], [7 7 7 7 7 1 1 7 2 7 2 7], [2 2 8 8 8 8 5 2 8 8 2 8], [2 2 9 9 9 1 1 9 9 9 9 9], [2 2 10 10 10 1 1 2 2 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11]], [[0 2 0 0 0 1 1 0 2 2 2 0], [2 1 1 1 1 1 1 1 2 2 2 1], [2 2 2 2 2 1 1 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4], [2 5 1 5 5 5 5 1 5 2 2 5], [2 6 1 6 6 6 6 1 5 2 2 6], [7 7 7 7 7 1 1 7 2 7 2 7], [2 2 8 8 8 8 5 2 8 8 2 8], [2 2 9 9 9 1 1 9 9 9 9 9], [2 2 10 10 10 1 1 2 2 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11]], [[0 7 0 0 7 1 1 0 2 7 2 7], [7 1 1 1 7 1 1 1 2 7 2 7], [2 2 2 2 7 1 1 2 2 2 2 7], [3 3 3 3 3 3 3 3 3 3 3 3], [7 7 7 4 4 1 1 4 2 7 2 7], [7 5 1 5 7 5 5 1 5 7 2 7], [7 6 1 6 7 6 6 1 5 7 2 7], [7 7 7 7 7 1 1 7 2 7 2 7], [2 2 8 8 7 8 5 2 8 8 2 7], [7 7 9 9 7 1 1 9 9 9 9 7], [2 2 10 10 7 1 1 2 2 10 10 7], [7 7 7 11 7 1 1 11 2 7 2 11]], [[0 7 0 0 7 1 1 0 2 7 2 7], [7 1 1 1 7 1 1 1 2 7 2 7], [2 2 2 2 7 1 1 2 2 2 2 7], [3 3 3 3 3 3 3 3 3 3 3 3], [7 7 7 4 4 1 1 4 2 7 2 7], [7 5 1 5 7 5 5 1 5 7 2 7], [7 6 1 6 7 6 6 1 5 7 2 7], [7 7 7 7 7 1 1 7 2 7 2 7], [2 2 8 8 7 8 5 2 8 8 2 7], [7 7 9 9 7 1 1 9 9 9 9 7], [2 2 10 10 7 1 1 2 2 10 10 7], [7 7 7 11 7 1 1 11 2 7 2 11]], [[0 7 0 0 7 1 1 0 2 7 9 7], [7 1 1 1 7 1 1 1 2 7 9 7], [2 2 2 2 7 1 1 2 2 2 2 7], [3 3 3 3 3 3 3 3 3 3 3 3], [7 7 7 4 4 1 1 4 2 7 9 7], [7 5 1 5 7 5 5 1 5 7 9 7], [7 6 1 6 7 6 6 1 5 7 9 7], [7 7 7 7 7 1 1 7 2 7 9 7], [2 2 8 8 7 8 5 2 8 8 9 7], [7 7 9 9 7 1 1 9 9 9 9 7], [7 7 10 10 7 1 1 9 9 10 9 7], [7 7 7 11 7 1 1 11 2 7 9 11]] | [[0 7 0 0 7 1 1 0 2 7 9 7], [7 1 1 1 7 1 1 1 2 7 9 7], [2 2 2 2 7 1 1 2 2 2 2 7], [3 3 3 3 3 3 3 3 3 3 3 3], [7 7 7 4 4 1 1 4 2 7 9 7], [7 5 1 5 7 5 5 1 5 7 9 7], [7 6 1 6 7 6 6 1 5 7 9 7], [7 7 7 7 7 1 1 7 2 7 9 7], [2 2 8 8 7 8 5 2 8 8 9 7], [7 7 9 9 7 1 1 9 9 9 9 7], [7 7 10 10 7 1 1 9 9 10 9 7], [7 7 7 11 7 1 1 11 2 7 9 11]]
floyd_warshall
12
dfs: A: [[0 1 0 0 0 0], [1 0 0 1 0 0], [0 0 1 1 1 0], [0 1 0 0 0 1], [1 0 1 0 0 1], [0 1 0 1 0 1]], initial_trace: [0 1 2 3 4 5] trace | pi:
[0 1 2 3 4 5], [0 0 2 3 4 5], [0 0 2 3 4 5], [0 0 2 1 4 5], [0 0 2 1 4 5], [0 0 2 1 4 3], [0 0 2 1 4 3], [0 0 2 1 4 3], [0 0 2 1 4 3], [0 0 2 1 4 3], [0 0 2 1 4 3], [0 0 2 1 4 3], [0 0 2 1 4 3], [0 0 2 1 2 3], [0 0 2 1 2 3], [0 0 2 1 2 3] | [0 0 2 1 2 3]
dfs
6
find_maximum_subarray_kadane: key: [-0.136 0.363 -0.672 -0.938 -0.744 -0.841 0.513 -0.337], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (1, 1), (1, 1), (1, 1), (6, 6) | (6, 6)
find_maximum_subarray_kadane
8
bfs: s: 49, A: [[1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 0 0 1 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 0 0], [1 0 0 1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0 0 1 1], [0 0 0 0 1 0 0 1 1 0 0 0 1 1 0 1 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 1 1 1 1 0 0 0 1 0 1 0], [1 1 1 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 1], [0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1], [0 1 0 1 1 0 0 1 0 1 0 1 0 1 0 0 1 0 1 0 0 0 0 1 1 1 0 0 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 1 1 0 1 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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52] trace | pi:
[0 1 2 3 49 5 6 49 49 9 10 11 49 49 14 49 16 17 18 19 20 21 49 23 24 25 26 27 28 29 30 31 32 49 34 35 36 37 38 39 40 41 49 49 49 49 46 47 48 49 50 49 52], [15 7 4 8 49 4 12 49 49 9 4 8 49 49 7 49 15 42 13 15 8 4 49 4 8 7 8 22 7 4 12 15 7 49 13 13 4 4 4 12 4 8 49 49 49 49 15 8 8 49 15 49 4] | [15 7 4 8 49 4 12 49 49 2 4 8 49 49 7 49 15 42 13 15 8 4 49 4 8 7 8 22 7 4 12 15 7 49 13 13 4 4 4 12 4 8 49 49 49 49 15 8 8 49 15 49 4]
bfs
53
dijkstra: s: 20, A: [[0.05 0 0 0 0.706 0 0 0 0.642 0 0 0 0 0 0 0.607 0 0.543 0 0 0], [0 0 0 0 0.192 0 0 0 0 0 0.558 0.555 0 0.191 0 0 0.5 0 0 0 0], [0 0 0 0 0 0 0 0.503 0.083 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.245 0 0 0 0 0 0.292 0.174 0.535 0 0 0 0 0 0 0 0], [0.706 0.192 0 0.245 0 0 0 0 0.652 0 0.516 0 0 0 0 0 0 0.555 0.058 0 0], [0 0 0 0 0 0 0 0.54 0 0 0 0 0 0 0 0 0 0.314 0.561 0 0], [0 0 0 0 0 0 0 0 0 0.08 0 0.768 0.242 0 0 0 0 0 0.244 0 0], [0 0 0.503 0 0 0.54 0 0.388 0 0 0.77 0 0 0.686 0.897 0.43 0 0 0 0 0.752], [0.642 0 0.083 0 0.652 0 0 0 0 0 0 0 0 0.3 0 0.891 0 0 0 0 0], [0 0 0 0 0 0 0.08 0 0 0.5 0 0 0 0 0 0 0 0 0 0 0], [0 0.558 0 0.292 0.516 0 0 0.77 0 0 0.989 0 0 0 0 0.265 0 0.258 0 0 0], [0 0.555 0 0.174 0 0 0.768 0 0 0 0 0.941 0 0 0 0 0 0 0 0.358 0], [0 0 0 0.535 0 0 0.242 0 0 0 0 0 0.085 0 0.252 0 0 0 0 0 0], [0 0.191 0 0 0 0 0 0.686 0.3 0 0 0 0 0.952 0.395 0 0 0 0.533 0 0], [0 0 0 0 0 0 0 0.897 0 0 0 0 0.252 0.395 0.694 0.22 0 0.456 0 0 0.606], [0.607 0 0 0 0 0 0 0.43 0.891 0 0.265 0 0 0 0.22 0.158 0 0 0 0 0], [0 0.5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.214 0 0 0 0], [0.543 0 0 0 0.555 0.314 0 0 0 0 0.258 0 0 0 0.456 0 0 0.167 0.45 0 0], [0 0 0 0 0.058 0.561 0.244 0 0 0 0 0 0 0.533 0 0 0 0.45 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.358 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.752 0 0 0 0 0 0 0.606 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] trace | pi:
[0 1 2 3 4 5 6 20 8 9 10 11 12 13 20 15 16 17 18 19 20], [0 1 2 3 4 5 6 20 8 9 10 11 14 14 20 14 16 14 18 19 20], [0 1 7 3 4 7 6 20 8 9 7 11 14 14 20 14 16 14 18 19 20], [15 1 7 3 4 7 6 20 15 9 15 11 14 14 20 14 16 14 18 19 20], [15 1 7 12 4 7 12 20 15 9 15 11 14 14 20 14 16 14 18 19 20], [15 13 7 12 4 7 12 20 13 9 15 11 14 14 20 14 16 14 13 19 20], [15 13 7 12 17 7 12 20 13 9 15 11 14 14 20 14 16 14 17 19 20], [15 13 7 10 10 7 12 20 13 9 15 11 14 14 20 14 16 14 17 19 20], [15 13 7 10 10 7 12 20 13 6 15 6 14 14 20 14 16 14 6 19 20], [15 13 7 10 10 7 12 20 13 6 15 6 14 14 20 14 16 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 1 14 14 20 14 1 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 1 14 14 20 14 1 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 1 14 14 20 14 1 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 1 14 14 20 14 1 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 1 14 14 20 14 1 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 3 14 14 20 14 1 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 3 14 14 20 14 1 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 3 14 14 20 14 1 14 6 19 20], [15 13 7 10 1 7 12 20 13 6 15 3 14 14 20 14 1 14 6 11 20], [15 13 7 10 1 7 12 20 13 6 15 3 14 14 20 14 1 14 6 11 20] | [15 13 7 10 1 7 12 20 13 6 15 3 14 14 20 14 1 14 6 11 20]
dijkstra
21
segments_intersect: x: [0.614 0.275 0.091 0.773], y: [0.698 0.036 0.251 0.78] intersect:
1
segments_intersect
38
segments_intersect: x: [0.795 0.593 0.472 0.296], y: [0.763 0.441 0.031 0.386] intersect:
0
segments_intersect
29
floyd_warshall: A: [[0 0 0 0 0.342 0 0.391 0 0 0 0], [0 0 0 0 0.576 0 0 0 0 0 0], [0 0 0.075 0 0 0.061 0 0.449 0 0 0], [0 0 0 0.188 0 0 0 0.491 0 0 0.192], [0.342 0.576 0 0 0 0 0 0 0 0 0], [0 0 0.061 0 0 0 0.293 0.211 0 0 0], [0.391 0 0 0 0 0.293 0 0 0 0.406 0], [0 0 0.449 0.491 0 0.211 0 0 0 0.588 0], [0 0 0 0 0 0 0 0 0.645 0 0.303], [0 0 0 0 0 0 0.406 0.588 0 0.14 0], [0 0 0 0.192 0 0 0 0 0.303 0 0]], initial_trace: [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10]] trace | Pi:
[[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 0 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 0 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 0 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 0 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 3], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 3 10 10 10]], [[0 4 0 0 0 0 0 0 0 0 0], [4 1 1 1 1 1 0 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 0 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 4 6 6 0 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 3], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 3 10 10 10]], [[0 4 0 0 0 0 0 0 0 0 0], [4 1 1 1 1 1 0 1 1 1 1], [2 2 2 2 2 2 5 5 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 0 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 4 5 6 0 6 6 5 6 6 6], [7 7 5 7 7 7 5 7 7 7 3], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 3 10 10 10]], [[0 4 5 0 0 6 0 5 0 6 0], [4 1 5 1 1 6 0 5 1 6 1], [6 4 2 2 0 2 5 5 2 6 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 5 4 4 6 0 5 4 6 4], [6 4 5 5 0 5 5 5 5 6 5], [6 4 5 6 0 6 6 5 6 6 6], [6 4 5 7 0 7 5 7 7 7 3], [8 8 8 8 8 8 8 8 8 8 8], [6 4 5 9 0 6 9 9 9 9 9], [10 10 10 10 10 10 10 3 10 10 10]], [[0 4 5 7 0 6 0 5 0 6 3], [4 1 5 7 1 6 0 5 1 6 3], [6 4 2 7 0 2 5 5 2 6 3], [6 4 5 3 0 7 5 3 3 7 3], [4 4 5 7 4 6 0 5 4 6 3], [6 4 5 7 0 5 5 5 5 6 3], [6 4 5 7 0 6 6 5 6 6 3], [6 4 5 7 0 7 5 7 7 7 3], [8 8 8 8 8 8 8 8 8 8 8], [6 4 5 7 0 6 9 9 9 9 3], [6 4 5 10 0 7 5 3 10 7 10]], [[0 4 5 7 0 6 0 5 0 6 3], [4 1 5 7 1 6 0 5 1 6 3], [6 4 2 7 0 2 5 5 2 6 3], [6 4 5 3 0 7 5 3 3 7 3], [4 4 5 7 4 6 0 5 4 6 3], [6 4 5 7 0 5 5 5 5 6 3], [6 4 5 7 0 6 6 5 6 6 3], [6 4 5 7 0 7 5 7 7 7 3], [8 8 8 8 8 8 8 8 8 8 8], [6 4 5 7 0 6 9 9 9 9 3], [6 4 5 10 0 7 5 3 10 7 10]] | [[0 4 5 7 0 6 0 5 10 6 3], [4 1 5 7 1 6 0 5 10 6 3], [6 4 2 7 0 2 5 5 10 6 3], [6 4 5 3 0 7 5 3 10 7 3], [4 4 5 7 4 6 0 5 10 6 3], [6 4 5 7 0 5 5 5 10 6 3], [6 4 5 7 0 6 6 5 10 6 3], [6 4 5 7 0 7 5 7 10 7 3], [6 4 5 10 0 7 5 3 10 7 8], [6 4 5 7 0 6 9 9 10 9 3], [6 4 5 10 0 7 5 3 10 7 10]]
floyd_warshall
11
minimum: key: [0.868 0.454 0.545 0.311 0.254 0.477 0.846 0.304 0.147 0.447 0.621 0.444 0.969 0.16 0.79 0.107 0.066 0.07 0.994 0.178 0.624 0.645 0.629 0.094 0.908 0.326 0.867 0.518 0.524 0.858 0.075 0.632 0.982 0.147 0.052 0.121 0.802 0.036], initial_trace: 0 trace | min:
1, 1, 3, 4, 4, 4, 4, 8, 8, 8, 8, 8, 8, 8, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 34, 34, 34 | 37
minimum
38
bubble_sort: key: [0.448 0.557 0.96 0.732 0.839 0.349 0.349 0.87 0.585], initial_trace: [0.448 0.557 0.96 0.732 0.839 0.349 0.349 0.87 0.585] trace | pred:
[0.448 0.557 0.96 0.732 0.839 0.349 0.349 0.585 0.87], [0.448 0.557 0.96 0.732 0.839 0.349 0.349 0.585 0.87], [0.448 0.557 0.96 0.732 0.839 0.349 0.349 0.585 0.87], [0.448 0.557 0.96 0.732 0.349 0.839 0.349 0.585 0.87], [0.448 0.557 0.96 0.349 0.732 0.839 0.349 0.585 0.87], [0.448 0.557 0.349 0.96 0.732 0.839 0.349 0.585 0.87], [0.448 0.349 0.557 0.96 0.732 0.839 0.349 0.585 0.87], [0.349 0.448 0.557 0.96 0.732 0.839 0.349 0.585 0.87], [0.349 0.448 0.557 0.96 0.732 0.839 0.349 0.585 0.87], [0.349 0.448 0.557 0.96 0.732 0.839 0.349 0.585 0.87], [0.349 0.448 0.557 0.96 0.732 0.349 0.839 0.585 0.87], [0.349 0.448 0.557 0.96 0.349 0.732 0.839 0.585 0.87], [0.349 0.448 0.557 0.349 0.96 0.732 0.839 0.585 0.87], [0.349 0.448 0.349 0.557 0.96 0.732 0.839 0.585 0.87], [0.349 0.349 0.448 0.557 0.96 0.732 0.839 0.585 0.87], [0.349 0.349 0.448 0.557 0.96 0.732 0.839 0.585 0.87], [0.349 0.349 0.448 0.557 0.96 0.732 0.585 0.839 0.87], [0.349 0.349 0.448 0.557 0.96 0.585 0.732 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.96 0.732 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.96 0.732 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.96 0.732 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.96 0.732 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.96 0.732 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.732 0.96 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.732 0.96 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.732 0.96 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.732 0.96 0.839 0.87], [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.96 0.87], [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.96 0.87], [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.96 0.87], [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.87 0.96], [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.87 0.96], [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.87 0.96], [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.87 0.96], [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.87 0.96] | [0.349 0.349 0.448 0.557 0.585 0.732 0.839 0.87 0.96]
bubble_sort
9
insertion_sort: key: [0.808 0.552 0.592 0.026], initial_trace: [0.808 0.552 0.592 0.026] trace | pred:
[0.552 0.808 0.592 0.026], [0.552 0.592 0.808 0.026] | [0.026 0.552 0.592 0.808]
insertion_sort
4
minimum: key: [0.254 0.392 0.706 0.839 0.263 0.192 0.535 0.247 0.763 0.488 0.174 0.329 0.571 0.9 0.53 0.061 0.865 0.343 0.475 0.795 0.803 0.441 0.511], initial_trace: 0 trace | min:
0, 0, 0, 0, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 15, 15, 15, 15, 15, 15, 15 | 15
minimum
23
lcs_length: string: [0 0 0 0 0 0 0 1 1 1 1 1 1], key: [2 2 0 0 0 3 3 2 3 0 1 3 2], initial_trace: [[-1 -1 -1 -1 -1 -1 -1 0 2 2 2 2 0], [-1 -1 -1 -1 -1 -1 -1 0 0 0 0 0 0], [-1 -1 -1 -1 -1 -1 -1 1 0 0 0 0 0], [-1 -1 -1 -1 -1 -1 -1 1 0 0 0 0 0], [-1 -1 -1 -1 -1 -1 -1 1 0 0 0 0 0], [-1 -1 -1 -1 -1 -1 -1 1 0 0 0 0 0], [-1 -1 -1 -1 -1 -1 -1 1 0 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 -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 -1 -1 -1 -1 -1 -1 -1]] trace | b:
[[-1 -1 -1 -1 -1 -1 -1 0 2 2 2 2 0], [-1 -1 -1 -1 -1 -1 -1 0 1 1 1 1 0], [-1 -1 -1 -1 -1 -1 -1 1 2 0 1 1 1], [-1 -1 -1 -1 -1 -1 -1 1 2 0 1 1 1], [-1 -1 -1 -1 -1 -1 -1 1 2 0 1 1 1], [-1 -1 -1 -1 -1 -1 -1 1 0 1 1 0 1], [-1 -1 -1 -1 -1 -1 -1 1 0 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 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -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 1 1 0], [0 0 0 0 0 0 0 1 1 1], [1 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 1 1 0 0 0 0 1 1], [0 0 1 0 0 0 0 1 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 1 0 0 0 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], 4, [0 1 2 3 4 5 6 7 8 9], 4, [0 1 2 3 4 5 6 4 8 9], 7, [0 1 2 3 4 5 6 4 8 9], 7, [0 1 2 3 4 5 6 4 7 9], 8, [8 1 2 3 4 5 6 4 7 9], 0, [8 1 2 3 4 5 6 4 7 9], 0, [8 1 2 3 4 5 6 4 7 9], 0, [8 1 2 3 4 5 6 4 7 9], 0, [8 1 2 3 4 5 6 4 7 0], 9, [8 9 2 3 4 5 6 4 7 0], 1, [8 9 2 3 4 5 6 4 7 0], 1, [8 9 2 3 4 5 6 4 7 0], 1, [8 9 1 3 4 5 6 4 7 0], 2, [8 9 1 3 4 5 6 4 7 0], 2, [8 9 1 3 4 5 6 4 7 0], 2, [8 9 1 2 4 5 6 4 7 0], 3, [8 9 1 2 4 5 6 4 7 0], 3, [8 9 1 2 4 5 6 4 7 0], 3, [8 9 1 2 4 3 6 4 7 0], 5, [8 9 1 2 4 3 6 4 7 0], 5, [8 9 1 2 4 3 6 4 7 0], 5 | [8 9 1 2 4 3 5 4 7 0], 6
topological_sort
10
mst_kruskal: A: [[0.735 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.653 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.508 0], [0 0.653 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.905 0 0 0 0 0 0 0], [0 0 0 0 0 0.667 0 0 0 0 0 0], [0 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 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 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 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 1 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 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 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]]
mst_kruskal
12
minimum: key: [0.567 0.307 0.831 0.916 0.323 0.685 0.613 0.901 0.462 0.795 0.13 0.375 0.116 0.205 0.677 0.958 0.613 0.407 0.569 0.726 0.85 0.244 0.367 0.241 0.504 0.763 0.901 0.145 0.925 0.542 0.057 0.842 0.042 0.322 0.332 0.875 0.842 0.03 0.657 0.18 0.838 0.677 0.497 0.756 0.018 0.826 0.097 0.301 0.113 0.226 0.827 0.869 0.428 0.609 0.787 0.971 0.492 0.933 0.259 0.151], initial_trace: 0 trace | min:
1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 30, 30, 32, 32, 32, 32, 32, 37, 37, 37, 37, 37, 37, 37, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44, 44 | 44
minimum
60
bubble_sort: key: [0.994 0.981 0.703 0.518 0.167 0.075], initial_trace: [0.994 0.981 0.703 0.518 0.167 0.075] trace | pred:
[0.994 0.981 0.703 0.518 0.075 0.167], [0.994 0.981 0.703 0.075 0.518 0.167], [0.994 0.981 0.075 0.703 0.518 0.167], [0.994 0.075 0.981 0.703 0.518 0.167], [0.075 0.994 0.981 0.703 0.518 0.167], [0.075 0.994 0.981 0.703 0.167 0.518], [0.075 0.994 0.981 0.167 0.703 0.518], [0.075 0.994 0.167 0.981 0.703 0.518], [0.075 0.167 0.994 0.981 0.703 0.518], [0.075 0.167 0.994 0.981 0.518 0.703], [0.075 0.167 0.994 0.518 0.981 0.703], [0.075 0.167 0.518 0.994 0.981 0.703], [0.075 0.167 0.518 0.994 0.703 0.981], [0.075 0.167 0.518 0.703 0.994 0.981] | [0.075 0.167 0.518 0.703 0.981 0.994]
bubble_sort
6
quickselect: key: [0.47 0.66 0.661 0.135 0.248 0.794 0.523 0.769 0.848 0.339 0.659 0.149 0.961 0.498 0.351 0.107 0.449 0.092 0.115 0.007 0.992 0.602 0.475 0.918 0.451 0.848 0.98 0.815 0.572 0.182 0.305 0.647 0.528 0.384 0.258 0.075 0.557], initial_trace: 36 trace | pivot:
36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13 | 13
quickselect
37
binary_search: key: [0.075 0.132 0.289 0.298 0.305 0.358 0.514 0.906], target: 0.580, initial_trace: (0, 7) trace | (low, high):
(4, 7), (6, 7) | (7, 7)
binary_search
8
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: [0 0 2 3 3 0 2 0 0 3 1 0 1 2 1 0 3 0 1 2 1 2 1 2 0 0 3 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5 | 6
kmp_matcher
28
activity_selector: s: [0.331 0.129 0.241 0.352 0.593 0.077 0.07 0.195 0.404 0.646 0.359 0.407 0.47 0.601 0.825 0.408 0.432 0.415 0.16 0.031 0.128 0.08 0.004 0.332 0.307 0.585], f: [0.924 0.276 0.302 0.372 0.619 0.548 0.583 0.695 0.625 0.75 0.923 0.675 0.816 0.939 0.89 0.532 0.682 0.681 0.164 0.726 0.312 0.706 0.756 0.622 0.491 0.798], 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] trace | selected:
[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 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 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 1 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 1 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 1 0 0 0 0 0 0 0], [0 0 1 1 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 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 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 0 0 0 0 0 0], [0.602 0 0 0.634 0.435 0 0 0 0 0.397 0.632 0 0 0], [0 0 0 0.435 0 0.131 0.156 0 0 0 0 0 0 0], [0.784 0 0 0 0.131 0.075 0.219 0.765 0 0.772 0 0.298 0 0], [0 0 0 0 0.156 0.219 0.657 0.531 0.706 0.755 0 0 0 0], [0 0 0 0 0 0.765 0.531 0.511 0.152 0.4 0.228 0 0 0.324], [0 0 0 0 0 0 0.706 0.152 0 0 0.305 0 0 0], [0 0 0 0.397 0 0.772 0.755 0.4 0 0.448 0.611 0.3 0 0], [0 0 0 0.632 0 0 0 0.228 0.305 0.611 0 0 0 0.223], [0 0 0 0 0 0.298 0 0 0 0.3 0 0 0 0.126], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.31], [0 0 0 0 0 0 0 0.324 0 0 0.223 0.126 0.31 0.242]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13] trace | pi:
[0 1 2 3 6 6 6 6 6 6 10 11 12 13], [0 1 2 4 6 4 6 6 6 6 10 11 12 13], [5 1 2 4 6 4 6 6 6 6 10 5 12 13], [5 1 2 4 6 4 6 6 6 11 10 5 12 11], [5 1 2 4 6 4 6 13 6 11 13 5 13 11], [5 1 2 4 6 4 6 10 10 11 13 5 13 11], [5 1 2 4 6 4 6 10 7 11 13 5 13 11], [5 1 2 4 6 4 6 10 7 11 13 5 13 11], [5 1 2 9 6 4 6 10 7 11 13 5 13 11], [5 1 2 9 6 4 6 10 7 11 13 5 13 11], [3 1 2 9 6 4 6 10 7 11 13 5 13 11] | [3 1 2 9 6 4 6 10 7 11 13 5 13 11]
mst_prim
14
jarvis_march: x: [0.042 0.684 1.81 1.08 -0.672 0.941 0.343 -0.77 1.8 -1.06 0.858 0.204 -0.925], y: [0.695 -1.45 -0.03 0.145 -1.62 -0.942 0.679 1.7 0.275 0.4 0.164 0.554 0.493], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0]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 1 1 1 0 0 0], [0 1 1 0 1 0 0 1 1 1 0 0 0], [0 1 1 0 1 0 0 1 1 1 0 0 0], [0 1 1 0 1 0 0 1 1 1 0 0 0], [0 1 1 0 1 0 0 1 1 1 0 0 0], [0 1 1 0 1 0 0 1 1 1 0 0 0], [0 1 1 0 1 0 0 1 1 1 0 0 0], [0 1 1 0 1 0 0 1 1 1 0 0 0] | [0 1 1 0 1 0 0 1 1 1 0 0 0]
jarvis_march
13
minimum: key: [0.539 0.819 0.608 0.904 0.606 0.404 0.175 0.985 0.301 0.02 0.014 0.198 0.362 0.179 0.237 0.647 0.836 0.051 0.428 0.958 0.641 0.649 0.027 0.455 0.828 0.996], initial_trace: 0 trace | min:
0, 0, 0, 0, 5, 6, 6, 6, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 | 10
minimum
26
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 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1], key: [2 1 0 1 2 2 0 0 3 1 3 3 1 3 2 0 2 3 0 3 3 2 2 2 2 2 0 3 0 3 1 3 3 1 0 2 3 3 0 2 0 0 3 1 1 2 3 0 2 2 1 3 2 2 2 2 0 3 0 3 1 3 3 1], initial_trace: 0 trace | s:
0, 1, 2, 3, 4, 4, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 16, 16, 17, 18, 19, 20, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22 | 22
naive_string_matcher
64
articulation_points: A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 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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 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0] | [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0]
articulation_points
17
task_scheduling: d: [11 5 16 2 9 18 13 17 19 13 1 16 17 2 9 15 17 9 16], w: [0.349 0.918 0.906 0.301 0.027 0.582 0.396 0.174 0.037 0.612 0.219 0.496 0.29 0.896 0.816 0.048 0.599 0.375 0], initial_trace: [0 0 0 0 0 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 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 1 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 0 0 0 0], [0 1 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0], [0 1 1 0 0 0 0 0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 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26] trace | pi:
[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], [0 1 0 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 2 5 4 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 2 5 4 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 2 5 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 2 5 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 2 7 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 0 3 2 7 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 3 2 7 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 3 2 7 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 9 10 11 12 13 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 9 10 11 12 13 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 9 15 11 12 13 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 9 15 11 12 13 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 9 15 10 12 13 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 9 15 10 12 13 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 12 13 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 12 13 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 12 9 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 12 9 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 14 8 16 17 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 14 8 16 12 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 14 8 16 12 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 16 12 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 16 12 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 18 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 19 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 20 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 21 22 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 21 20 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 21 20 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 23 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 24 25 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 24 21 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 24 21 26], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 24 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 24 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25], [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25] | [0 5 0 1 2 7 4 6 3 11 15 10 13 9 17 8 14 12 16 18 19 22 20 21 26 21 25]
dfs
27
segments_intersect: x: [0.101 0.487 0.781 0.482], y: [0.13 0.514 0.358 0.963] intersect:
0
segments_intersect
26
binary_search: key: [0.052 0.309 0.399 0.5 0.56 0.746 0.836], target: 0.804, initial_trace: (0, 6) trace | (low, high):
(4, 6) | (6, 6)
binary_search
7
jarvis_march: x: [0.306 -0.893 -0.881 0.95 0.188 0.686 0.05 -0.593 -0.466 1.27], y: [-1.68 1.6 0.788 -0.703 1.86 -1.37 1.7 0.202 -0.176 -0.328], initial_trace: [0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[1 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 0 0], [1 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 0 0], [1 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 0 0], [1 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 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 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 0 0 0], [1 0 0 0 0 1 0 0 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 0 0 1 1], [1 1 1 0 1 1 0 0 1 1], [1 1 1 0 1 1 0 0 1 1], [1 1 1 0 1 1 0 0 1 1], [1 1 1 0 1 1 0 0 1 1], [1 1 1 0 1 1 0 0 1 1], [1 1 1 0 1 1 0 0 1 1], [1 1 1 0 1 1 0 0 1 1], [1 1 1 0 1 1 0 0 1 1], [1 1 1 0 1 1 0 0 1 1] | [1 1 1 0 1 1 0 0 1 1]
jarvis_march
10
mst_kruskal: A: [[0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.0342 0 0 0 0 0.343 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.542 0 0 0 0 0], [0 0 0 0 0 0.542 0 0 0 0 0 0], [0 0 0.343 0 0 0 0 0.032 0 0 0.368 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.368 0 0 0 0], [0 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [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 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0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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 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 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 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 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 1 0 0 0 0 0], [0 0 0 0 0 1 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 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]]
mst_kruskal
12
bellman_ford: s: 18, A: [[0 0 0 0 0.495 0 0 0 0 0.428 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.427 0 0 0.186 0 0 0 0 0.299 0.077 0 0 0 0 0.886 0 0 0 0 0 0 0.176 0 0 0 0 0 0.817 0 0], [0 0 0 0 0.049 0 0 0 0 0.688 0.393 0.292 0 0 0 0.767 0 0 0 0.436 0 0 0 0 0 0.361 0.426 0 0 0 0 0 0.122 0 0], [0 0 0 0 0 0.516 0 0 0.455 0 0 0 0 0 0 0.317 0 0 0.573 0 0 0 0.532 0 0 0.306 0 0 0 0 0 0.297 0 0 0], [0.495 0 0.049 0 0 0.738 0 0.65 0.684 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.546 0.449 0 0.287 0 0 0 0.213 0 0.571 0 0.468], [0 0.427 0 0.516 0.738 0.651 0 0.269 0.675 0.147 0 0 0 0 0.756 0 0.646 0 0.465 0 0 0 0 0.154 0 0 0 0 0.161 0 0 0 0 0 0.207], [0 0 0 0 0 0 0.512 0 0.79 0 0 0 0 0 0 0.435 0 0 0.463 0 0 0.109 0.81 0 0 0 0 0 0 0.311 0 0 0 0 0.167], [0 0 0 0 0.65 0.269 0 0 0 0 0 0 0 0 0 0 0 0.483 0.186 0 0 0 0 0 0 0 0.394 0 0.498 0 0 0 0 0.778 0.474], [0 0.186 0 0.455 0.684 0.675 0.79 0 0.371 0 0 0 0 0 0.709 0 0 0.512 0 0 0 0 0 0 0 0 0.643 0.702 0 0 0 0.679 0 0 0.787], [0.428 0 0.688 0 0 0.147 0 0 0 0.572 0 0.719 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.332 0 0.91 0 0.835 0 0 0.788], [0 0 0.393 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.786 0 0 0 0 0 0.478 0.155 0 0 0 0 0 0 0 0], [0 0 0.292 0 0 0 0 0 0 0.719 0 0.104 0.705 0.748 0 0 0.172 0 0 0.531 0 0 0 0.403 0.19 0 0.341 0.64 0.554 0 0.335 0.483 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.705 0 0 0 0 0 0 0 0.901 0.362 0 0 0 0.148 0 0 0.612 0 0 0 0 0 0 0], [0 0.299 0 0 0 0 0 0 0 0 0 0.748 0 0.998 0 0 0.048 0 0 0 0.34 0 0.201 0.413 0 0 0 0.967 0 0.197 0 0 0 0 0.568], [0 0.077 0 0 0 0.756 0 0 0.709 0 0 0 0 0 0.135 0 0 0 0 0 0.143 0 0 0.262 0 0.188 0 0 0 0 0 0 0.42 0 0], [0 0 0.767 0.317 0 0 0.435 0 0 0 0 0 0 0 0 0 0.367 0 0 0.368 0 0.565 0 0 0 0.74 0.297 0 0.561 0 0.21 0 0.272 0 0.918], [0 0 0 0 0 0.646 0 0 0 0 0 0.172 0 0.048 0 0.367 0 0 0 0 0.847 0 0 0 0 0 0 0.481 0 0 0 0 0 0 0.337], [0 0 0 0 0 0 0 0.483 0.512 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.957 0 0 0 0 0 0.036 0 0.564 0 0.051 0], [0 0 0 0.573 0 0.465 0.463 0.186 0 0 0 0 0 0 0 0 0 0 0.521 0.558 0.537 0 0 0 0 0 0 0.171 0.48 0 0 0 0 0 0], [0 0.886 0.436 0 0 0 0 0 0 0 0.786 0.531 0.901 0 0 0.368 0 0 0.558 0.084 0 0 0 0 0 0 0 0 0.383 0.175 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.362 0.34 0.143 0 0.847 0 0.537 0 0.165 0 0 0 0 0.339 0.531 0 0.567 0.364 0 0 0 0 0], [0 0 0 0 0 0 0.109 0 0 0 0 0 0 0 0 0.565 0 0 0 0 0 0 0 0 0.67 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.532 0 0 0.81 0 0 0 0 0 0 0.201 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.173 0 0.825 0.148 0], [0 0 0 0 0.546 0.154 0 0 0 0 0 0.403 0 0.413 0.262 0 0 0.957 0 0 0 0 0 0 0 0.801 0 0 0.332 0 0 0 0 0 0], [0 0 0 0 0.449 0 0 0 0 0 0 0.19 0.148 0 0 0 0 0 0 0 0 0.67 0 0 0.112 0 0 0 0 0.217 0 0 0.46 0 0], [0 0 0.361 0.306 0 0 0 0 0 0 0.478 0 0 0 0.188 0.74 0 0 0 0 0.339 0 0 0.801 0 0.547 0 0 0 0.346 0 0 0.132 0 0], [0 0.176 0.426 0 0.287 0 0 0.394 0.643 0 0.155 0.341 0 0 0 0.297 0 0 0 0 0.531 0 0 0 0 0 0.238 0.422 0 0 0 0 0.639 0.688 0], [0 0 0 0 0 0 0 0 0.702 0.332 0 0.64 0.612 0.967 0 0 0.481 0 0.171 0 0 0 0 0 0 0 0.422 0.998 0 0.145 0.267 0 0 0 0], [0 0 0 0 0 0.161 0 0.498 0 0 0 0.554 0 0 0 0.561 0 0 0.48 0.383 0.567 0 0 0.332 0 0 0 0 0.274 0 0 0 0.274 0 0], [0 0 0 0 0 0 0.311 0 0 0.91 0 0 0 0.197 0 0 0 0.036 0 0.175 0.364 0 0 0 0.217 0.346 0 0.145 0 0.11 0 0 0 0 0], [0 0 0 0 0.213 0 0 0 0 0 0 0.335 0 0 0 0.21 0 0 0 0 0 0 0.173 0 0 0 0 0.267 0 0 0.536 0 0 0 0], [0 0 0 0.297 0 0 0 0 0.679 0.835 0 0.483 0 0 0 0 0 0.564 0 0 0 0 0 0 0 0 0 0 0 0 0 0.852 0 0 0.521], [0 0.817 0.122 0 0.571 0 0 0 0 0 0 0 0 0 0.42 0.272 0 0 0 0 0 0 0.825 0 0.46 0.132 0.639 0 0.274 0 0 0 0 0.563 0.812], [0 0 0 0 0 0 0 0.778 0 0 0 0 0 0 0 0 0 0.051 0 0 0 0 0.148 0 0 0 0.688 0 0 0 0 0 0.563 0 0], [0 0 0 0 0.468 0.207 0.167 0.474 0.787 0.788 0 0 0 0.568 0 0.918 0.337 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.521 0.812 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] trace | pi:
[0 1 2 18 4 18 18 18 8 9 10 11 12 13 14 15 16 17 18 18 18 21 22 23 24 25 26 18 18 29 30 31 32 33 34], [0 5 19 18 7 7 18 18 27 27 19 27 27 20 20 3 27 7 18 18 18 6 3 5 24 20 7 18 18 27 27 3 28 7 6], [9 26 32 18 30 7 18 18 27 27 26 30 27 29 20 30 27 29 18 29 18 6 30 5 29 29 7 18 18 27 27 3 28 17 6], [9 26 4 18 30 7 18 18 17 27 26 24 24 29 20 30 13 29 18 29 18 6 30 5 29 29 7 18 18 27 27 3 28 17 6] | [9 26 4 18 30 7 18 18 17 27 26 24 24 29 20 30 13 29 18 29 18 6 33 5 29 29 7 18 18 27 27 3 28 17 6]
bellman_ford
35
task_scheduling: d: [6 35 37 2 5 3 24 8 10 36 16 26 32 35 15 3 29 32 38 31 6 32 28 23 19 6 2 14 5 14 18 15 13 21 36 7 36 9 3], w: [0.546 0.525 0.406 0.615 0.837 0.354 0.884 0.195 0.776 0.609 0.985 0.237 0.894 0.384 0.499 0.783 0.856 0.717 0.207 0.517 0.071 0.712 0.56 0.557 0.268 0.444 0.337 0.323 0.905 0.073 0.89 0.808 0.642 0.115 0.557 0.16 0.279 0.536 0.756], 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] trace | selected:
[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 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 0], [0 0 0 0 0 0 0 0 0 0 1 0 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 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 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 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 1 0 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1 1 1 1 1 0 0 1 1 1 1 0 1 1 1 0 0 0 0 1 0 1 1 1 0 1 0 1 0 0], [0 1 1 0 0 0 1 0 1 1 1 1 1 1 0 0 1 1 1 1 0 1 1 1 0 0 0 0 1 0 1 1 1 0 1 0 1 0 0], [0 1 1 0 0 0 1 0 1 1 1 1 1 1 0 0 1 1 1 1 0 1 1 1 0 0 0 0 1 0 1 1 1 0 1 0 1 0 0], [0 1 1 0 0 0 1 0 1 1 1 1 1 1 0 0 1 1 1 1 0 1 1 1 0 0 0 0 1 0 1 1 1 0 1 0 1 0 0], [0 1 1 0 0 0 1 0 1 1 1 1 1 1 0 0 1 1 1 1 0 1 1 1 0 0 0 0 1 0 1 1 1 0 1 0 1 0 0] | [0 1 1 0 0 0 1 0 1 1 1 1 1 1 0 0 1 1 1 1 0 1 1 1 0 0 0 0 1 0 1 1 1 0 1 0 1 0 0]
task_scheduling
39
naive_string_matcher: string: [0 0 0 0 0 0 0 0 1 1], key: [0 3 1 1 0 1 3 1 1 3], initial_trace: 0 trace | s:
1, 2, 2, 3, 3, 4, 5 | 5
naive_string_matcher
10
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 1 1 1 1 1 1 1], key: [1 2 1 2 0 0 0 2 2 3 3 2 0 0 2 1 1 3 3 3 0 0 2 2 2 2 2 0 3 0 3 0 0 2 2 3 3 2], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4 | 5
kmp_matcher
38
task_scheduling: d: [10 9 2 9 3 6 2 4 4 4 6], w: [0.356 0.796 0.9 0.873 0.56 0.502 0.196 0.775 0.945 0.053 0.114], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 0 0 0 1 0 0], [0 0 1 1 0 0 0 0 1 0 0], [0 1 1 1 0 0 0 0 1 0 0], [0 1 1 1 0 0 0 0 1 0 0], [0 1 1 1 0 0 0 0 1 0 0], [0 1 1 1 0 1 0 0 1 0 0], [1 1 1 1 0 1 0 0 1 0 0], [1 1 1 1 0 1 0 0 1 0 0], [1 1 1 1 0 1 0 0 1 0 0] | [1 1 1 1 0 1 0 0 1 0 0]
task_scheduling
11
find_maximum_subarray_kadane: key: [0.602 -0.839 -0.836 0.241 0.537 -0.066 -0.779 -0.971 -0.816 -0.755 0.264 -0.612 0.347 -0.919 -0.677 -0.145 -0.609 -0.596 -0.88 -0.217 -0.644 0.524 0.981 -0.324 0.441 0.165 -0.266 -0.728 -0.846 0.845 0.273 0.295 0.612 -0.831], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (0, 0), (0, 0), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (21, 22), (21, 22), (21, 24), (21, 25), (21, 25), (21, 25), (21, 25), (21, 25), (21, 25), (21, 25), (29, 32) | (29, 32)
find_maximum_subarray_kadane
34
quickselect: key: [0.012 0.401 0.036 0.573 0.381], initial_trace: 4 trace | pivot:
4, 4, 4 | 4
quickselect
5
binary_search: key: [0.033 0.066 0.074 0.117 0.162 0.166 0.179 0.205 0.232 0.246 0.329 0.369 0.376 0.386 0.388 0.402 0.502 0.508 0.527 0.564 0.669 0.678 0.728 0.734 0.747 0.751 0.751 0.764 0.768 0.834 0.836 0.896 0.917 0.977 0.991], target: 0.602, initial_trace: (0, 34) trace | (low, high):
(18, 34), (18, 26), (18, 22), (18, 20) | (20, 20)
binary_search
35
activity_selector: s: [0.056 0.429 0.404 0.022 0.219 0.254 0.274 0.116 0.05 0.31 0.148 0.499 0.585 0.069 0.398 0.361 0.122 0.149 0.379 0.647 0.626 0.196 0.622 0.296 0.596 0.626 0.073 0.85 0.35 0.74 0.121 0.345], f: [0.807 0.468 0.78 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]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], 9, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 19, [19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 0, [19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 0, [19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 0, [19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 0, [19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 0, [19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 0, [19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 0, [19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 9], 0, [19 1 2 3 4 5 6 7 8 9 10 11 12 0 14 15 16 17 18 9], 13, [19 1 2 3 4 5 6 13 8 9 10 11 12 0 14 15 16 17 18 9], 7, [19 1 2 3 7 5 6 13 8 9 10 11 12 0 14 15 16 17 18 9], 4, [19 1 2 3 7 5 6 13 8 9 10 11 12 0 14 15 16 17 18 9], 4, [19 1 2 3 7 5 6 13 8 9 10 11 12 0 4 15 16 17 18 9], 14, [19 1 2 14 7 5 6 13 8 9 10 11 12 0 4 15 16 17 18 9], 3, [19 1 2 14 7 5 6 13 8 9 10 11 12 0 4 15 16 17 18 9], 3, [19 1 2 14 7 5 6 13 8 9 10 11 12 0 4 15 16 17 18 9], 3, [19 1 2 14 7 5 6 13 8 9 10 11 12 0 4 15 16 17 18 9], 3, [19 1 2 14 7 5 6 13 8 9 10 11 12 0 4 15 16 3 18 9], 17, [19 1 2 14 7 5 6 13 8 9 17 11 12 0 4 15 16 3 18 9], 10, [19 1 2 14 7 5 6 13 8 9 17 11 12 0 4 15 16 3 18 9], 10, [19 1 2 14 7 5 6 13 8 9 17 10 12 0 4 15 16 3 18 9], 11, [19 1 2 14 7 5 6 13 8 9 17 10 12 0 4 15 16 3 18 9], 11, [19 1 2 14 7 5 6 13 8 9 17 10 12 0 4 11 16 3 18 9], 15, [19 1 2 14 7 5 6 13 8 9 17 10 12 0 4 11 15 3 18 9], 16, [19 1 2 14 7 5 16 13 8 9 17 10 12 0 4 11 15 3 18 9], 6, [19 1 2 14 7 5 16 13 8 9 17 10 12 0 4 11 15 3 18 9], 6, [19 1 2 14 7 5 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 8, [19 8 2 14 7 5 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 1, [19 8 2 14 7 5 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 1, [19 8 2 14 7 5 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 1, [19 8 1 14 7 5 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 2, [19 8 1 14 7 5 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 2, [19 8 1 14 7 5 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 2, [19 8 1 14 7 2 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 5, [19 8 1 14 7 2 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 5, [19 8 1 14 7 2 16 13 6 9 17 10 12 0 4 11 15 3 18 9], 5, [19 8 1 14 7 2 16 13 6 9 17 10 5 0 4 11 15 3 18 9], 12, [19 8 1 14 7 2 16 13 6 9 17 10 5 0 4 11 15 3 18 9], 12, [19 8 1 14 7 2 16 13 6 9 17 10 5 0 4 11 15 3 18 9], 12 | [19 8 1 14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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58] trace | pi:
[0 1 2 3 4 5 6 7 8 20 10 11 12 20 20 15 20 20 18 19 20 21 22 23 24 25 26 27 20 20 30 31 32 20 34 35 36 20 38 20 40 20 42 43 44 45 46 47 48 49 20 51 20 53 54 55 20 57 58] | [33 17 33 17 9 16 33 9 9 20 9 16 9 20 20 9 20 20 16 14 20 13 29 14 29 16 14 9 20 20 13 14 9 20 29 9 9 20 17 20 29 20 14 14 9 9 16 9 9 13 20 9 20 33 13 13 20 9 14]
bfs
59
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 1 1 1 1 1 1 1 1 1], key: [0 1 1 3 0 3 1 2 2 2 3 0 2 0 3 3 1 3 3 0 1 1 2 2 2 1 0 3 3 1 0 1 0 1 2 3 3 3 1 3 3 0 1 1 2], initial_trace: 0 trace | s:
1, 2, 3, 3, 4, 5, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 14, 14, 14, 14, 14, 14, 14 | 14
naive_string_matcher
45
matrix_chain_order: p: [0.557 0.96 0.732 0.839 0.349 0.349 0.87 0.585 0.72 0.098 0.062 0.427 0.307 0.266], 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 0 0 0 0 0 0 0 0 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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 5 7 6 7 7 8 0], [0 0 0 0 0 0 0 6 7 6 7 9 9 9], [0 0 0 0 0 0 0 0 7 7 7 9 9 9], [0 0 0 0 0 0 0 0 0 8 8 10 10 10], [0 0 0 0 0 0 0 0 0 0 9 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 0 11 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 12], [0 0 0 0 0 0 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 2 1 4 4 4 4 4 4 4 5 5], [0 0 0 2 2 2 5 4 4 2 4 5 5 5], [0 0 0 0 3 4 5 4 4 3 4 9 9 9], [0 0 0 0 0 4 5 4 4 5 4 9 9 9], [0 0 0 0 0 0 5 5 7 5 6 9 9 9], [0 0 0 0 0 0 0 6 7 6 6 9 9 9], [0 0 0 0 0 0 0 0 7 7 7 10 10 10], [0 0 0 0 0 0 0 0 0 8 8 10 10 10], [0 0 0 0 0 0 0 0 0 0 9 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 0 11 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 12], [0 0 0 0 0 0 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 2 1 4 5 5 5 1 1 9 5 5], [0 0 0 2 2 2 5 4 4 2 2 9 9 9], [0 0 0 0 3 4 5 4 4 3 3 9 9 9], [0 0 0 0 0 4 5 4 4 4 5 9 9 9], [0 0 0 0 0 0 5 5 7 5 5 9 9 9], [0 0 0 0 0 0 0 6 7 6 6 10 10 10], [0 0 0 0 0 0 0 0 7 7 7 10 10 10], [0 0 0 0 0 0 0 0 0 8 8 10 10 10], [0 0 0 0 0 0 0 0 0 0 9 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 0 11 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 12], [0 0 0 0 0 0 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 2 1 4 5 5 5 1 1 9 9 9], [0 0 0 2 2 2 5 4 4 2 2 9 9 9], [0 0 0 0 3 4 5 4 4 3 3 9 9 9], [0 0 0 0 0 4 5 4 4 4 4 9 9 9], [0 0 0 0 0 0 5 5 7 5 5 10 10 10], [0 0 0 0 0 0 0 6 7 6 6 10 10 10], [0 0 0 0 0 0 0 0 7 7 7 10 10 10], [0 0 0 0 0 0 0 0 0 8 8 10 10 10], [0 0 0 0 0 0 0 0 0 0 9 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 0 11 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 12], [0 0 0 0 0 0 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 2 1 4 5 5 5 1 1 9 9 9], [0 0 0 2 2 2 5 4 4 2 2 10 10 9], [0 0 0 0 3 4 5 4 4 3 3 9 9 9], [0 0 0 0 0 4 5 4 4 4 4 10 10 10], [0 0 0 0 0 0 5 5 7 5 5 10 10 10], [0 0 0 0 0 0 0 6 7 6 6 10 10 10], [0 0 0 0 0 0 0 0 7 7 7 10 10 10], [0 0 0 0 0 0 0 0 0 8 8 10 10 10], [0 0 0 0 0 0 0 0 0 0 9 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 0 11 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 12], [0 0 0 0 0 0 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 2 1 4 5 5 5 1 1 10 10 10], [0 0 0 2 2 2 5 4 4 2 2 10 10 10], [0 0 0 0 3 4 5 4 4 3 3 10 10 10], [0 0 0 0 0 4 5 4 4 4 4 10 10 10], [0 0 0 0 0 0 5 5 7 5 5 10 10 10], [0 0 0 0 0 0 0 6 7 6 6 10 10 10], [0 0 0 0 0 0 0 0 7 7 7 10 10 10], [0 0 0 0 0 0 0 0 0 8 8 10 10 10], [0 0 0 0 0 0 0 0 0 0 9 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 0 11 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 12], [0 0 0 0 0 0 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 2 1 4 5 5 5 1 1 10 10 10], [0 0 0 2 2 2 5 4 4 2 2 10 10 10], [0 0 0 0 3 4 5 4 4 3 3 10 10 10], [0 0 0 0 0 4 5 4 4 4 4 10 10 10], [0 0 0 0 0 0 5 5 7 5 5 10 10 10], [0 0 0 0 0 0 0 6 7 6 6 10 10 10], [0 0 0 0 0 0 0 0 7 7 7 10 10 10], [0 0 0 0 0 0 0 0 0 8 8 10 10 10], [0 0 0 0 0 0 0 0 0 0 9 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 0 11 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 12], [0 0 0 0 0 0 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 2 1 4 5 5 5 1 1 10 10 10], [0 0 0 2 2 2 5 4 4 2 2 10 10 10], [0 0 0 0 3 4 5 4 4 3 3 10 10 10], [0 0 0 0 0 4 5 4 4 4 4 10 10 10], [0 0 0 0 0 0 5 5 7 5 5 10 10 10], [0 0 0 0 0 0 0 6 7 6 6 10 10 10], [0 0 0 0 0 0 0 0 7 7 7 10 10 10], [0 0 0 0 0 0 0 0 0 8 8 10 10 10], [0 0 0 0 0 0 0 0 0 0 9 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 10 10 10], [0 0 0 0 0 0 0 0 0 0 0 0 11 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 12], [0 0 0 0 0 0 0 0 0 0 0 0 0 0]]
matrix_chain_order
14
segments_intersect: x: [0.06 0.295 0.946 0.054], y: [0.202 0.258 0.832 0.402] intersect:
0
segments_intersect
13
bellman_ford: s: 3, A: [[0.712 0.486 0 0.361 0 0 0], [0.486 0 0.263 0.919 0 0.253 0], [0 0.263 0.768 0 0.559 0 0.534], [0.361 0.919 0 0.758 0 0 0], [0 0 0.559 0 0.213 0.511 0], [0 0.253 0 0 0.511 0.562 0.435], [0 0 0.534 0 0 0.435 0]], initial_trace: [0 1 2 3 4 5 6] trace | pi:
[3 3 2 3 4 5 6], [3 0 1 3 4 1 6], [3 0 1 3 5 1 5] | [3 0 1 3 5 1 5]
bellman_ford
7
bfs: s: 3, A: [[0 0 0 1 1 0], [0 0 0 0 1 0], [0 0 1 0 0 0], [1 0 0 1 0 0], [1 1 0 0 0 0], [0 0 0 0 0 1]], initial_trace: [0 1 2 3 4 5] trace | pi:
[3 1 2 3 4 5], [3 1 2 3 0 5] | [3 4 2 3 0 5]
bfs
6
optimal_bst: p: [0.02 0.062 0.057 0.045 0.077 0.037 0.079 0.014 0.01 0.027 0.03 0], q: [0.074 0.036 0.028 0.059 0.025 0.003 0.01 0.055 0.079 0.049 0.07 0.052], 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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6 6 6 6], [0 0 0 0 0 0 5 6 6 7 7 7], [0 0 0 0 0 0 0 6 7 7 7 9], [0 0 0 0 0 0 0 0 7 7 8 9], [0 0 0 0 0 0 0 0 0 8 9 9], [0 0 0 0 0 0 0 0 0 0 9 10], [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
quicksort: key: [0.335 0.379 0.922 0.451 0.353 0.74 0.317 0.033 0.131 0.694 0.985 0.615 0.881 0.646 0.432], initial_trace: [0.335 0.379 0.922 0.451 0.353 0.74 0.317 0.033 0.131 0.694 0.985 0.615 0.881 0.646 0.432] trace | pred:
[0.335 0.379 0.922 0.451 0.353 0.74 0.317 0.033 0.131 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.922 0.451 0.353 0.74 0.317 0.033 0.131 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.922 0.451 0.353 0.74 0.317 0.033 0.131 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.451 0.922 0.74 0.317 0.033 0.131 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.451 0.922 0.74 0.317 0.033 0.131 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.922 0.74 0.451 0.033 0.131 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.033 0.74 0.451 0.922 0.131 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.033 0.131 0.451 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.033 0.131 0.451 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.033 0.131 0.451 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.033 0.131 0.451 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.033 0.131 0.451 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.033 0.131 0.451 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.432], [0.335 0.379 0.353 0.317 0.033 0.131 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.335 0.379 0.353 0.317 0.033 0.131 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.335 0.379 0.353 0.317 0.033 0.131 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.335 0.379 0.353 0.317 0.033 0.131 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.335 0.379 0.353 0.317 0.033 0.131 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.379 0.353 0.317 0.335 0.131 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.353 0.317 0.335 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.353 0.317 0.335 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.353 0.317 0.335 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.353 0.317 0.335 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.353 0.317 0.335 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.353 0.317 0.335 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.353 0.335 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.922 0.74 0.694 0.985 0.615 0.881 0.646 0.451], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.985 0.615 0.881 0.646 0.922], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.985 0.615 0.881 0.646 0.922], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.985 0.615 0.881 0.646 0.922], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.985 0.615 0.881 0.646 0.922], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.615 0.985 0.881 0.646 0.922], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.615 0.881 0.985 0.646 0.922], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.615 0.881 0.646 0.985 0.922], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.615 0.881 0.646 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.615 0.881 0.646 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.74 0.694 0.615 0.881 0.646 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.615 0.694 0.74 0.881 0.646 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.615 0.694 0.74 0.881 0.646 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.615 0.646 0.74 0.881 0.694 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.615 0.646 0.74 0.881 0.694 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.615 0.646 0.74 0.881 0.694 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.615 0.646 0.694 0.881 0.74 0.922 0.985], [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.615 0.646 0.694 0.881 0.74 0.922 0.985] | [0.033 0.131 0.317 0.335 0.353 0.379 0.432 0.451 0.615 0.646 0.694 0.74 0.881 0.922 0.985]
quicksort
15
task_scheduling: d: [15 21 16 2 24 9 25 19 4 21 29 30 16 27 20 24 19 10 21 4 20 22 13 22 8 21 5 30 16 13], w: [0.78 0.93 0.823 0.619 0.259 0.661 0.791 0.067 0.269 0.028 0.455 0.342 0.622 0.565 0.441 0.577 0.49 0.182 0.437 0.772 0.907 0.453 0.751 0.654 0.189 0.689 0.637 0.354 0.239 0.738], 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] trace | selected:
[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 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 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 0 0 0 0], [0 1 1 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], [1 1 1 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], [1 1 1 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1 0 1], [1 1 1 0 0 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1], [1 1 1 0 0 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1], [1 1 1 0 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1], [1 1 1 0 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1], [1 1 1 0 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1], [1 1 1 0 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1], [1 1 1 0 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1] | [1 1 1 0 1 1 1 0 0 0 1 1 1 1 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 1]
task_scheduling
30
dijkstra: s: 5, A: [[0 0 0.107 0.343 0.248 0.704 0 0 0.088 0 0 0.31 0.495 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.152 0 0.242 0.128 0 0 0 0.554], [0 0.516 0 0 0.172 0.315 0 0.316 0 0 0 0 0 0 0.584 0 0.887 0 0.587 0 0.153 0 0.62 0 0 0.769 0 0 0.381 0.113 0.896 0 0 0 0], [0.107 0 0.087 0.505 0 0 0 0 0 0 0 0 0 0 0 0.294 0 0 0 0.194 0.673 0.362 0 0 0.733 0 0 0 0 0 0 0 0.503 0 0.526], [0.343 0 0.505 0.256 0 0 0 0 0 0 0 0 0.369 0.341 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.253 0 0 0 0 0.611 0], [0.248 0.172 0 0 0 0 0.408 0 0 0 0 0.406 0 0 0.475 0.847 0 0 0.401 0 0.86 0 0 0 0 0 0.695 0.528 0 0 0 0.747 0.414 0.754 0.415], [0.704 0.315 0 0 0 0 0.819 0 0.06 0 0 0.377 0 0 0 0 0 0 0 0.058 0 0 0.222 0 0 0.05 0 0 0 0 0.628 0 0 0 0], [0 0 0 0 0.408 0.819 0.344 0 0 0 0.714 0 0 0 0 0 0.652 0 0.804 0 0 0 0.322 0 0 0 0 0 0 0.442 0 0 0 0 0.54], [0 0.316 0 0 0 0 0 0 0 0 0.513 0 0 0 0 0 0 0 0 0 0 0.072 0 0 0.632 0 0 0.646 0 0 0 0 0 0 0], [0.088 0 0 0 0 0.06 0 0 0.854 0 0.778 0.806 0 0.632 0 0 0 0.485 0 0 0.513 0 0 0 0 0 0.353 0 0.379 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.067 0 0.364 0 0.474 0 0 0 0 0 0 0 0 0.718 0.279 0 0.472 0 0.199 0 0 0 0.252 0.756 0 0.174], [0 0 0 0 0 0 0.714 0.513 0.778 0 0.175 0.108 0 0.593 0 0 0.563 0.07 0 0 0 0 0 0 0 0 0 0 0 0.754 0 0 0.316 0.136 0], [0.31 0 0 0 0.406 0.377 0 0 0.806 0.364 0.108 0 0 0.231 0.502 0 0.516 0.214 0 0.846 0.159 0.215 0 0 0.362 0 0 0.468 0 0 0.721 0.396 0 0.4 0.681], [0.495 0 0 0.369 0 0 0 0 0 0 0 0 0.152 0 0 0 0 0 0.219 0.084 0.191 0.615 0 0.538 0 0 0 0 0 0.121 0 0 0 0 0], [0 0 0 0.341 0 0 0 0 0.632 0.474 0.593 0.231 0 0.158 0 0 0 0 0 0.179 0 0.389 0.732 0.642 0 0 0 0 0 0.465 0.569 0.741 0 0 0], [0 0.584 0 0 0.475 0 0 0 0 0 0 0.502 0 0 0.492 0 0.68 0.353 0 0.357 0 0 0 0.198 0 0 0 0 0 0 0 0 0 0.862 0], [0 0 0.294 0 0.847 0 0 0 0 0 0 0 0 0 0 0.232 0 0 0.929 0 0 0 0.643 0.804 0 0 0 0 0 0 0 0 0 0 0], [0 0.887 0 0 0 0 0.652 0 0 0 0.563 0.516 0 0 0.68 0 0.777 0 0 0 0 0 0.23 0 0 0 0.511 0 0.169 0.379 0 0.852 0 0 0], [0 0 0 0 0 0 0 0 0.485 0 0.07 0.214 0 0 0.353 0 0 0 0 0.821 0 0 0 0 0.902 0 0 0.871 0.292 0 0 0.042 0 0 0], [0 0.587 0 0 0.401 0 0.804 0 0 0 0 0 0.219 0 0 0.929 0 0 0 0.076 0 0 0 0 0 0 0 0 0.271 0 0 0 0 0 0], [0 0 0.194 0 0 0.058 0 0 0 0 0 0.846 0.084 0.179 0.357 0 0 0.821 0.076 0 0.551 0 0 0.607 0 0 0 0 0.099 0 0 0 0 0 0], [0 0.153 0.673 0 0.86 0 0 0 0.513 0 0 0.159 0.191 0 0 0 0 0 0 0.551 0.323 0.077 0 0 0 0 0 0 0 0.582 0 0 0 0 0], [0 0 0.362 0 0 0 0 0.072 0 0 0 0.215 0.615 0.389 0 0 0 0 0 0 0.077 0.245 0 0.605 0 0.099 0 0 0.293 0 0 0.613 0 0.618 0], [0 0.62 0 0 0 0.222 0.322 0 0 0.718 0 0 0 0.732 0 0.643 0.23 0 0 0 0 0 0 0 0 0 0.441 0.261 0.218 0 0.486 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.279 0 0 0.538 0.642 0.198 0.804 0 0 0 0.607 0 0.605 0 0 0 0 0.421 0 0 0.594 0 0 0 0 0], [0 0 0.733 0 0 0 0 0.632 0 0 0 0.362 0 0 0 0 0 0.902 0 0 0 0 0 0 0 0 0 0 0 0 0 0.168 0 0 0], [0 0.769 0 0 0 0.05 0 0 0 0.472 0 0 0 0 0 0 0 0 0 0 0 0.099 0 0 0 0 0 0 0 0 0 0 0 0 0.178], [0 0 0 0 0.695 0 0 0 0.353 0 0 0 0 0 0 0 0.511 0 0 0 0 0 0.441 0.421 0 0 0.966 0 0 0 0 0.425 0 0 0.478], [0.152 0 0 0 0.528 0 0 0.646 0 0.199 0 0.468 0 0 0 0 0 0.871 0 0 0 0 0.261 0 0 0 0 0.356 0 0 0 0.645 0.868 0.194 0], [0 0.381 0 0.253 0 0 0 0 0.379 0 0 0 0 0 0 0 0.169 0.292 0.271 0.099 0 0.293 0.218 0 0 0 0 0 0.318 0.634 0 0 0 0 0], [0.242 0.113 0 0 0 0 0.442 0 0 0 0.754 0 0.121 0.465 0 0 0.379 0 0 0 0.582 0 0 0.594 0 0 0 0 0.634 0 0 0 0.602 0 0], [0.128 0.896 0 0 0 0.628 0 0 0 0 0 0.721 0 0.569 0 0 0 0 0 0 0 0 0.486 0 0 0 0 0 0 0 0.084 0.409 0 0.138 0], [0 0 0 0 0.747 0 0 0 0 0.252 0 0.396 0 0.741 0 0 0.852 0.042 0 0 0 0.613 0 0 0.168 0 0.425 0.645 0 0 0.409 0.22 0 0 0.618], [0 0 0.503 0 0.414 0 0 0 0 0.756 0.316 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.868 0 0.602 0 0 0 0 0], [0 0 0 0.611 0.754 0 0 0 0 0 0.136 0.4 0 0 0.862 0 0 0 0 0 0 0.618 0 0 0 0 0 0.194 0 0 0.138 0 0 0.76 0], [0.554 0 0.526 0 0.415 0 0.54 0 0 0.174 0 0.681 0 0 0 0 0 0 0 0 0 0 0 0 0 0.178 0.478 0 0 0 0 0.618 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] trace | pi:
[5 5 2 3 4 5 5 7 5 9 10 5 12 13 14 15 16 17 18 5 20 21 5 23 24 5 26 27 28 29 5 31 32 33 34], [5 5 2 3 4 5 5 7 5 25 10 5 12 13 14 15 16 17 18 5 20 25 5 23 24 5 26 27 28 29 5 31 32 33 25], [5 5 19 3 4 5 5 7 5 25 10 5 19 19 19 15 16 19 19 5 19 25 5 19 24 5 26 27 19 29 5 31 32 33 25], [8 5 19 3 4 5 5 7 5 25 8 5 19 19 19 15 16 8 19 5 8 25 5 19 24 5 8 27 19 29 5 31 32 33 25], [8 5 19 3 18 5 5 7 5 25 8 5 19 19 19 18 16 8 19 5 8 25 5 19 24 5 8 27 19 29 5 31 32 33 25], [8 5 19 12 18 5 5 7 5 25 8 5 19 19 19 18 16 8 19 5 12 25 5 19 24 5 8 27 19 12 5 31 32 33 25], [8 5 19 0 0 5 5 7 5 25 8 5 19 19 19 18 16 8 19 5 12 25 5 19 24 5 8 0 19 12 0 31 32 33 25], [8 5 19 0 0 5 5 21 5 25 8 21 19 19 19 18 16 8 19 5 21 25 5 19 24 5 8 0 19 12 0 21 32 21 25], [8 5 19 28 0 5 5 21 5 25 8 21 19 19 19 18 28 28 19 5 21 25 5 19 24 5 8 0 19 12 0 21 32 21 25], [8 5 19 28 0 5 5 21 5 25 7 21 19 19 19 18 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 21 32 21 25], [8 5 19 28 0 5 22 21 5 25 7 21 19 19 19 22 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 21 32 21 25], [8 5 19 28 0 5 22 21 5 25 7 21 19 19 19 22 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 21 32 21 25], [8 5 19 28 0 5 22 21 5 34 7 21 19 19 19 22 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 21 32 21 25], [8 5 19 28 0 5 22 21 5 34 7 21 19 19 19 22 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 21 32 21 25], [8 5 19 28 0 5 22 21 5 34 7 21 19 19 19 2 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 21 2 21 25], [8 5 19 28 0 5 22 21 5 34 7 21 19 19 19 2 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 21 2 21 25], [8 5 19 28 0 5 22 21 5 34 7 21 19 19 19 2 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 30 2 30 25], [8 5 19 28 0 5 22 21 5 34 7 21 19 19 19 2 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 30 2 30 25], [8 5 19 28 0 5 22 21 5 34 7 21 19 19 19 2 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 30 2 30 25], [8 5 19 28 0 5 22 21 5 34 7 21 19 19 19 2 28 28 19 5 21 25 5 19 7 5 8 0 19 12 0 30 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 19 11 5 8 0 19 12 0 30 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 19 11 5 8 0 19 12 0 30 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 19 11 5 8 0 19 12 0 9 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 19 11 5 8 0 19 12 0 9 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 19 11 5 8 0 19 12 0 9 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 19 11 5 8 0 19 12 0 9 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 11 5 8 0 19 12 0 9 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 11 5 8 0 19 12 0 17 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 11 5 8 0 19 12 0 17 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 31 5 8 0 19 12 0 17 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 31 5 8 0 19 12 0 17 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 31 5 8 0 19 12 0 17 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 31 5 8 0 19 12 0 17 2 30 25], [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 31 5 8 0 19 12 0 17 2 30 25] | [8 5 19 28 0 5 22 21 5 34 11 21 19 19 19 2 28 28 19 5 21 25 5 14 31 5 8 0 19 12 0 17 2 30 25]
dijkstra
35
binary_search: key: [0.052 0.106 0.258 0.259 0.292 0.309 0.317 0.38 0.399 0.402 0.496 0.5 0.56 0.672 0.723 0.746 0.766 0.78 0.783 0.804 0.832 0.836 0.861 0.94], target: 0.352, initial_trace: (0, 23) trace | (low, high):
(0, 11), (6, 11), (6, 8), (6, 7) | (7, 7)
binary_search
24
topological_sort: A: [[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 0], [0 1 0 0 1 0 0 1 1], [0 0 0 0 0 0 0 0 0], [0 1 0 0 1 0 0 0 1], [0 1 1 1 0 1 0 0 1], [0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8], 0, [0 1 2 3 4 5 6 7 8], 0, [0 1 2 3 4 5 6 7 8], 4, [4 1 2 3 4 5 6 7 8], 0, [4 1 2 3 4 5 6 7 8], 0, [4 1 2 3 4 5 6 7 8], 0, [4 1 2 3 4 5 6 7 8], 0, [4 1 0 3 4 5 6 7 8], 2, [4 2 0 3 4 5 6 7 8], 1, [4 2 0 3 4 5 6 7 8], 1, [4 2 0 3 4 5 6 7 8], 1, [4 2 0 3 4 5 6 7 8], 1, [4 2 0 3 4 5 6 1 8], 7, [4 2 0 3 4 5 6 1 8], 7, [4 2 0 3 4 5 6 1 7], 8, [4 2 0 8 4 5 6 1 7], 3, [4 2 0 8 4 5 6 1 7], 3, [4 2 0 8 4 5 6 1 7], 3, [4 2 0 8 4 3 6 1 7], 5, [4 2 0 8 4 3 6 1 7], 5, [4 2 0 8 4 3 6 1 7], 5 | [4 2 0 8 4 3 5 1 7], 6
topological_sort
9
bellman_ford: s: 2, A: [[0 0 0 0 0 0 0 0 0 0 0.594 0.665 0 0], [0 0.071 0.253 0 0 0 0 0.246 0 0.34 0 0.742 0 0], [0 0.253 0.355 0 0 0 0 0 0.263 0 0 0.961 0 0], [0 0 0 0.112 0 0 0.887 0.134 0 0 0 0 0 0], [0 0 0 0 0.664 0.311 0 0.552 0 0.309 0.614 0 0 0.879], [0 0 0 0 0.311 0.918 0 0.263 0 0 0 0 0 0], [0 0 0 0.887 0 0 0.456 0.125 0.513 0.422 0 0 0 0], [0 0.246 0 0.134 0.552 0.263 0.125 0.8 0 0 0 0 0.626 0], [0 0 0.263 0 0 0 0.513 0 0.849 0.476 0 0 0 0], [0 0.34 0 0 0.309 0 0.422 0 0.476 0.411 0 0 0 0], [0.594 0 0 0 0.614 0 0 0 0 0 0.407 0 0 0], [0.665 0.742 0.961 0 0 0 0 0 0 0 0 0.387 0.42 0], [0 0 0 0 0 0 0 0.626 0 0 0 0.42 0.24 0], [0 0 0 0 0.879 0 0 0 0 0 0 0 0 0.828]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13] trace | pi:
[0 2 2 3 4 5 6 7 2 9 10 2 12 13], [11 2 2 3 4 5 8 1 2 1 10 2 11 13], [11 2 2 7 9 7 7 1 2 1 0 2 7 13] | [11 2 2 7 9 7 7 1 2 1 4 2 7 4]
bellman_ford
14
lcs_length: string: [0 0 0 0 0 1 1 1 1 1], key: [0 0 1 3 0 2 1 1 2 0], initial_trace: [[-1 -1 -1 -1 -1 1 1 1 1 0], [-1 -1 -1 -1 -1 1 0 0 0 0], [-1 -1 -1 -1 -1 1 0 0 0 0], [-1 -1 -1 -1 -1 1 0 0 0 0], [-1 -1 -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 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1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0 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 1 1 0 0 0 1], [0 1 1 0 1 1 0 0 1 0 1 0 0 0 1 1 0 0 1 1 0 1 0 1 0 1 1 1], [0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 1 1 0 1 0 1 0 1 1 0 0 1 0], [1 0 0 1 0 1 1 0 1 0 0 1 1 0 0 0 1 0 0 1 0 1 1 1 0 1 1 0], [0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 0 0 0 1 0 0 0 0 1 1 1 0 1], [0 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 1 0 1 0 0 0 0 0 1 1 1 1], [0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 1], [1 1 0 0 1 0 0 0 1 1 1 1 1 1 1 1 0 1 1 0 0 0 0 0 1 0 0 1], [1 0 0 1 1 1 1 1 0 0 1 0 1 0 0 1 0 1 1 0 1 0 1 1 1 1 1 0], [0 0 0 0 0 0 1 1 1 1 1 0 0 1 0 1 1 1 1 1 1 0 1 0 1 1 0 0], [0 1 1 0 0 1 1 1 1 0 0 0 0 1 1 0 0 1 1 0 1 1 0 1 0 1 0 1], [0 1 1 1 1 0 1 0 1 0 1 1 1 0 0 0 0 0 0 0 1 1 0 0 1 0 1 1], [1 1 0 1 0 0 1 0 0 1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 0 0 1], [1 1 0 1 0 1 0 0 0 1 1 1 0 0 0 0 1 1 1 1 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 24 25 26 27] trace | pi:
[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], [0 1 0 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], [0 1 0 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], [0 2 0 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], [0 2 0 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], [0 2 0 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 4 5 6 7 8 9 3 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 4 5 6 7 8 9 3 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 4 5 10 7 8 9 3 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 4 5 10 7 8 9 3 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 5 10 7 8 9 3 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 5 10 7 8 9 3 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 5 10 7 8 4 3 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 5 10 7 8 4 3 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 5 10 7 8 4 3 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 5 10 7 8 4 3 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 5 10 11 8 4 3 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 5 10 11 8 4 3 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 8 4 3 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 8 4 3 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 8 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 8 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 8 13 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 8 13 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 8 13 14 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 8 13 14 16 17 18 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 8 13 14 16 17 15 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 12 8 13 14 16 17 15 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 16 17 15 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 16 17 15 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 17 15 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 17 15 19 20 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 17 15 19 16 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 17 15 19 16 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 17 15 20 16 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 17 15 20 16 21 22 23 24 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 17 15 20 16 21 22 23 19 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 17 15 20 16 21 22 23 19 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 21 22 23 19 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 21 22 23 19 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 23 19 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 23 19 25 26 27], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 23 19 25 26 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 23 19 25 26 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 23 19 27 26 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 23 19 27 26 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 23 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 23 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 22 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21], [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21] | [0 2 0 1 6 7 10 11 5 4 3 9 18 8 13 14 12 24 15 20 16 17 23 26 19 27 25 21]
dfs
28
activity_selector: s: [0.294 0.442 0.246 0.216 0.02 0.63 0.178 0.64 0.496 0.136 0.575 0.055 0.225 0.655 0.14 0.127 0.305 0.453 0.201 0.283 0.136], f: [0.429 0.449 0.355 0.382 0.636 0.975 0.74 0.943 0.649 0.552 0.898 0.533 0.804 0.873 0.661 0.605 0.413 0.769 0.769 0.559 0.586], initial_trace: [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 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 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 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 1 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 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 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 1 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 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 1 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 1 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 1 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 1 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 1 0 0 0 0 0 0 0], [0 1 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0], [0 1 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0] | [0 1 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0]
activity_selector
21
graham_scan: x: [-0.023 -0.697 -0.985 1.25 -0.729 -1.3 -0.919 0.338 -0.96 -1.23 0.734 -1.1 -1.59 1.15 -1.33 0.271 0.028 -0.68 -0.604 0.498 -1.54 0.356 -1.49 0.301], y: [-1.37 1.62 -0.695 0.499 -1.74 0.91 -1.22 1.91 0.533 -1.38 1.16 -0.423 -0.783 -0.046 0.093 -0.861 -1.06 0.293 -1.85 -1.35 -0.741 1.6 0.816 -1.12], 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] trace | in_hull:
[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 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0], [0 1 1 1 0 1 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0], [0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0], [0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0], [0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 1 1 0 0 0 0 0 1 1 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 1 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 1 0], [0 1 0 1 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 1 0], [0 1 0 1 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 1 0] | [0 1 0 1 0 0 0 1 0 1 0 0 1 1 0 0 0 0 1 1 0 0 1 0]
graham_scan
24
binary_search: key: [0.014 0.055 0.071 0.098 0.111 0.112 0.152 0.168 0.184 0.191 0.234 0.241 0.337 0.346 0.352 0.362 0.365 0.375 0.382 0.386 0.424 0.428 0.437 0.476 0.513 0.516 0.547 0.557 0.564 0.588 0.641 0.655 0.673 0.682 0.683 0.698 0.711 0.718 0.725 0.741 0.743 0.749 0.793 0.819 0.852 0.858 0.858 0.859 0.869 0.877 0.878 0.878 0.878 0.888 0.911 0.919 0.93 0.967 0.994], target: 0.201, initial_trace: (0, 58) trace | (low, high):
(0, 29), (0, 14), (8, 14), (8, 11), (10, 11) | (10, 10)
binary_search
59
floyd_warshall: A: [[0 0 0 0 0 0 0 0 0 0 0], [0 0.373 0 0 0 0 0.447 0.474 0 0 0], [0 0 0.962 0 0 0.614 0 0 0 0.261 0], [0 0 0 0.201 0 0 0.532 0.331 0 0 0.505], [0 0 0 0 0.345 0.275 0 0.91 0.451 0 0.583], [0 0 0.614 0 0.275 0 0.507 0.549 0 0 0], [0 0.447 0 0.532 0 0.507 0.032 0 0.415 0.178 0.217], [0 0.474 0 0.331 0.91 0.549 0 0.163 0 0 0], [0 0 0 0 0.451 0 0.415 0 0.288 0.629 0], [0 0 0.261 0 0 0 0.178 0 0.629 0 0], [0 0 0 0.505 0.583 0 0.217 0 0 0 0]], initial_trace: [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10]] trace | Pi:
[[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 1 6 6 6], [7 7 7 7 7 7 1 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 2 5], [6 6 6 6 6 6 6 1 6 6 6], [7 7 7 7 7 7 1 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 2 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 2 5], [6 6 6 6 6 6 6 3 6 6 6], [7 7 7 7 7 7 3 7 7 7 3], [8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 2 9 9 9 9 9], [10 10 10 10 10 10 10 3 10 10 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 4 2 4], [6 6 6 6 6 6 6 3 6 6 6], [7 7 7 7 7 7 3 7 4 7 3], [8 8 8 8 8 4 8 4 8 8 4], [9 9 9 9 9 2 9 9 9 9 9], [10 10 10 10 10 4 10 3 4 10 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1 1], [2 2 2 2 5 2 5 5 4 2 4], [3 3 3 3 3 3 3 3 3 3 3], [4 4 5 4 4 4 5 5 4 2 4], [5 5 5 5 5 5 5 5 4 2 4], [6 6 5 6 5 6 6 3 6 6 6], [7 7 5 7 5 7 3 7 4 2 3], [8 8 5 8 8 4 8 5 8 8 4], [9 9 9 9 5 2 9 5 9 9 4], [10 10 5 10 10 4 10 3 4 2 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 5 6 5 6 1 1 6 6 6], [2 6 2 6 5 2 5 5 4 2 6], [3 6 5 3 5 6 3 3 6 6 3], [4 6 5 6 4 4 5 5 4 6 4], [5 6 5 6 5 5 5 5 4 6 6], [6 6 5 6 5 6 6 3 6 6 6], [7 7 5 7 5 7 3 7 4 6 3], [8 6 5 6 8 4 8 5 8 6 6], [9 6 9 6 5 6 9 3 6 9 6], [10 6 5 10 10 6 10 3 6 6 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 5 7 5 6 1 1 6 6 6], [2 6 2 7 5 2 5 5 4 2 6], [3 7 5 3 5 7 3 3 6 6 3], [4 6 5 7 4 4 5 5 4 6 4], [5 6 5 7 5 5 5 5 4 6 6], [6 6 5 6 5 6 6 3 6 6 6], [7 7 5 7 5 7 3 7 4 6 3], [8 6 5 6 8 4 8 5 8 6 6], [9 6 9 6 5 6 9 3 6 9 6], [10 6 5 10 10 6 10 3 6 6 10]], [[0 0 0 0 0 0 0 0 0 0 0], [1 1 5 7 5 6 1 1 6 6 6], [2 6 2 7 5 2 5 5 4 2 6], [3 7 5 3 5 7 3 3 6 6 3], [4 6 5 7 4 4 5 5 4 6 4], [5 6 5 7 5 5 5 5 4 6 6], [6 6 5 6 5 6 6 3 6 6 6], [7 7 5 7 5 7 3 7 4 6 3], [8 6 5 6 8 4 8 5 8 6 6], [9 6 9 6 5 6 9 3 6 9 6], [10 6 5 10 10 6 10 3 6 6 10]] | [[0 0 0 0 0 0 0 0 0 0 0], [1 1 9 7 5 6 1 1 6 6 6], [2 6 9 6 5 2 9 5 6 2 6], [3 7 9 3 10 7 3 3 6 6 3], [4 6 5 10 4 4 5 5 4 6 4], [5 6 5 7 5 5 5 5 4 6 6], [6 6 9 6 5 6 6 3 6 6 6], [7 7 5 7 5 7 3 7 4 6 3], [8 6 9 6 8 4 8 5 8 6 6], [9 6 9 6 5 6 9 3 6 9 6], [10 6 9 10 10 6 10 3 6 6 10]]
floyd_warshall
11
minimum: key: [0.426 0.637 0.822 0.341 0.104 0.576 0.55 0.874 0.898 0.321 0.897 0.145 0.399 0.281 0.59 0.131 0.445], initial_trace: 0 trace | min:
0, 0, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 | 4
minimum
17
find_maximum_subarray_kadane: key: [-0.479 0.748 -0.841 0.939 -0.525 -0.34 0.19 -0.492 -0.217 0.411 0.677 -0.474 -0.615 0.07 -0.507 0.527 -0.024 -0.652 -0.343 0.143 0.8 0.059 -0.879 0.729 -0.314 -0.049 0.59 0.606 -0.117 0.023 0.874 -0.347 0.566 0.516 -0.796 -0.657 -0.087 0.859], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (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), (9, 10), (9, 10), (19, 27), (19, 27), (19, 27), (19, 30), (19, 30), (19, 32), (19, 33), (19, 33), (19, 33), (19, 33) | (19, 33)
find_maximum_subarray_kadane
38
segments_intersect: x: [0.614 0.275 0.091 0.773], y: [0.698 0.036 0.251 0.78] intersect:
1
segments_intersect
60
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 1 1 1 1 1], key: [3 3 1 1 0 2 2 0 2 0 3 1 0 3 2 2 3 1 3 1 1 2 1 0 3 2 2 3], initial_trace: 0 trace | s:
1, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 9, 9, 10, 11, 12, 12, 12, 12 | 12
naive_string_matcher
28
naive_string_matcher: string: [0 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 2 3 2 2 2 0 0 2 0 3 2 0 1 2 3 1 2 1 1 3 2 3 2], initial_trace: 0 trace | s:
0, 0 | 0
naive_string_matcher
24
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 1 1], key: [3 1 1 2 2 0 3 0 0 3 0 2 0], initial_trace: 0 trace | s:
0, 0, 0, 1, 2, 3, 3 | 4
kmp_matcher
13
find_maximum_subarray_kadane: key: [-0.892 0.362 -0.936 -0.404 -0.157 -0.132 0.762 0.487 -0.462 -0.23 0.359 0.456 -0.578 0.92 -0.208 0.638 -0.596 -0.533 -0.389 -0.223 0.712 0.421 -0.59 -0.308 0.574 0.316 0.651 -0.232 -0.254 -0.108 0.929 -0.087 0.518 0.007 -0.397 0.902 -0.663 0.589 -0.98], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (1, 1), (1, 1), (1, 1), (6, 6), (6, 7), (6, 7), (6, 7), (6, 7), (6, 11), (6, 11), (6, 13), (6, 13), (6, 15), (6, 15), (6, 15), (6, 15), (6, 15), (6, 15), (6, 15), (6, 15), (6, 15), (6, 15), (6, 15), (6, 26), (6, 26), (6, 26), (6, 26), (6, 30), (6, 30), (6, 32), (6, 33), (6, 33), (6, 35), (6, 35), (6, 35) | (6, 35)
find_maximum_subarray_kadane
39
bfs: s: 6, A: [[1 1 1 0 0 0 0 1 0 0 0 0 0 1 0], [1 0 1 0 0 0 0 1 1 0 0 0 0 1 0], [1 1 0 0 1 1 0 0 0 0 0 1 0 0 0], [0 0 0 1 0 0 0 0 1 0 1 1 0 0 0], [0 0 1 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 1 0 0 0 1 0 1 0 0 0 1 0 0], [0 0 0 0 0 1 1 0 0 0 1 1 0 0 1], [1 1 0 0 0 0 0 1 0 0 1 0 0 0 0], [0 1 0 1 1 1 0 0 0 1 1 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 1 1 1 0 1 0 0 1 0], [0 0 1 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 1 0 0 0 0 0 0 0 0 1 0 0 1 1], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[0 1 2 3 4 6 6 7 8 9 6 6 12 13 6], [0 1 5 10 4 6 6 10 5 9 6 6 5 10 6] | [2 2 5 10 2 6 6 10 5 8 6 6 5 10 6]
bfs
15
bellman_ford: s: 10, A: [[0 0 0 0 0 0 0 0 0 0.623 0 0 0 0 0.447 0 0 0 0.203 0.346 0.756 0 0 0 0 0 0 0], [0 0 0.112 0 0 0 0 0 0 0 0.225 0 0.594 0.881 0 0 0.58 0.457 0 0.488 0 0.829 0 0 0 0 0 0.143], [0 0.112 0.303 0 0.905 0 0 0 0 0 0.582 0.672 0 0.145 0 0 0 0.675 0.403 0 0 0 0 0 0 0.749 0 0], [0 0 0 0 0 0 0.339 0 0.349 0 0 0 0 0 0 0.57 0.126 0.776 0 0 0 0 0 0 0 0 0 0], [0 0 0.905 0 0 0.331 0 0.254 0 0 0 0 0 0 0 0 0 0 0 0 0 0.497 0 0 0.091 0 0 0.401], [0 0 0 0 0.331 0 0 0 0.089 0 0 0.5 0 0 0 0 0 0 0 0 0.357 0 0 0.317 0 0 0 0.453], [0 0 0 0.339 0 0 0.188 0.155 0.219 0 0 0 0 0 0 0.136 0 0.427 0 0 0.604 0 0 0.648 0.579 0 0 0], [0 0 0 0 0.254 0 0.155 0 0 0 0 0.409 0 0 0 0.702 0 0 0 0 0.451 0 0 0 0.15 0 0 0.63], [0 0 0 0.349 0 0.089 0.219 0 0.414 0 0 0 0 0 0.675 0 0 0 0 0 0 0 0 0.181 0 0 0 0.605], [0.623 0 0 0 0 0 0 0 0 0.132 0 0 0.388 0 0 0 0.181 0.325 0 0.386 0 0.877 0 0 0.652 0 0 0], [0 0.225 0.582 0 0 0 0 0 0 0 0.985 0 0.311 0 0.143 0 0 0 0 0 0 0 0 0 0 0 0.564 0.256], [0 0 0.672 0 0 0.5 0 0.409 0 0 0 0.209 0 0 0.182 0 0 0 0 0 0.514 0 0 0.19 0 0 0.408 0.09], [0 0.594 0 0 0 0 0 0 0 0.388 0.311 0 0.074 0 0.304 0 0 0 0.368 0 0.215 0 0 0 0.199 0 0 0.362], [0 0.881 0.145 0 0 0 0 0 0 0 0 0 0 0.058 0.536 0 0.166 0.767 0.748 0 0 0 0 0 0 0 0.304 0], [0.447 0 0 0 0 0 0 0 0.675 0 0.143 0.182 0.304 0.536 0 0.893 0 0 0 0.731 0 0.485 0 0 0.354 0.686 0 0.257], [0 0 0 0.57 0 0 0.136 0.702 0 0 0 0 0 0 0.893 0 0 0.674 0 0.332 0.594 0.427 0 0 0 0 0 0], [0 0.58 0 0.126 0 0 0 0 0 0.181 0 0 0 0.166 0 0 0 0.377 0.416 0 0.2 0.6 0 0 0.437 0 0.093 0], [0 0.457 0.675 0.776 0 0 0.427 0 0 0.325 0 0 0 0.767 0 0.674 0.377 0.157 0 0 0 0 0.316 0 0.637 0 0 0], [0.203 0 0.403 0 0 0 0 0 0 0 0 0 0.368 0.748 0 0 0.416 0 0.24 0.398 0 0.82 0.193 0 0 0 0 0], [0.346 0.488 0 0 0 0 0 0 0 0.386 0 0 0 0 0.731 0.332 0 0 0.398 0.86 0 0.709 0 0 0 0.236 0.198 0.575], [0.756 0 0 0 0 0.357 0.604 0.451 0 0 0 0.514 0.215 0 0 0.594 0.2 0 0 0 0.933 0 0 0 0 0 0 0], [0 0.829 0 0 0.497 0 0 0 0 0.877 0 0 0 0 0.485 0.427 0.6 0 0.82 0.709 0 0.742 0 0.3 0 0 0.57 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.316 0.193 0 0 0 0 0.266 0 0 0.75 0], [0 0 0 0 0 0.317 0.648 0 0.181 0 0 0.19 0 0 0 0 0 0 0 0 0 0.3 0.266 0 0.576 0 0 0], [0 0 0 0 0.091 0 0.579 0.15 0 0.652 0 0 0.199 0 0.354 0 0.437 0.637 0 0 0 0 0 0.576 0.036 0 0 0], [0 0 0.749 0 0 0 0 0 0 0 0 0 0 0 0.686 0 0 0 0 0.236 0 0 0 0 0 0 0.93 0], [0 0 0 0 0 0 0 0 0 0 0.564 0.408 0 0.304 0 0 0.093 0 0 0.198 0 0.57 0.75 0 0 0.93 0 0.114], [0 0.143 0 0 0.401 0.453 0 0.63 0.605 0 0.256 0.09 0.362 0 0.257 0 0 0 0 0.575 0 0 0 0 0 0 0.114 0.041]], 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] trace | pi:
[0 10 10 3 4 5 6 7 8 9 10 11 10 13 10 15 16 17 18 19 20 21 22 23 24 25 10 10], [14 10 1 3 27 27 6 27 14 12 10 14 10 14 10 14 26 1 12 1 12 14 26 23 14 14 27 10], [14 10 1 16 24 27 8 24 5 12 10 14 10 2 10 14 26 1 12 26 12 14 18 11 14 14 27 10] | [14 10 1 16 24 27 7 24 23 16 10 14 10 2 10 19 26 1 12 26 12 14 23 11 14 19 27 10]
bellman_ford
28
activity_selector: s: [0.726 0.347 0.304 0.238 0.404 0.616 0.361 0.766 0.138 0.097 0.175 0.856 0.301 0.02 0.014 0.17], f: [0.922 0.708 0.511 0.785 0.539 0.819 0.608 0.904 0.606 0.404 0.948 0.985 0.948 0.404 0.794 0.198], initial_trace: [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 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 1], [0 0 1 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 1], [0 0 1 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 1], [0 0 1 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 1], [0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1] | [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 1]
activity_selector
16
mst_prim: s: 9, A: [[0.198 0.312 0 0.66 0.412 0 0.384 0 0 0 0 0 0 0.763], [0.312 0.98 0.23 0 0 0 0 0 0.686 0 0 0 0 0], [0 0.23 0 0 0 0 0 0.231 0 0 0 0.428 0 0], [0.66 0 0 0.96 0 0 0 0 0 0 0.531 0 0 0], [0.412 0 0 0 0.274 0 0 0 0 0 0 0.304 0 0], [0 0 0 0 0 0 0.112 0.429 0 0 0.63 0 0 0], [0.384 0 0 0 0 0.112 0 0 0 0 0.203 0 0.494 0.456], [0 0 0.231 0 0 0.429 0 0 0 0 0 0.135 0 0], [0 0.686 0 0 0 0 0 0 0 0.098 0 0 0 0], [0 0 0 0 0 0 0 0 0.098 0.31 0 0 0.252 0.557], [0 0 0 0.531 0 0.63 0.203 0 0 0 0 0 0 0], [0 0 0.428 0 0.304 0 0 0.135 0 0 0 0 0.937 0.649], [0 0 0 0 0 0 0.494 0 0 0.252 0 0.937 0.898 0], [0.763 0 0 0 0 0 0.456 0 0 0.557 0 0.649 0 0.068]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13] trace | pi:
[0 1 2 3 4 5 6 7 9 9 10 11 9 9], [0 8 2 3 4 5 6 7 9 9 10 11 9 9], [0 8 2 3 4 5 12 7 9 9 10 12 9 9], [6 8 2 3 4 6 12 7 9 9 6 12 9 6], [6 8 2 3 4 6 12 5 9 9 6 12 9 6], [6 8 2 10 4 6 12 5 9 9 6 12 9 6], [6 0 2 10 0 6 12 5 9 9 6 12 9 6], [6 0 1 10 0 6 12 5 9 9 6 12 9 6], [6 0 1 10 0 6 12 2 9 9 6 2 9 6], [6 0 1 10 0 6 12 2 9 9 6 7 9 6], [6 0 1 10 11 6 12 2 9 9 6 7 9 6], [6 0 1 10 11 6 12 2 9 9 6 7 9 6], [6 0 1 10 11 6 12 2 9 9 6 7 9 6] | [6 0 1 10 11 6 12 2 9 9 6 7 9 6]
mst_prim
14
graham_scan: x: [-1.68 -1.22 -0.012 0.773 0.873 0.408 -1.89 -1.35 -1.95 -1.67 0.29 -0.723 0.614 0.75], y: [-0.815 1.55 -0.555 1.2 1.45 0.235 -0.259 -0.849 0.163 -0.505 -0.225 0.212 -1.16 0.761], 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 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 1 0 0 0 0 0 0 0 1 0], [0 0 0 0 1 0 0 0 0 0 0 0 1 1], [0 0 0 0 1 0 0 0 0 0 0 0 1 0], [0 0 0 1 1 0 0 0 0 0 0 0 1 0], [0 0 0 1 1 1 0 0 0 0 0 0 1 0], [0 0 0 1 1 1 0 0 0 0 1 0 1 0], [0 0 0 1 1 1 0 0 0 0 0 0 1 0], [0 0 0 1 1 0 0 0 0 0 0 0 1 0], [0 0 0 0 1 0 0 0 0 0 0 0 1 0], [0 1 0 0 1 0 0 0 0 0 0 0 1 0], [0 1 0 0 1 0 0 0 0 0 0 1 1 0], [0 1 1 0 1 0 0 0 0 0 0 1 1 0], [0 1 0 0 1 0 0 0 0 0 0 1 1 0], [0 1 0 0 1 0 0 0 0 0 0 0 1 0], [0 1 0 0 1 0 0 0 1 0 0 0 1 0], [0 1 0 0 1 0 1 0 1 0 0 0 1 0], [0 1 0 0 1 0 1 0 1 1 0 0 1 0], [0 1 0 0 1 0 1 1 1 1 0 0 1 0], [0 1 0 0 1 0 1 0 1 1 0 0 1 0], [0 1 0 0 1 0 1 0 1 0 0 0 1 0] | [1 1 0 0 1 0 1 0 1 0 0 0 1 0]
graham_scan
14
find_maximum_subarray_kadane: key: [-0.451 -0.135 -0.848 0.81 0.231 -0.143 -0.406 0.107 -0.806 0.299 -0.695 -0.191 0.297 0.471], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (3, 3), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4) | (3, 4)
find_maximum_subarray_kadane
14
binary_search: key: [0.026 0.055 0.101 0.114 0.14 0.184 0.185 0.186 0.198 0.201 0.208 0.215 0.25 0.359 0.382 0.433 0.436 0.518 0.585 0.621 0.628 0.751 0.765 0.77 0.811 0.952 0.962 0.982], target: 0.253, initial_trace: (0, 27) trace | (low, high):
(0, 13), (7, 13), (11, 13) | (13, 13)
binary_search
28
activity_selector: s: [0.101 0.487 0.705 0.482 0.13 0.394 0.358 0.546 0.541 0.007 0.52 0.027], f: [0.881 0.879 0.781 0.974 0.131 0.514 0.567 0.963 0.636 0.85 0.551 0.854], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[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 1 1 0 0 0 0 1 0], [0 0 0 0 1 1 0 0 0 0 1 0], [0 0 0 0 1 1 0 0 0 0 1 0], [0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 1 1 0 0 0 0 1 0] | [0 0 1 0 1 1 0 0 0 0 1 0]
activity_selector
12
dag_shortest_paths: s: 7, A: [[0 0 0 0 0 0 0.0506 0.5 0.397 0.442 0 0.0412 0 0 0.183 0.913], [0 0 0 0.483 0 0 0.329 0 0.557 0 0 0 0.378 0.545 0 0], [0 0 0 0 0 0 0.459 0.713 0 0.242 0 0.861 0 0.935 0.57 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.303 0 0 0.352 0 0 0 0.371 0 0], [0.599 0.686 0.889 0.296 0.0273 0 0.359 0 0.429 0 0 0 0 0 0.409 0.68], [0 0 0 0.54 0 0 0 0 0.736 0.106 0 0 0 0.451 0 0.441], [0 0.624 0 0.542 0.416 0 0 0 0.879 0.356 0 0.405 0 0 0.807 0.488], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.281 0 0 0 0 0.0839 0 0 0 0 0.545 0.715 0], [0 0.258 0 0 0.32 0 0 0 0 0 0 0.877 0.377 0 0 0], [0 0 0 0.0108 0.848 0 0 0 0 0 0 0 0.0671 0 0.336 0.386], [0 0 0 0.305 0 0 0.344 0 0 0 0 0 0 0.634 0 0.562], [0 0 0 0.0158 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.643 0 0 0 0 0.228 0 0 0 0 0.455 0 0], [0 0 0 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 | 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 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 7 2 7 7 5 6 7 7 7 10 7 12 13 7 7], [0 7 2 11 7 5 6 7 7 7 10 7 11 13 11 7], [0 7 2 11 7 5 4 7 7 7 10 7 11 4 11 7], [0 7 2 11 7 5 4 7 7 7 10 7 11 4 11 7], [0 7 2 11 7 5 4 7 7 7 10 7 11 4 11 7], [0 7 2 11 7 5 4 7 7 7 10 7 11 4 11 7], [0 7 2 11 7 5 4 7 7 7 10 7 11 4 11 7], [0 7 2 11 7 5 4 7 9 7 10 7 11 4 11 7], [0 7 2 11 7 5 4 7 9 7 10 7 11 4 11 7], [0 7 2 11 7 5 4 7 9 7 10 7 11 4 11 7] | [0 7 2 11 7 5 4 7 9 7 10 7 11 4 11 7]
dag_shortest_paths
16
minimum: key: [0.94 0.097 0.538 0.819 0.844 0.738 0.566 0.16 0.438 0.097 0.062 0.95 0.981 0.818 0.095 0.213 0.941 0.603 0.935 0.584 0.542 0.062 0.734 0.765 0.208 0.998 0.81 0.589 0.97 0.294 0.053 0.809 0.87 0.462 0.346 0.669 0.248 0.89 0.28], initial_trace: 0 trace | min:
1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 30, 30, 30, 30, 30, 30, 30, 30 | 30
minimum
39