Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:
question
stringlengths
65
3.42k
answer
stringlengths
3
5.8k
algo_name
stringclasses
30 values
find_maximum_subarray_kadane: key: [-0.537 -0.284 0.761 -0.913 -0.615 0.901 0.61 0.027 0.505 0.104 0.436 0.149 0.956 -0.662 0.426 0.603 0.209 0.019 -0.694], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (2, 2), (2, 2), (2, 2), (5, 5), (5, 6), (5, 7), (5, 8), (5, 9), (5, 10), (5, 11), (5, 12), (5, 12), (5, 12), (5, 15), (5, 16), (5, 17) | (5, 17)
find_maximum_subarray_kadane
graham_scan: x: [-0.525 0.951 -0.406 0.153 -0.883], y: [1.33 -1.33 -0.888 -1.89 0.486], initial_trace: [0 0 0 0 0] trace | in_hull:
[0 0 0 1 0], [0 0 0 1 0], [0 1 0 1 0], [1 1 0 1 0], [1 1 0 1 1] | [1 1 1 1 1]
graham_scan
binary_search: key: [0.564 0.662 0.72 0.822 0.866], target: 0.643, initial_trace: (0, 4) trace | (low, high):
(0, 2), (0, 1) | (1, 1)
binary_search
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 3 0 3 3 0 3 3 2 2 0 1 1 3 3 3 1 0 0 2 0 0 2 3 1 0 0 2], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 4, 4, 5, 6, 7, 8, 9, 10, 10, 11, 11, 12, 13, 14 | 15
kmp_matcher
binary_search: key: [0.127 0.147 0.191 0.191 0.232 0.305 0.371 0.421 0.45 0.546 0.682 0.725 0.743 0.75 0.992], target: 0.181, initial_trace: (0, 14) trace | (low, high):
(0, 7), (0, 3), (2, 3) | (2, 2)
binary_search
jarvis_march: x: [0.903 -1.48 -0.409 1.84], y: [-0.334 -0.767 -0.258 -0.192], initial_trace: [0 0 0 0] trace | in_hull:
[0 1 0 0], [0 1 0 0], [0 1 0 0], [0 1 0 0], [0 1 0 0], [0 1 0 1], [0 1 0 1], [0 1 0 1], [0 1 0 1], [0 1 0 1], [0 1 1 1], [0 1 1 1], [0 1 1 1], [0 1 1 1] | [0 1 1 1]
jarvis_march
task_scheduling: d: [5 29 29 23 31 19 2 15 28 21 13 7 30 9 31 7 21 17 16 2 8 30 4 3 10 15 18 25 9 18 10], w: [0.95 0.885 0.532 0.175 0.776 0.807 0.622 0.44 0.473 0.882 0.477 0.188 0.381 0.324 0.556 0.41 0.106 0.152 0.422 0.413 0.859 0.421 0.829 0.001 0.895 0.916 0.772 0.261 0.734 0.396 0.634], 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] trace | selected:
[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], [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], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0], [1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0], [1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0], [1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0], [1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0], [1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0], [1 1 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0], [1 1 0 0 1 1 0 0 0 1 0 0 0 0 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 1 1 1 1], [-1 -1 -1 -1 -1 1 1 1 0 1], [-1 -1 -1 -1 -1 1 0 0 1 1], [-1 -1 -1 -1 -1 1 0 0 2 1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1]], [[-1 -1 -1 -1 -1 1 0 0 2 2], [-1 -1 -1 -1 -1 0 1 1 1 1], [-1 -1 -1 -1 -1 1 1 1 0 2], [-1 -1 -1 -1 -1 1 0 0 1 1], [-1 -1 -1 -1 -1 1 0 0 2 2], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1]] | [[-1 -1 -1 -1 -1 1 0 0 2 2], [-1 -1 -1 -1 -1 0 1 1 1 1], [-1 -1 -1 -1 -1 1 1 1 0 2], [-1 -1 -1 -1 -1 1 0 0 1 1], [-1 -1 -1 -1 -1 1 0 0 2 2], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1]]
lcs_length
mst_prim: s: 18, A: [[0 0 0 0 0 0.294 0 0.834 0 0 0.529 0 0.38 0 0.048 0 0.107 0 0 0 0 0.885 0], [0 0 0 0 0 0.282 0 0 0 0 0 0 0 0 0.739 0 0.745 0 0.214 0 0.478 0 0], [0 0 0.163 0 0 0 0 0.276 0 0 0.735 0 0 0 0.056 0.69 0 0 0.612 0 0 0 0.273], [0 0 0 0 0 0.904 0.514 0 0 0.252 0.239 0 0 0 0 0 0 0 0 0.332 0 0 0.042], [0 0 0 0 0.806 0 0 0 0 0.575 0 0 0 0 0 0 0.271 0 0.353 0 0 0.613 0], [0.294 0.282 0 0.904 0 0.786 0 0 0.362 0.841 0.317 0.49 0 0 0 0 0.253 0.326 0 0 0 0.501 0.052], [0 0 0 0.514 0 0 0 0 0 0 0 0.141 0.753 0.644 0 0.533 0 0 0 0.23 0 0 0.588], [0.834 0 0.276 0 0 0 0 0 0 0 0 0.602 0 0 0 0 0.334 0 0 0 0 0 0], [0 0 0 0 0 0.362 0 0 0 0 0 0 0 0.551 0 0.545 0 0 0.162 0 0 0.515 0], [0 0 0 0.252 0.575 0.841 0 0 0 0 0 0.643 0 0 0 0 0.145 0 0 0.355 0 0 0], [0.529 0 0.735 0.239 0 0.317 0 0 0 0 0.685 0 0.485 0.569 0 0 0 0 0.33 0 0 0 0], [0 0 0 0 0 0.49 0.141 0.602 0 0.643 0 0.305 0.89 0 0 0.418 0 0.406 0 0 0 0 0], [0.38 0 0 0 0 0 0.753 0 0 0 0.485 0.89 0.677 0 0.41 0 0.369 0.558 0 0.255 0 0 0], [0 0 0 0 0 0 0.644 0 0.551 0 0.569 0 0 0.637 0 0 0.481 0 0.821 0 0 0.293 0], [0.048 0.739 0.056 0 0 0 0 0 0 0 0 0 0.41 0 0 0 0 0 0 0 0.226 0.24 0], [0 0 0.69 0 0 0 0.533 0 0.545 0 0 0.418 0 0 0 0 0 0.425 0.758 0 0 0 0], [0.107 0.745 0 0 0.271 0.253 0 0.334 0 0.145 0 0 0.369 0.481 0 0 0 0.703 0 0 0.451 0.117 0.418], [0 0 0 0 0 0.326 0 0 0 0 0 0.406 0.558 0 0 0.425 0.703 0 0.723 0 0 0 0], [0 0.214 0.612 0 0.353 0 0 0 0.162 0 0.33 0 0 0.821 0 0.758 0 0.723 0 0 0 0 0], [0 0 0 0.332 0 0 0.23 0 0 0.355 0 0 0.255 0 0 0 0 0 0 0.541 0.433 0 0.809], [0 0.478 0 0 0 0 0 0 0 0 0 0 0 0 0.226 0 0.451 0 0 0.433 0.967 0.79 0], [0.885 0 0 0 0.613 0.501 0 0 0.515 0 0 0 0 0.293 0.24 0 0.117 0 0 0 0.79 0.981 0.428], [0 0 0.273 0.042 0 0.052 0.588 0 0 0 0 0 0 0 0 0 0.418 0 0 0.809 0 0.428 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 18 18 3 18 5 6 7 18 9 18 11 12 18 14 18 16 18 18 19 20 21 22], [0 18 18 3 18 8 6 7 18 9 18 11 12 8 14 8 16 18 18 19 20 8 22], [0 18 18 3 18 1 6 7 18 9 18 11 12 8 1 8 1 18 18 19 1 8 22], [5 18 18 5 18 1 6 7 18 5 5 5 12 8 1 8 5 5 18 19 1 5 5], [5 18 22 22 18 1 22 7 18 5 5 5 12 8 1 8 5 5 18 22 1 22 5], [5 18 22 22 18 1 3 7 18 3 3 5 12 8 1 8 5 5 18 3 1 22 5], [5 18 22 22 18 1 3 7 18 3 3 5 10 8 1 8 5 5 18 3 1 22 5], [5 18 22 22 18 1 3 7 18 3 3 5 10 8 1 8 9 5 18 3 1 22 5], [16 18 22 22 16 1 3 16 18 3 3 5 16 16 1 8 9 5 18 3 16 16 5], [16 18 22 22 16 1 3 16 18 3 3 5 16 16 0 8 9 5 18 3 16 16 5], [16 18 14 22 16 1 3 16 18 3 3 5 16 16 0 8 9 5 18 3 14 16 5], [16 18 14 22 16 1 3 2 18 3 3 5 16 16 0 8 9 5 18 3 14 16 5], [16 18 14 22 16 1 3 2 18 3 3 5 16 21 0 8 9 5 18 3 14 16 5], [16 18 14 22 16 1 3 2 18 3 3 5 16 21 0 8 9 5 18 3 14 16 5], [16 18 14 22 16 1 3 2 18 3 3 5 16 21 0 8 9 5 18 3 14 16 5], [16 18 14 22 16 1 3 2 18 3 3 5 16 21 0 8 9 5 18 3 14 16 5], [16 18 14 22 16 1 3 2 18 3 3 5 16 21 0 8 9 5 18 3 14 16 5], [16 18 14 22 16 1 3 2 18 3 3 17 16 21 0 17 9 5 18 3 14 16 5], [16 18 14 22 16 1 19 2 18 3 3 17 19 21 0 17 9 5 18 3 14 16 5], [16 18 14 22 16 1 19 2 18 3 3 6 19 21 0 17 9 5 18 3 14 16 5], [16 18 14 22 16 1 19 2 18 3 3 6 19 21 0 11 9 5 18 3 14 16 5], [16 18 14 22 16 1 19 2 18 3 3 6 19 21 0 11 9 5 18 3 14 16 5] | [16 18 14 22 16 1 19 2 18 3 3 6 19 21 0 11 9 5 18 3 14 16 5]
mst_prim
topological_sort: 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 1 0 0 0 0], [1 1 1 0 0 1 1 0 0 0], [0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1], [0 0 0 0 1 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]], initial_trace: [0 1 2 3 4 5 6 7 8 9], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 0, [0 0 2 3 4 5 6 7 8 9], 1, [0 0 2 3 4 5 6 7 8 9], 1, [0 0 2 3 4 5 6 7 8 9], 1, [0 0 2 3 4 5 6 7 8 9], 1, [0 0 2 3 4 1 6 7 8 9], 5, [0 0 5 3 4 1 6 7 8 9], 2, [0 0 5 3 4 1 6 7 8 9], 2, [0 0 5 3 4 1 6 7 8 9], 2, [0 0 5 3 4 1 6 7 8 9], 2, [0 0 5 3 4 1 6 7 8 9], 2, [0 0 5 3 4 1 6 7 8 2], 9, [0 0 5 3 4 1 9 7 8 2], 6, [0 0 5 6 4 1 9 7 8 2], 3, [0 0 5 6 4 1 9 7 8 2], 3, [0 0 5 6 4 1 9 7 8 2], 3, [0 0 5 6 3 1 9 7 8 2], 4, [0 0 5 6 3 1 9 7 8 2], 4, [0 0 5 6 3 1 9 7 8 2], 4, [0 0 5 6 3 1 9 4 8 2], 7, [0 0 5 6 3 1 9 4 8 2], 7, [0 0 5 6 3 1 9 4 8 2], 7 | [0 0 5 6 3 1 9 4 7 2], 8
topological_sort
strongly_connected_components: A: [[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 1 1 0 0 0 0 0 1 0], [1 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 1 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 1 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 1 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 1 0 0], [0 0 1 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]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | scc_id:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 8 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 8 10 8 12 13 14], [0 1 2 3 4 5 6 7 8 8 10 8 12 13 14], [0 1 2 3 4 5 6 7 8 8 10 8 12 13 14], [0 1 2 3 4 5 6 7 8 8 10 8 12 13 14], [0 1 2 3 4 5 6 7 8 8 10 8 12 13 14], [0 1 2 3 4 5 6 7 8 8 10 8 12 13 14], [0 1 2 3 4 5 6 2 8 8 10 8 12 13 14], [0 1 2 3 4 5 2 2 8 8 10 8 12 13 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 13 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 4 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 1 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 1 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 1 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 1 2 2 2 8 8 10 8 12 2 14], [0 1 2 3 1 2 2 2 8 8 10 8 12 2 14], [0 1 2 0 1 2 2 2 8 8 10 8 12 2 14] | [0 1 2 0 1 2 2 2 8 8 10 8 12 2 14]
strongly_connected_components
activity_selector: s: [0.13 0.59 0.202 0.324 0.229 0.634 0.034 0.528 0.376 0.041 0.763 0.314 0.512 0.81 0.178 0.378 0.053 0.262 0.307 0.218 0.626 0.03 0.119 0.408 0.085 0.087 0.893 0.079 0.245 0.456 0.156], f: [0.985 0.961 0.761 0.58 0.995 0.814 0.365 0.579 0.981 0.652 0.826 0.411 0.555 0.914 0.483 0.585 0.069 0.61 0.644 0.986 0.653 0.751 0.914 0.995 0.091 0.505 0.969 0.642 0.523 0.949 0.255], 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] trace | selected:
[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 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 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1 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 0 0 0 0 1 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 0 0 0 0 1 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 0 0 0 0 1 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 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0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1] | [0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1]
activity_selector
graham_scan: x: [-1.57 -1.08 -0.272 0.314 -0.472 -0.893 1.34 0.667 1.22 -0.659 -0.582 0.032 -0.63 1.08 -0.633 1.52 0.647 -0.764 0.833 0.99 -1.19 0.895 1.36 0.041 0.061 -0.502 -0.621 0.92 -0.134 -1.08 0.336], y: [0.429 0.805 1.38 1.45 -0.334 0.91 1.45 1.73 -1.52 1.27 1.37 0.543 -1.75 -0.071 -1.33 -0.677 -1.34 0.519 -1.36 0.816 -0.786 -1.42 1.11 1.38 0.027 1.25 0.302 0.402 -0.977 -0.174 -0.829], 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] 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 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 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 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 1 1 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] | [1 0 0 0 0 0 1 1 1 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0]
graham_scan
binary_search: key: [0.033 0.139 0.147 0.155 0.279 0.418 0.488 0.574 0.605 0.63 0.686 0.78 0.873 0.925 0.953], target: 0.190, initial_trace: (0, 14) trace | (low, high):
(0, 7), (4, 7), (4, 5) | (4, 4)
binary_search
optimal_bst: p: [0.003 0.005 0.051 0.018 0.029 0.022 0.068 0.015 0.047 0.09 0], q: [0.099 0.082 0.055 0 0.1 0.018 0.068 0.065 0.051 0.11 0.002], 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]] trace | root:
[[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 2 0 0 0 0 0 0 0], [0 0 0 0 3 0 0 0 0 0 0], [0 0 0 0 0 4 0 0 0 0 0], [0 0 0 0 0 0 5 0 0 0 0], [0 0 0 0 0 0 0 6 0 0 0], [0 0 0 0 0 0 0 0 7 0 0], [0 0 0 0 0 0 0 0 0 8 0], [0 0 0 0 0 0 0 0 0 0 9], [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 0 0 0 0 0 0 0], [0 0 0 2 3 0 0 0 0 0 0], [0 0 0 0 3 4 0 0 0 0 0], [0 0 0 0 0 4 4 0 0 0 0], [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 0 0 5 6 6 6 8], [0 0 0 0 0 0 0 6 6 8 8], [0 0 0 0 0 0 0 0 7 8 8], [0 0 0 0 0 0 0 0 0 8 8], [0 0 0 0 0 0 0 0 0 0 9], [0 0 0 0 0 0 0 0 0 0 0]]
optimal_bst
insertion_sort: key: [0.93 0.753 0.853 0.061 0.92], initial_trace: [0.93 0.753 0.853 0.061 0.92] trace | pred:
[0.753 0.93 0.853 0.061 0.92], [0.753 0.853 0.93 0.061 0.92], [0.061 0.753 0.853 0.93 0.92] | [0.061 0.753 0.853 0.92 0.93]
insertion_sort
task_scheduling: d: [5 10 4 4 4 10 4 9 1 4], w: [0.062 0.957 0.347 0.968 0.529 0.537 0.42 0.12 0.382 0.226], initial_trace: [0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 1 0 0 0 0 0 0], [0 1 0 1 0 0 0 0 0 0], [0 1 0 1 0 1 0 0 0 0], [0 1 0 1 1 1 0 0 0 0], [0 1 0 1 1 1 0 0 0 0], [0 1 0 1 1 1 0 0 0 0], [0 1 0 1 1 1 0 0 0 0], [0 1 0 1 1 1 0 0 0 0], [0 1 0 1 1 1 0 1 0 0] | [0 1 0 1 1 1 0 1 0 0]
task_scheduling
topological_sort: A: [[0 0 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 1 0 1 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 1], [0 0 0 0 0 0 1 0 1 0 0], [0 1 0 1 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 0 1 0 0], [1 1 0 0 1 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0], [1 1 0 0 1 0 1 1 1 0 1], [0 0 0 0 0 0 0 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 8, [8 1 2 3 4 5 6 7 8 9 10], 0, [8 1 2 3 4 5 6 7 8 9 10], 0, [8 1 2 3 4 5 6 7 8 9 10], 0, [8 0 2 3 4 5 6 7 8 9 10], 1, [8 0 2 3 4 5 6 7 8 9 10], 1, [8 0 2 3 4 5 6 7 8 9 10], 1, [8 0 2 3 4 5 6 7 8 9 10], 1, [8 0 2 3 4 5 6 7 8 9 10], 1, [8 0 2 3 4 5 1 7 8 9 10], 6, [8 0 2 3 6 5 1 7 8 9 10], 4, [8 0 4 3 6 5 1 7 8 9 10], 2, [8 0 4 3 6 5 1 7 8 9 10], 2, [8 0 4 3 6 5 1 7 8 9 10], 2, [8 0 4 3 6 5 1 7 8 9 10], 2, [8 0 4 3 6 5 1 7 8 9 2], 10, [8 0 4 10 6 5 1 7 8 9 2], 3, [8 0 4 10 6 5 1 7 8 9 2], 3, [8 0 4 10 6 5 1 7 8 9 2], 3, [8 0 4 10 6 3 1 7 8 9 2], 5, [8 0 4 10 6 3 1 7 8 9 2], 5, [8 0 4 10 6 3 1 7 8 9 2], 5, [8 0 4 10 6 3 1 5 8 9 2], 7, [8 0 4 10 6 3 1 5 8 9 2], 7, [8 0 4 10 6 3 1 5 8 9 2], 7 | [8 0 4 10 6 3 1 5 8 7 2], 9
topological_sort
naive_string_matcher: string: [0 0 0 0 0 0 0 0 1 1], key: [3 2 0 0 0 1 2 2 1 2], initial_trace: 0 trace | s:
1, 2, 3, 4, 5 | 5
naive_string_matcher
bellman_ford: s: 3, A: [[0 0 0 0.701], [0 0 0.167 0], [0 0.167 0 0], [0.701 0 0 0.811]], initial_trace: [0 1 2 3] trace | pi:
| [3 1 2 3]
bellman_ford
heapsort: key: [0.953 0.772 0.81 0.923], initial_trace: [0.953 0.772 0.81 0.923] trace | pred:
[0.953 0.772 0.81 0.923], [0.953 0.772 0.81 0.923], [0.953 0.923 0.81 0.772], [0.953 0.923 0.81 0.772], [0.953 0.923 0.81 0.772], [0.772 0.923 0.81 0.953], [0.923 0.772 0.81 0.953], [0.923 0.772 0.81 0.953], [0.81 0.772 0.923 0.953], [0.81 0.772 0.923 0.953], [0.772 0.81 0.923 0.953] | [0.772 0.81 0.923 0.953]
heapsort
find_maximum_subarray_kadane: key: [-0.461 0.166 0.408 0.654 0.354 0.281 0.192 -0.816 0.89 0.43 -0.454], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), (1, 6), (1, 8), (1, 9) | (1, 9)
find_maximum_subarray_kadane
strongly_connected_components: A: [[0 0 0 0 0 0 1 0 0 0], [0 0 1 0 0 0 0 0 1 0], [0 1 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0], [0 0 1 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], [0 0 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] trace | scc_id:
[0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 0 7 8 9] | [0 1 1 3 4 5 0 7 8 9]
strongly_connected_components
floyd_warshall: A: [[0.185 0.563 0 0 0], [0.563 0 0 0 0], [0 0 0.161 0 0], [0 0 0 0 0], [0 0 0 0 0]], initial_trace: [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]] trace | Pi:
[[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]], [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]], [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]] | [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]]
floyd_warshall
segments_intersect: x: [0.953 0.598 0.415 0.173], y: [0.925 0.018 0.724 0.156] intersect:
0
segments_intersect
minimum: key: [0.979 0.06 0.785 0.252 0.146 0.64 0.959 0.838 0.343 0.48 0.263 0.192 0.047 0.163 0.206], initial_trace: 0 trace | min:
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 12 | 12
minimum
matrix_chain_order: p: [0.147 0.69 0.34 0.271 0.847 0.735 0.863 0.127 0.2 0.259], 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]] trace | s:
[[0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0], [0 0 0 2 0 0 0 0 0 0], [0 0 0 0 3 0 0 0 0 0], [0 0 0 0 0 4 0 0 0 0], [0 0 0 0 0 0 5 0 0 0], [0 0 0 0 0 0 0 6 0 0], [0 0 0 0 0 0 0 0 7 0], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 2 0 0 0 0 0], [0 0 0 2 3 3 0 0 0 0], [0 0 0 0 3 3 4 0 0 0], [0 0 0 0 0 4 5 5 0 0], [0 0 0 0 0 0 5 5 6 0], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 3 3 3 4 0], [0 0 0 2 3 3 3 3 5 5], [0 0 0 0 3 3 3 4 5 5], [0 0 0 0 0 4 5 4 7 7], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 3 4 4], [0 0 0 2 3 3 3 3 7 7], [0 0 0 0 3 3 3 3 7 7], [0 0 0 0 0 4 5 4 7 7], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 2 7 7], [0 0 0 2 3 3 3 2 7 7], [0 0 0 0 3 3 3 3 7 7], [0 0 0 0 0 4 5 4 7 7], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 2 7 7], [0 0 0 2 3 3 3 2 7 7], [0 0 0 0 3 3 3 3 7 7], [0 0 0 0 0 4 5 4 7 7], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]] | [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 2 7 8], [0 0 0 2 3 3 3 2 7 7], [0 0 0 0 3 3 3 3 7 7], [0 0 0 0 0 4 5 4 7 7], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]]
matrix_chain_order
bellman_ford: s: 5, A: [[0 0 0 0.138 0 0 0.447 0 0 0], [0 0.532 0 0 0 0 0 0 0 0.311], [0 0 0.569 0 0 0 0 0 0 0.653], [0.138 0 0 0 0 0 0.239 0 0 0], [0 0 0 0 0.862 0 0.304 0 0 0], [0 0 0 0 0 0 0.339 0 0.689 0], [0.447 0 0 0.239 0.304 0.339 0.747 0 0.68 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.689 0.68 0 0 0], [0 0.311 0.653 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9] trace | pi:
[0 1 2 3 4 5 5 7 5 9], [6 1 2 6 6 5 5 7 5 9] | [3 1 2 6 6 5 5 7 5 9]
bellman_ford
graham_scan: x: [-0.805 0.323 0.399 0.672 1.3 -0.675 1.14 1.66 1.53 0.002 0.656], y: [0.291 0.476 0.298 1.4 -0.833 -0.681 1.34 0.569 -1.17 0.148 1.13], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[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 1 1 0 0], [0 0 0 0 0 0 1 1 1 0 0], [0 0 0 1 0 0 1 1 1 0 0], [0 0 0 1 0 0 1 1 1 0 1], [0 0 0 1 1 0 1 1 1 0 1], [0 0 0 1 0 0 1 1 1 0 1], [0 0 0 1 0 0 1 1 1 0 0], [0 1 0 1 0 0 1 1 1 0 0], [0 1 1 1 0 0 1 1 1 0 0], [0 1 0 1 0 0 1 1 1 0 0], [0 0 0 1 0 0 1 1 1 0 0], [0 0 0 1 0 0 1 1 1 1 0], [0 0 0 1 0 0 1 1 1 0 0], [1 0 0 1 0 0 1 1 1 0 0] | [1 0 0 1 0 1 1 1 1 0 0]
graham_scan
bridges: A: [[0 0 0 0 0], [0 1 1 0 1], [0 1 0 0 0], [0 0 0 0 0], [0 1 0 0 0]], initial_trace: [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]] trace | is_bridge:
[[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 0 -1 0], [-1 0 0 -1 -1], [-1 -1 -1 0 -1], [-1 0 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 1 -1 1], [-1 1 0 -1 -1], [-1 -1 -1 0 -1], [-1 1 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 1 -1 1], [-1 1 0 -1 -1], [-1 -1 -1 0 -1], [-1 1 -1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 1 -1 1], [-1 1 0 -1 -1], [-1 -1 -1 0 -1], [-1 1 -1 -1 0]] | [[0 -1 -1 -1 -1], [-1 0 1 -1 1], [-1 1 0 -1 -1], [-1 -1 -1 0 -1], [-1 1 -1 -1 0]]
bridges
quicksort: key: [0.174 0.899 0.295 0.264 0.002], initial_trace: [0.174 0.899 0.295 0.264 0.002] trace | pred:
[0.174 0.899 0.295 0.264 0.002], [0.174 0.899 0.295 0.264 0.002], [0.174 0.899 0.295 0.264 0.002], [0.002 0.899 0.295 0.264 0.174], [0.002 0.899 0.295 0.264 0.174], [0.002 0.899 0.295 0.264 0.174], [0.002 0.899 0.295 0.264 0.174], [0.002 0.174 0.295 0.264 0.899], [0.002 0.174 0.295 0.264 0.899], [0.002 0.174 0.295 0.264 0.899], [0.002 0.174 0.295 0.264 0.899], [0.002 0.174 0.295 0.264 0.899] | [0.002 0.174 0.264 0.295 0.899]
quicksort
topological_sort: A: [[0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0], [1 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 0], [1 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 1 0 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 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0], [0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0], [0 1 1 1 1 0 1 0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0], [0 0 0 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 1 0 0 0 1 1 0 1 0 0 1 1 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 1 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 1 0 1 1 0 1 0 0 1 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 1 0 1 0 1 0 0], [1 0 0 1 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0], [1 1 0 1 0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 0 1 0 0], [1 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0], [0 0 1 0 0 0 1 1 0 0 0 1 1 0 1 0 0 1 0 1 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], 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 20 21 22], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 12, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 12, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 17 18 19 20 21 22], 16, [16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 17 18 19 20 21 22], 0, [16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 17 18 19 20 21 22], 0, [16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 17 18 19 20 21 22], 0, [16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 17 18 19 20 21 22], 0, [16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 17 18 19 20 21 22], 0, [16 1 2 3 4 5 6 7 8 9 0 11 12 13 14 15 12 17 18 19 20 21 22], 10, [16 1 2 3 4 5 6 7 8 9 0 11 12 13 14 15 12 17 18 19 20 21 22], 10, [16 1 2 3 4 5 6 7 8 9 0 11 12 13 14 10 12 17 18 19 20 21 22], 15, [16 1 2 15 4 5 6 7 8 9 0 11 12 13 14 10 12 17 18 19 20 21 22], 3, [16 1 2 15 4 5 6 7 8 9 0 11 12 13 14 10 12 17 18 19 20 21 22], 3, [16 1 2 15 4 5 6 7 8 9 0 11 12 13 14 10 12 17 18 19 20 21 22], 3, [16 1 2 15 4 5 6 7 8 3 0 11 12 13 14 10 12 17 18 19 20 21 22], 9, [16 1 2 15 4 5 6 7 8 3 0 11 12 13 14 10 12 17 18 19 20 21 22], 9, [16 1 2 15 4 5 6 7 8 3 0 11 12 13 14 10 12 17 18 19 20 21 22], 9, [16 1 2 15 4 9 6 7 8 3 0 11 12 13 14 10 12 17 18 19 20 21 22], 5, [16 1 2 15 4 9 6 7 8 3 0 11 12 13 14 10 12 17 18 19 20 21 22], 5, [16 1 2 15 4 9 6 7 8 3 0 11 12 13 14 10 12 17 18 19 20 21 22], 5, [16 1 2 15 4 9 6 7 8 3 0 11 12 13 14 10 12 17 5 19 20 21 22], 18, [16 1 2 15 4 9 6 7 8 3 0 18 12 13 14 10 12 17 5 19 20 21 22], 11, [16 1 2 15 4 9 6 7 8 3 0 18 12 11 14 10 12 17 5 19 20 21 22], 13, [16 1 2 15 4 9 6 7 8 3 0 18 12 11 14 10 12 17 5 19 20 21 22], 13, [16 1 2 15 4 9 6 7 8 3 0 18 12 11 14 10 12 17 5 19 20 21 22], 13, [16 1 13 15 4 9 6 7 8 3 0 18 12 11 14 10 12 17 5 19 20 21 22], 2, [16 1 13 15 4 9 6 7 8 3 0 18 12 11 14 10 12 17 5 19 20 21 22], 2, [16 1 13 15 4 9 6 7 2 3 0 18 12 11 14 10 12 17 5 19 20 21 22], 8, [16 1 13 15 4 9 6 7 2 3 0 18 12 11 14 10 12 17 5 19 20 8 22], 21, [16 1 13 15 4 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 20 8 22], 6, [16 6 13 15 4 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 20 8 22], 1, [16 6 13 15 4 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 20 8 22], 1, [16 6 13 15 4 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 20 8 22], 1, [16 6 13 15 4 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 20 8 22], 1, [16 6 13 15 4 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 1 8 22], 20, [16 6 13 15 20 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 1 8 22], 4, [16 6 13 15 20 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 1 8 22], 4, [16 6 13 15 20 9 21 7 2 3 0 18 12 11 14 10 12 17 5 19 1 8 22], 4, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 14 10 12 17 5 19 1 8 22], 7, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 14 10 12 17 5 19 1 8 22], 7, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 14 10 12 17 5 19 1 8 22], 7, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 17 5 19 1 8 22], 14, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 17 5 19 1 8 22], 14, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 17 5 19 1 8 22], 14, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 14 5 19 1 8 22], 17, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 14 5 19 1 8 22], 17, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 14 5 19 1 8 22], 17, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 14 5 17 1 8 22], 19, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 14 5 17 1 8 22], 19, [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 14 5 17 1 8 22], 19 | [16 6 13 15 20 9 21 4 2 3 0 18 12 11 7 10 12 14 5 17 1 8 19], 22
topological_sort
dag_shortest_paths: s: 5, A: [[0 0 0 0.574 0.738 0 0 0 0 0 0 0 0.33 0.696 0 0 0 0 0], [0.916 0 0.872 0 0.554 0 0 0 0 0 0 0 0.777 0.183 0 0 0.375 0 0], [0 0 0 0 0.209 0 0 0 0 0 0 0 0.344 0.716 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.152 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.287 0.106 0.981 0.0442 0 0 0 0 0 0.135 0 0.815 0.801 0 0 0.631 0 0], [0.387 0.338 0 0 0 0 0 0.811 0 0.253 0 0 0.431 0.0529 0 0 0 0 0], [0 0 0 0 0 0.481 0 0 0 0 0 0 0 0.738 0.34 0 0 0.0948 0.0222], [0.563 0.501 0.88 0.489 0.505 0.795 0 0 0 0 0 0 0.379 0 0.821 0 0.757 0.684 0.651], [0.649 0.968 0 0 0.0973 0 0 0 0 0 0 0 0.729 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.634 0.846 0 0 0.245 0.697 0.33 0 0 0.182 0.73 0 0.366 0 0.403], [0 0 0 0.651 0 0 0 0 0 0 0.921 0 0 0 0 0 0 0 0], [0 0 0 0 0.648 0 0 0 0 0 0.718 0 0 0 0 0 0 0 0], [0.545 0.0374 0 0 0 0 0 0 0 0.933 0 0 0 0 0 0 0.781 0.191 0.457], [0 0 0 0 0 0 0 0 0.769 0.0977 0 0.583 0.00879 0 0 0 0.0467 0 0.43], [0 0 0 0 0.719 0 0 0 0 0 0 0 0 0.195 0 0 0 0 0], [0.115 0 0 0 0.301 0 0 0 0 0.104 0.606 0 0 0 0 0 0.0648 0 0], [0.309 0.899 0.0244 0.416 0.0236 0.442 0 0 0 0 0.468 0 0 0.781 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] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 5 5 5 5 5 6 7 8 9 5 11 5 5 14 15 5 17 18], [1 5 5 5 5 5 6 7 8 9 5 11 5 1 14 15 5 17 18], [1 5 5 5 5 5 6 7 8 9 5 11 5 1 14 15 5 17 18], [1 5 5 5 5 5 6 7 8 9 5 11 2 1 14 15 5 17 18], [1 5 5 5 5 5 6 7 8 9 5 11 2 1 14 15 5 17 18], [1 5 5 5 5 5 6 7 8 9 5 11 2 1 14 15 5 17 18], [1 5 5 5 5 5 6 7 8 9 5 11 2 1 14 15 5 17 18], [1 5 5 5 5 5 6 7 8 9 5 11 2 1 14 15 5 17 18] | [1 5 5 5 5 5 6 7 8 9 5 11 2 1 14 15 5 17 18]
dag_shortest_paths
segments_intersect: x: [0.709 0.829 0.544 0.508], y: [0.937 0.71 0.977 0.307] intersect:
0
segments_intersect
binary_search: key: [0.041 0.128 0.13 0.185 0.222 0.257 0.271 0.284 0.299 0.31 0.319 0.379 0.401 0.433 0.47 0.482 0.518 0.545 0.565 0.586 0.61 0.746 0.751 0.827 0.879 0.925 0.939 0.978], target: 0.536, initial_trace: (0, 27) trace | (low, high):
(14, 27), (14, 20), (14, 17), (16, 17) | (17, 17)
binary_search
task_scheduling: d: [10 8 11 9 11 6 9 11 8 4 2], w: [0.002 0.406 0.948 0.833 0.665 0.799 0.852 0.691 0.707 0.81 0.966], initial_trace: [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 1 0 0 0 0 0 0 0 1], [0 0 1 0 0 0 1 0 0 0 1], [0 0 1 1 0 0 1 0 0 0 1], [0 0 1 1 0 0 1 0 0 0 1], [0 0 1 1 0 1 1 0 0 0 1], [0 0 1 1 0 1 1 0 1 0 1], [0 0 1 1 0 1 1 1 1 0 1], [0 0 1 1 1 1 1 1 1 0 1], [0 0 1 1 1 1 1 1 1 0 1] | [1 0 1 1 1 1 1 1 1 0 1]
task_scheduling
minimum: key: [0.808 0.598 0.087 0.854 0.182 0.415 0.117 0.281 0.93 0.431], initial_trace: 0 trace | min:
1, 2, 2, 2, 2, 2, 2, 2 | 2
minimum
segments_intersect: x: [0.695 0.887 0.475 0.975], y: [0.819 0.786 0.101 0.104] intersect:
0
segments_intersect
dfs: A: [[0 1 1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 1 1 1 1 1], [0 1 0 0 1 1 0 0 0 1 0 1 1 1 1 0 0 1 1 0 0 0 0], [1 0 1 1 0 1 1 0 0 1 1 0 0 0 0 0 0 1 0 1 1 0 0], [0 1 0 1 1 0 0 1 1 1 0 1 0 0 1 1 1 0 0 0 1 0 0], [0 1 1 0 1 0 0 1 1 0 0 0 1 1 0 1 0 1 0 0 1 1 0], [0 1 1 1 1 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 1], [0 1 1 1 0 0 0 1 1 1 0 0 0 1 0 0 1 1 1 0 0 1 1], [1 0 1 1 1 1 1 0 1 0 0 1 1 1 1 1 1 0 0 1 0 0 1], [0 1 0 0 0 0 1 0 1 1 0 1 1 0 0 0 1 0 1 1 1 1 1], [1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 1 1], [1 0 0 1 1 1 0 1 1 0 0 0 0 1 0 1 0 1 0 0 1 1 0], [0 0 1 1 1 1 1 0 0 1 1 1 0 0 0 0 0 0 1 1 1 1 1], [1 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 0 1 0 1 0 1 0], [0 1 0 0 1 0 1 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 0], [1 0 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 0 0 0 0], [1 1 0 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 1 1 1 1 0], [1 0 0 0 1 0 0 0 1 0 0 1 1 0 1 1 1 1 0 0 1 0 0], [1 1 0 0 0 0 1 0 0 1 0 0 0 1 1 1 0 1 1 1 0 0 0], [1 1 0 0 0 1 0 1 1 1 1 0 1 1 0 1 1 1 1 0 0 0 1], [0 0 1 1 0 1 1 1 0 0 1 0 1 1 1 1 1 0 1 1 0 0 0], [0 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 1 0 0 1], [1 1 1 0 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0 1 0 1 0], [1 1 1 0 1 0 0 1 1 1 0 0 0 1 1 0 1 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] 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 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 3 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 3 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 5 6 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 5 6 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 6 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 6 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 10 11 12 13 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 10 11 12 13 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 10 16 12 13 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 10 16 12 13 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 12 13 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 12 13 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 12 10 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 12 10 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 14 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 15 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 17 18 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 17 15 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 17 15 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 19 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 20 21 22], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 20 21 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 20 21 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 21 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 21 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 21 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 21 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 21 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18], [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18] | [0 0 4 2 1 7 5 3 6 8 11 16 13 10 12 14 9 18 15 17 22 15 18]
dfs
lcs_length: string: [0 0 0 0 0 1 1 1 1 1], key: [2 1 2 3 3 2 2 0 1 3], initial_trace: [[-1 -1 -1 -1 -1 0 0 2 2 2], [-1 -1 -1 -1 -1 1 0 0 0 0], [-1 -1 -1 -1 -1 0 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 -1 -1 -1]] trace | b:
[[-1 -1 -1 -1 -1 0 0 2 2 2], [-1 -1 -1 -1 -1 1 1 1 0 1], [-1 -1 -1 -1 -1 0 0 1 1 1], [-1 -1 -1 -1 -1 1 2 1 1 0], [-1 -1 -1 -1 -1 1 2 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 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 19 20 21 22] trace | pi:
[0 1 2 3 4 5 6 7 8 9 0 11 0 13 14 15 16 0 0 19 20 21 22], [0 10 10 10 12 12 6 18 10 10 0 11 0 13 10 12 12 0 0 12 17 21 10] | [0 10 10 10 12 12 2 18 10 10 0 1 0 3 10 12 12 0 0 12 17 2 10]
bfs
activity_selector: s: [0.366 0.034 0.011 0.09 0.106 0.559 0.141 0.026 0.394 0.255 0.325 0.788 0.742 0.052 0.258 0.66 0.208 0.035 0.616], f: [0.891 0.775 0.093 0.516 0.837 0.926 0.667 0.979 0.845 0.359 0.949 0.831 0.804 0.758 0.719 0.924 0.851 0.074 0.89], initial_trace: [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 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 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 1 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 1 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 1 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 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0] | [0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0]
activity_selector
segments_intersect: x: [0.493 0.766 0.363 0.055], y: [0.174 0.389 0.003 0.23] intersect:
0
segments_intersect
quickselect: key: [0.127 0.706 0.91 0.558 0.064], initial_trace: 4 trace | pivot:
4, 4, 4, 4, 0, 0, 0, 0, 1, 1, 1 | 3
quickselect
bfs: s: 3, A: [[0 0 1 0 0 0 1 1 0 0 0 0], [0 0 1 0 0 0 1 0 1 0 0 0], [1 1 0 0 1 1 0 0 0 0 0 1], [0 0 0 1 0 0 0 0 1 0 0 0], [0 0 1 0 1 0 0 0 0 1 0 0], [0 0 1 0 0 1 0 1 0 0 0 0], [1 1 0 0 0 0 1 1 0 0 0 0], [1 0 0 0 0 1 1 0 1 0 0 0], [0 1 0 1 0 0 0 1 1 0 1 0], [0 0 0 0 1 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 1 0], [0 0 1 0 0 0 0 0 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11] trace | pi:
[0 1 2 3 4 5 6 7 3 9 10 11], [0 8 2 3 4 5 6 8 3 9 8 11], [7 8 1 3 4 7 1 8 3 9 8 11], [7 8 1 3 2 7 1 8 3 9 8 2] | [7 8 1 3 2 7 1 8 3 4 8 2]
bfs
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 2 2 3 2 2 2 2 1 0 0 0 3 3 3 1 2 3 2 0 1 2 0 0 3 3 3 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 6, 7, 7, 8, 9, 10 | 11
kmp_matcher
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [1 0 1 1 0 1 0 3 0 2 2 2 0 1 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0 | 1
kmp_matcher
find_maximum_subarray_kadane: key: [0.6 0.818 -0.734 0.887 0.725 0.704 -0.14 0.738 -0.231 0.404 -0.877], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 1), (0, 3), (0, 4), (0, 5), (0, 5), (0, 7), (0, 7), (0, 9) | (0, 9)
find_maximum_subarray_kadane
articulation_points: A: [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0], [0 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0], [0 0 0 0 1 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 1 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 0 0 0 0 0 0 0 0 0] trace | is_cut:
[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 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 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]
articulation_points
topological_sort: A: [[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 1 0 0 1 0 0 0 1 1 1 0], [0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0], [1 1 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 1 0 0 0 1 1 1 0 0 0 0 0 1 1 1], [1 0 0 0 1 0 0 1 0 1 0 1 1 1 1 1 0 0 0], [0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [1 0 1 0 0 0 0 0 1 0 0 1 0 0 1 0 1 1 0], [0 1 0 0 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0], [1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [1 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 1 0 0], [1 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0], [1 0 1 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], [1 1 1 0 1 0 0 0 0 0 0 1 0 0 0 1 1 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 11, [11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18], 8, [11 1 2 3 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18], 8, [11 1 2 3 4 5 6 7 0 9 10 11 8 13 14 15 16 17 18], 12, [11 1 12 3 4 5 6 7 0 9 10 11 8 13 14 15 16 17 18], 2, [11 1 12 3 4 5 6 7 0 9 10 11 8 13 14 15 16 17 18], 2, [11 1 12 3 4 5 6 7 0 9 10 11 8 13 14 15 16 17 18], 2, [11 1 12 3 4 5 6 7 0 9 10 11 8 2 14 15 16 17 18], 13, [11 1 12 3 4 5 6 7 0 9 10 11 8 2 14 15 16 17 18], 13, [11 1 12 3 4 5 6 7 0 9 10 11 8 2 14 15 16 13 18], 17, [11 1 12 3 4 5 6 7 0 9 10 11 8 2 14 17 16 13 18], 15, [11 1 12 3 4 5 6 7 0 9 10 11 8 2 14 17 16 13 18], 15, [11 1 12 3 4 5 6 7 0 9 10 11 8 2 14 17 15 13 18], 16, [11 16 12 3 4 5 6 7 0 9 10 11 8 2 14 17 15 13 18], 1, [11 16 12 3 4 5 6 7 0 9 10 11 8 2 14 17 15 13 18], 1, [11 16 12 3 4 5 6 7 0 9 10 11 8 2 14 17 15 13 18], 1, [11 16 12 3 4 5 6 7 0 9 10 11 8 2 14 17 15 13 18], 1, [11 16 12 3 4 5 6 7 0 9 10 11 8 2 14 17 15 13 18], 1, [11 16 12 3 1 5 6 7 0 9 10 11 8 2 14 17 15 13 18], 4, [11 16 12 3 1 5 6 7 0 9 10 11 8 2 14 17 15 13 18], 4, [11 16 12 3 1 5 6 7 0 9 10 11 8 2 4 17 15 13 18], 14, [11 16 12 3 1 5 6 14 0 9 10 11 8 2 4 17 15 13 18], 7, [11 16 12 7 1 5 6 14 0 9 10 11 8 2 4 17 15 13 18], 3, [11 16 12 7 1 5 6 14 0 9 10 11 8 2 4 17 15 13 18], 3, [11 16 12 7 1 5 6 14 0 9 10 11 8 2 4 17 15 13 18], 3, [11 16 12 7 1 5 6 14 0 9 10 11 8 2 4 17 15 13 18], 3, [11 16 12 7 1 5 6 14 0 3 10 11 8 2 4 17 15 13 18], 9, [11 16 12 7 1 5 6 14 0 3 10 11 8 2 4 17 15 13 18], 9, [11 16 12 7 1 5 6 14 0 3 9 11 8 2 4 17 15 13 18], 10, [11 16 12 7 1 5 6 14 0 3 9 11 8 2 4 17 15 13 18], 10, [11 16 12 7 1 5 6 14 0 3 9 11 8 2 4 17 15 13 10], 18, [11 16 12 7 1 18 6 14 0 3 9 11 8 2 4 17 15 13 10], 5, [11 16 12 7 1 18 6 14 0 3 9 11 8 2 4 17 15 13 10], 5, [11 16 12 7 1 18 6 14 0 3 9 11 8 2 4 17 15 13 10], 5 | [11 16 12 7 1 18 5 14 0 3 9 11 8 2 4 17 15 13 10], 6
topological_sort
bfs: s: 11, A: [[1 0 0 0 0 0 0 0 1 1 1 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 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 1 1 0], [0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 0 0 0], [0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1], [0 0 0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 1 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 0 0 1 0], [0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 1 1 0 0 0 0 0], [0 1 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 0 0 0], [0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 1 1 0 1 0 0], [0 0 1 1 0 1 1 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 1 0 1 1 0 1 0 0 0], [0 0 1 0 1 0 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 1 0 0 0 0 1 0], [0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 1 1 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 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30] trace | pi:
[0 1 2 3 4 5 6 7 8 9 11 11 11 13 14 15 11 17 18 19 20 11 22 23 24 25 26 27 28 29 30], [10 21 12 10 4 5 10 10 12 9 11 11 11 13 10 21 11 10 12 12 10 11 10 23 12 25 12 12 16 21 30] | [10 21 12 10 1 7 10 10 12 0 11 11 11 0 10 21 11 10 12 12 10 11 10 1 12 2 12 12 16 21 14]
bfs
mst_prim: s: 11, A: [[0 0 0.71 0.398 0 0 0 0 0 0 0.424 0 0 0.287 0 0.383 0.827 0 0.538 0 0 0 0 0 0 0 0.691 0], [0 0 0 0.413 0.71 0.649 0 0.196 0.328 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.71 0 0 0 0 0.708 0.663 0 0 0.404 0 0.532 0 0.722 0.161 0 0.526 0 0.664 0 0 0.199 0.66 0 0 0 0 0], [0.398 0.413 0 0 0 0.559 0.724 0 0.263 0 0.257 0 0 0 0 0 0 0.347 0 0 0.644 0.562 0.489 0 0 0 0.576 0.961], [0 0.71 0 0 0 0.744 0 0 0 0 0.626 0.176 0.565 0 0 0 0 0 0 0.396 0 0 0 0 0 0 0 0], [0 0.649 0.708 0.559 0.744 0 0 0.867 0 0 0 0.09 0 0.289 0 0.779 0 0 0 0 0 0.353 0 0.626 0 0 0 0], [0 0 0.663 0.724 0 0 0.843 0 0 0.723 0 0 0.23 0 0.883 0 0 0 0 0 0.808 0 0 0 0 0.609 0 0.878], [0 0.196 0 0 0 0.867 0 0.807 0 0 0 0 0 0 0 0 0 0.648 0 0 0 0 0 0 0.644 0.816 0 0], [0 0.328 0 0.263 0 0 0 0 0 0 0 0 0.616 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.404 0 0 0 0.723 0 0 0 0.318 0.157 0 0 0 0.357 0 0 0.521 0 0.812 0.677 0 0 0 0 0.277 0.531], [0.424 0 0 0.257 0.626 0 0 0 0 0.318 0 0 0 0 0 0.175 0 0 0.29 0 0.372 0 0 0 0 0 0 0], [0 0 0.532 0 0.176 0.09 0 0 0 0.157 0 0 0.456 0.5 0.239 0 0 0 0.658 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.565 0 0.23 0 0.616 0 0 0.456 0.057 0.79 0 0 0 0 0.801 0 0.081 0 0.651 0.808 0.406 0.216 0 0], [0.287 0 0.722 0 0 0.289 0 0 0 0 0 0.5 0.79 0.726 0 0.738 0 0 0.318 0 0 0 0.476 0.149 0 0 0.426 0], [0 0 0.161 0 0 0 0.883 0 0 0 0 0.239 0 0 0 0 0 0 0.355 0 0.645 0 0 0.531 0 0 0 0], [0.383 0 0 0 0 0.779 0 0 0 0.357 0.175 0 0 0.738 0 0 0 0 0 0 0.507 0 0 0 0 0 0 0], [0.827 0 0.526 0 0 0 0 0 0 0 0 0 0 0 0 0 0.227 0 0.372 0 0.389 0.321 0 0 0.28 0.842 0 0], [0 0 0 0.347 0 0 0 0.648 0 0 0 0 0 0 0 0 0 0 0 0 0 0.615 0.672 0 0 0 0.58 0.654], [0.538 0 0.664 0 0 0 0 0 0 0.521 0.29 0.658 0.801 0.318 0.355 0 0.372 0 0 0.422 0 0.604 0.307 0 0 0 0.339 0], [0 0 0 0 0.396 0 0 0 0 0 0 0 0 0 0 0 0 0 0.422 0 0 0 0 0 0 0.767 0 0], [0 0 0 0.644 0 0 0.808 0 0 0.812 0.372 0 0.081 0 0.645 0.507 0.389 0 0 0 0 0 0 0 0 0 0.431 0.448], [0 0 0.199 0.562 0 0.353 0 0 0 0.677 0 0 0 0 0 0 0.321 0.615 0.604 0 0 0 0 0 0 0 0 0.456], [0 0 0.66 0.489 0 0 0 0 0 0 0 0 0.651 0.476 0 0 0 0.672 0.307 0 0 0 0 0 0.506 0 0 0], [0 0 0 0 0 0.626 0 0 0 0 0 0 0.808 0.149 0.531 0 0 0 0 0 0 0 0 0.125 0 0 0 0.244], [0 0 0 0 0 0 0 0.644 0 0 0 0 0.406 0 0 0 0.28 0 0 0 0 0 0.506 0 0.408 0 0.375 0.473], [0 0 0 0 0 0 0.609 0.816 0 0 0 0 0.216 0 0 0 0.842 0 0 0.767 0 0 0 0 0 0 0.794 0], [0.691 0 0 0.576 0 0 0 0 0 0.277 0 0 0 0.426 0 0 0 0.58 0.339 0 0.431 0 0 0 0.375 0.794 0.262 0], [0 0 0 0.961 0 0 0.878 0 0 0.531 0 0 0 0 0 0 0 0.654 0 0 0.448 0.456 0 0.244 0.473 0 0 0.178]], 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 11 3 11 11 6 7 8 11 10 11 11 11 11 15 16 17 11 19 20 21 22 23 24 25 26 27], [0 5 11 5 11 11 6 5 8 11 10 11 11 5 11 5 16 17 11 19 20 5 22 5 24 25 26 27], [0 5 9 5 11 11 9 5 8 11 9 11 11 5 11 9 16 17 9 19 9 5 22 5 24 25 9 9], [0 5 9 5 11 11 9 5 8 11 9 11 11 5 11 9 16 17 9 4 9 5 22 5 24 25 9 9], [0 5 14 5 11 11 9 5 8 11 9 11 11 5 11 9 16 17 14 4 14 5 22 14 24 25 9 9], [2 5 14 5 11 11 2 5 8 11 9 11 11 5 11 9 2 17 14 4 14 2 2 14 24 25 9 9], [2 5 14 5 11 11 2 5 8 11 9 11 11 5 11 9 21 21 14 4 14 2 2 14 24 25 9 21], [26 5 14 5 11 11 2 5 8 11 9 11 11 5 11 9 21 26 26 4 26 2 2 14 26 26 9 21], [13 5 14 5 11 11 2 5 8 11 9 11 11 5 11 9 21 26 13 4 26 2 13 13 26 26 9 21], [13 5 14 5 11 11 2 5 8 11 9 11 11 5 11 9 21 26 13 4 26 2 13 13 26 26 9 23], [13 5 14 5 11 11 2 5 8 11 9 11 11 5 11 9 21 26 13 4 26 2 13 13 26 26 9 23], [13 5 14 0 11 11 2 5 8 11 9 11 11 5 11 9 21 26 13 4 26 2 13 13 26 26 9 23], [13 5 14 0 11 11 2 5 8 11 18 11 11 5 11 9 21 26 13 4 26 2 18 13 26 26 9 23], [13 5 14 10 11 11 2 5 8 11 18 11 11 5 11 10 21 26 13 4 10 2 18 13 26 26 9 23], [13 5 14 10 11 11 2 5 8 11 18 11 11 5 11 10 21 26 13 4 10 2 18 13 26 26 9 23], [13 3 14 10 11 11 2 5 3 11 18 11 11 5 11 10 21 3 13 4 10 2 18 13 26 26 9 23], [13 8 14 10 11 11 2 5 3 11 18 11 11 5 11 10 21 3 13 4 10 2 18 13 26 26 9 23], [13 8 14 10 11 11 2 5 3 11 18 11 11 5 11 10 21 3 13 4 10 2 18 13 26 26 9 23], [13 8 14 10 11 11 2 5 3 11 18 11 11 5 11 10 21 3 13 4 10 2 18 13 16 26 9 23], [13 8 14 10 11 11 2 24 3 11 18 11 24 5 11 10 21 3 13 4 10 2 18 13 16 26 9 23], [13 8 14 10 11 11 2 1 3 11 18 11 24 5 11 10 21 3 13 4 10 2 18 13 16 26 9 23], [13 8 14 10 11 11 2 1 3 11 18 11 24 5 11 10 21 3 13 4 10 2 18 13 16 26 9 23], [13 8 14 10 11 11 2 1 3 11 18 11 24 5 11 10 21 3 13 4 10 2 18 13 16 26 9 23], [13 8 14 10 11 11 2 1 3 11 18 11 20 5 11 10 21 3 13 4 10 2 18 13 16 26 9 23], [13 8 14 10 11 11 12 1 3 11 18 11 20 5 11 10 21 3 13 4 10 2 18 13 16 12 9 23], [13 8 14 10 11 11 12 1 3 11 18 11 20 5 11 10 21 3 13 4 10 2 18 13 16 12 9 23], [13 8 14 10 11 11 12 1 3 11 18 11 20 5 11 10 21 3 13 4 10 2 18 13 16 12 9 23] | [13 8 14 10 11 11 12 1 3 11 18 11 20 5 11 10 21 3 13 4 10 2 18 13 16 12 9 23]
mst_prim
mst_kruskal: A: [[0 0 0 0 0 0 0 0 0.598 0], [0 0.732 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.719 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.547 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.547 0 0.808 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0.598 0 0.719 0 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]] trace | in_mst:
[[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [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 4 3 3 12 15 20 4 3]
bfs
binary_search: key: [0.002 0.003 0.151 0.203 0.223 0.229 0.244 0.256 0.291 0.365 0.441 0.469 0.476 0.514 0.57 0.623 0.688 0.689 0.76 0.816 0.84 0.884 0.959], target: 0.925, initial_trace: (0, 22) trace | (low, high):
(12, 22), (18, 22), (21, 22) | (22, 22)
binary_search
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [1 0 3 3 0 3 3 0 3 1 1 1 0 3 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 4, 5, 6 | 7
kmp_matcher
segments_intersect: x: [0.111 0.786 0.56 0.356], y: [0.451 0.698 0.158 0.114] intersect:
0
segments_intersect
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: [1 0 3 1 3 0 2 2 3 0 1 2 0 1 2 2 0 1 1 2 3 3 3 2 0 1 1 2], initial_trace: 0 trace | s:
1, 2, 3, 4, 5, 6, 6, 7, 7, 8, 9, 10, 11, 11, 11, 11, 12, 13, 14, 14, 15, 15, 15, 15 | 15
naive_string_matcher
find_maximum_subarray_kadane: key: [-0.378 -0.147 -0.335 -0.738 0.085 0.167 -0.289 0.474 0.577 -0.477 -0.232 0.504], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (1, 1), (4, 4), (4, 5), (4, 5), (7, 7), (7, 8), (7, 8), (7, 8) | (7, 8)
find_maximum_subarray_kadane
dijkstra: s: 0, A: [[0 0 0.038 0.711], [0 0.209 0 0], [0.038 0 0.472 0], [0.711 0 0 0]], initial_trace: [0 1 2 3] trace | pi:
[0 1 0 0], [0 1 0 0] | [0 1 0 0]
dijkstra
matrix_chain_order: p: [0.36 0.8 0.354 0.154], initial_trace: [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]] trace | s:
[[0 0 0 0], [0 0 1 0], [0 0 0 2], [0 0 0 0]] | [[0 0 0 0], [0 0 1 1], [0 0 0 2], [0 0 0 0]]
matrix_chain_order
bubble_sort: key: [0.976 0.094 0.991 0.603 0.988 0.69 0.65 0.647 0.127 0.45], initial_trace: [0.976 0.094 0.991 0.603 0.988 0.69 0.65 0.647 0.127 0.45] trace | pred:
[0.976 0.094 0.991 0.603 0.988 0.69 0.65 0.647 0.127 0.45], [0.976 0.094 0.991 0.603 0.988 0.69 0.65 0.127 0.647 0.45], [0.976 0.094 0.991 0.603 0.988 0.69 0.127 0.65 0.647 0.45], [0.976 0.094 0.991 0.603 0.988 0.127 0.69 0.65 0.647 0.45], [0.976 0.094 0.991 0.603 0.127 0.988 0.69 0.65 0.647 0.45], [0.976 0.094 0.991 0.127 0.603 0.988 0.69 0.65 0.647 0.45], [0.976 0.094 0.127 0.991 0.603 0.988 0.69 0.65 0.647 0.45], [0.976 0.094 0.127 0.991 0.603 0.988 0.69 0.65 0.647 0.45], [0.094 0.976 0.127 0.991 0.603 0.988 0.69 0.65 0.647 0.45], [0.094 0.976 0.127 0.991 0.603 0.988 0.69 0.65 0.45 0.647], [0.094 0.976 0.127 0.991 0.603 0.988 0.69 0.45 0.65 0.647], [0.094 0.976 0.127 0.991 0.603 0.988 0.45 0.69 0.65 0.647], [0.094 0.976 0.127 0.991 0.603 0.45 0.988 0.69 0.65 0.647], [0.094 0.976 0.127 0.991 0.45 0.603 0.988 0.69 0.65 0.647], [0.094 0.976 0.127 0.45 0.991 0.603 0.988 0.69 0.65 0.647], [0.094 0.976 0.127 0.45 0.991 0.603 0.988 0.69 0.65 0.647], [0.094 0.127 0.976 0.45 0.991 0.603 0.988 0.69 0.65 0.647], [0.094 0.127 0.976 0.45 0.991 0.603 0.988 0.69 0.647 0.65], [0.094 0.127 0.976 0.45 0.991 0.603 0.988 0.647 0.69 0.65], [0.094 0.127 0.976 0.45 0.991 0.603 0.647 0.988 0.69 0.65], [0.094 0.127 0.976 0.45 0.991 0.603 0.647 0.988 0.69 0.65], [0.094 0.127 0.976 0.45 0.603 0.991 0.647 0.988 0.69 0.65], [0.094 0.127 0.976 0.45 0.603 0.991 0.647 0.988 0.69 0.65], [0.094 0.127 0.45 0.976 0.603 0.991 0.647 0.988 0.69 0.65], [0.094 0.127 0.45 0.976 0.603 0.991 0.647 0.988 0.65 0.69], [0.094 0.127 0.45 0.976 0.603 0.991 0.647 0.65 0.988 0.69], [0.094 0.127 0.45 0.976 0.603 0.991 0.647 0.65 0.988 0.69], [0.094 0.127 0.45 0.976 0.603 0.647 0.991 0.65 0.988 0.69], [0.094 0.127 0.45 0.976 0.603 0.647 0.991 0.65 0.988 0.69], [0.094 0.127 0.45 0.603 0.976 0.647 0.991 0.65 0.988 0.69], [0.094 0.127 0.45 0.603 0.976 0.647 0.991 0.65 0.69 0.988], [0.094 0.127 0.45 0.603 0.976 0.647 0.991 0.65 0.69 0.988], [0.094 0.127 0.45 0.603 0.976 0.647 0.65 0.991 0.69 0.988], [0.094 0.127 0.45 0.603 0.976 0.647 0.65 0.991 0.69 0.988], [0.094 0.127 0.45 0.603 0.647 0.976 0.65 0.991 0.69 0.988], [0.094 0.127 0.45 0.603 0.647 0.976 0.65 0.991 0.69 0.988], [0.094 0.127 0.45 0.603 0.647 0.976 0.65 0.69 0.991 0.988], [0.094 0.127 0.45 0.603 0.647 0.976 0.65 0.69 0.991 0.988], [0.094 0.127 0.45 0.603 0.647 0.65 0.976 0.69 0.991 0.988], [0.094 0.127 0.45 0.603 0.647 0.65 0.976 0.69 0.988 0.991], [0.094 0.127 0.45 0.603 0.647 0.65 0.976 0.69 0.988 0.991], [0.094 0.127 0.45 0.603 0.647 0.65 0.69 0.976 0.988 0.991], [0.094 0.127 0.45 0.603 0.647 0.65 0.69 0.976 0.988 0.991], [0.094 0.127 0.45 0.603 0.647 0.65 0.69 0.976 0.988 0.991] | [0.094 0.127 0.45 0.603 0.647 0.65 0.69 0.976 0.988 0.991]
bubble_sort
bfs: s: 2, A: [[1 1 1 1 1], [1 0 0 0 0], [1 0 1 0 0], [1 0 0 0 0], [1 0 0 0 1]], initial_trace: [0 1 2 3 4] trace | pi:
[2 1 2 3 4] | [2 0 2 0 0]
bfs
graham_scan: x: [0.102 0.528 0.432 -0.531 -0.358 0.137 0.262 0.915 -0.338 1.5 0.353], y: [0.954 -0.449 1.07 1.18 -0.592 -0.217 0.662 0.271 0.801 0.377 -1.91], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[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 1 1], [0 0 0 0 0 0 0 1 0 1 1], [0 1 0 0 0 0 0 1 0 1 1], [0 0 0 0 0 0 0 1 0 1 1], [0 0 0 0 0 0 0 0 0 1 1], [0 0 1 0 0 0 0 0 0 1 1], [0 0 1 0 0 0 1 0 0 1 1], [0 0 1 0 0 0 0 0 0 1 1], [1 0 1 0 0 0 0 0 0 1 1], [1 0 1 0 0 1 0 0 0 1 1], [1 0 1 0 0 0 0 0 0 1 1], [1 0 1 0 0 0 0 0 1 1 1], [1 0 1 0 0 0 0 0 0 1 1], [0 0 1 0 0 0 0 0 0 1 1], [0 0 1 1 0 0 0 0 0 1 1] | [0 0 1 1 1 0 0 0 0 1 1]
graham_scan
kmp_matcher: string: [0 0 0 1], key: [2 2 1 2], initial_trace: 0 trace | s:
| 0
kmp_matcher
mst_kruskal: A: [[0.309 0 0 0], [0 0 0 0.373], [0 0 0 0], [0 0.373 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]] | [[0 0 0 0], [0 0 0 1], [0 0 0 0], [0 1 0 0]]
mst_kruskal
task_scheduling: d: [27 11 17 26 22 7 13 16 3 11 24 18 31 23 28 19 19 15 4 16 24 29 21 15 22 7 10 14 6 29 11], w: [0.65 0.235 0.734 0.301 0.599 0.538 0.55 0.948 0.355 0.001 0.128 0.805 0.665 0.094 0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 1 0 0 1 1 1 1 1 1 1 1 0 0 1 1 1 0 1 0 0 1 1 1 0]
task_scheduling
quickselect: key: [0.39 0.755 0.302 0.405 0.01 0.666 0.514 0.9 0.337 0.165 0.121 0.682 0.989 0.609 0.829], initial_trace: 14 trace | pivot:
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 10, 10, 10, 10, 10, 10, 10, 10, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 6 | 6
quickselect
bridges: A: [[0 0 0 1], [0 0 0 0], [0 0 0 0], [1 0 0 0]], initial_trace: [[0 -1 -1 0], [-1 0 -1 -1], [-1 -1 0 -1], [0 -1 -1 0]] trace | is_bridge:
[[0 -1 -1 0], [-1 0 -1 -1], [-1 -1 0 -1], [0 -1 -1 0]], [[0 -1 -1 0], [-1 0 -1 -1], [-1 -1 0 -1], [0 -1 -1 0]], [[0 -1 -1 0], [-1 0 -1 -1], [-1 -1 0 -1], [0 -1 -1 0]], [[0 -1 -1 0], [-1 0 -1 -1], [-1 -1 0 -1], [0 -1 -1 0]], [[0 -1 -1 0], [-1 0 -1 -1], [-1 -1 0 -1], [0 -1 -1 0]], [[0 -1 -1 1], [-1 0 -1 -1], [-1 -1 0 -1], [1 -1 -1 0]], [[0 -1 -1 1], [-1 0 -1 -1], [-1 -1 0 -1], [1 -1 -1 0]], [[0 -1 -1 1], [-1 0 -1 -1], [-1 -1 0 -1], [1 -1 -1 0]], [[0 -1 -1 1], [-1 0 -1 -1], [-1 -1 0 -1], [1 -1 -1 0]], [[0 -1 -1 1], [-1 0 -1 -1], [-1 -1 0 -1], [1 -1 -1 0]], [[0 -1 -1 1], [-1 0 -1 -1], [-1 -1 0 -1], [1 -1 -1 0]] | [[0 -1 -1 1], [-1 0 -1 -1], [-1 -1 0 -1], [1 -1 -1 0]]
bridges
insertion_sort: key: [0.382 0.558 0.034 0.29 0.305 0.564 0.083 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488], initial_trace: [0.382 0.558 0.034 0.29 0.305 0.564 0.083 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488] trace | pred:
[0.382 0.558 0.034 0.29 0.305 0.564 0.083 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488], [0.034 0.382 0.558 0.29 0.305 0.564 0.083 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488], [0.034 0.29 0.382 0.558 0.305 0.564 0.083 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488], [0.034 0.29 0.305 0.382 0.558 0.564 0.083 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488], [0.034 0.29 0.305 0.382 0.558 0.564 0.083 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488], [0.034 0.083 0.29 0.305 0.382 0.558 0.564 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488], [0.034 0.083 0.29 0.305 0.382 0.558 0.564 0.892 0.815 0.118 0.817 0.319 0.488 0.464 0.488], [0.034 0.083 0.29 0.305 0.382 0.558 0.564 0.815 0.892 0.118 0.817 0.319 0.488 0.464 0.488], [0.034 0.083 0.118 0.29 0.305 0.382 0.558 0.564 0.815 0.892 0.817 0.319 0.488 0.464 0.488], [0.034 0.083 0.118 0.29 0.305 0.382 0.558 0.564 0.815 0.817 0.892 0.319 0.488 0.464 0.488], [0.034 0.083 0.118 0.29 0.305 0.319 0.382 0.558 0.564 0.815 0.817 0.892 0.488 0.464 0.488], [0.034 0.083 0.118 0.29 0.305 0.319 0.382 0.488 0.558 0.564 0.815 0.817 0.892 0.464 0.488], [0.034 0.083 0.118 0.29 0.305 0.319 0.382 0.464 0.488 0.558 0.564 0.815 0.817 0.892 0.488] | [0.034 0.083 0.118 0.29 0.305 0.319 0.382 0.464 0.488 0.488 0.558 0.564 0.815 0.817 0.892]
insertion_sort
dag_shortest_paths: s: 1, A: [[0 0 0.647 0.753 0], [0.55 0 0.945 0 0], [0 0 0 0 0], [0 0 0.745 0 0], [0 0.847 0 0.161 0]], initial_trace: [0 1 2 3 4] trace | pi:
[0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [1 1 1 3 4], [1 1 1 0 4] | [1 1 1 0 4]
dag_shortest_paths
quicksort: key: [0.548 0.684 0.699 0.539 0.469], initial_trace: [0.548 0.684 0.699 0.539 0.469] trace | pred:
[0.548 0.684 0.699 0.539 0.469], [0.548 0.684 0.699 0.539 0.469], [0.548 0.684 0.699 0.539 0.469], [0.469 0.684 0.699 0.539 0.548], [0.469 0.684 0.699 0.539 0.548], [0.469 0.684 0.699 0.539 0.548], [0.469 0.539 0.699 0.684 0.548], [0.469 0.539 0.548 0.684 0.699], [0.469 0.539 0.548 0.684 0.699] | [0.469 0.539 0.548 0.684 0.699]
quicksort
mst_prim: s: 9, A: [[0 0 0 0 0 0.344 0 0 0.688 0 0], [0 0 0 0 0 0 0.206 0 0 0 0], [0 0 0 0.547 0 0 0 0 0 0 0], [0 0 0.547 0 0 0.095 0 0 0 0 0.505], [0 0 0 0 0.103 0 0.215 0.66 0 0 0.794], [0.344 0 0 0.095 0 0.129 0 0 0 0 0.302], [0 0.206 0 0 0.215 0 0 0 0 0 0], [0 0 0 0 0.66 0 0 0 0 0 0.581], [0.688 0 0 0 0 0 0 0 0.911 0 0.757], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.505 0.794 0.302 0 0.581 0.757 0 0.236]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
| [0 1 2 3 4 5 6 7 8 9 10]
mst_prim
bellman_ford: s: 1, A: [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]], initial_trace: [0 1 2 3] trace | pi:
| [0 1 2 3]
bellman_ford
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [1 3 3 0 0 2 0 1 2 2 3 3 0 0 2 3 0 0 2], initial_trace: 0 trace | s:
1, 2, 3, 3 | 3
naive_string_matcher
bfs: s: 4, A: [[1 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 1], [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 1 0 1 0 1 0 0], [0 0 0 0 0 1 0 0 1 1 0], [1 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 1 1 0 1 0 0], [0 0 0 1 0 0 1 0 0 1 0], [0 0 1 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 1 2 3 4 4 6 7 8 9 10], [0 5 2 3 4 4 5 7 5 9 10], [0 5 2 3 4 4 5 7 5 6 10] | [0 5 2 9 4 4 5 7 5 6 10]
bfs
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1], key: [0 3 2 2 0 2 3 2 0 0 3 1 0 3 2 0 1 1 3 3 2 0 1], initial_trace: 0 trace | s:
1, 1, 1, 2, 3, 4, 5, 6, 6, 6, 6, 7, 8, 9, 10, 10, 11, 12, 13, 13, 13 | 13
naive_string_matcher
bellman_ford: s: 0, A: [[0 0 0.382 0 0.183 0.586 0 0 0 0 0 0 0 0 0], [0 0 0.746 0.538 0 0 0 0.506 0 0 0.523 0.646 0 0 0], [0.382 0.746 0.047 0.146 0 0 0.607 0 0.8 0 0 0 0 0 0], [0 0.538 0.146 0 0 0 0 0.073 0 0.979 0 0 0 0 0.275], [0.183 0 0 0 0 0 0 0 0 0.44 0 0.298 0 0 0], [0.586 0 0 0 0 0.09 0 0 0 0.523 0 0.627 0 0 0], [0 0 0.607 0 0 0 0.484 0 0 0 0 0 0 0 0], [0 0.506 0 0.073 0 0 0 0.871 0 0 0 0 0 0 0.298], [0 0 0.8 0 0 0 0 0 0 0.705 0 0 0 0 0], [0 0 0 0.979 0.44 0.523 0 0 0.705 0 0.077 0.487 0.364 0 0], [0 0.523 0 0 0 0 0 0 0 0.077 0.847 0 0.838 0.284 0], [0 0.646 0 0 0.298 0.627 0 0 0 0.487 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.364 0.838 0 0.072 0 0], [0 0 0 0 0 0 0 0 0 0 0.284 0 0 0 0], [0 0 0 0.275 0 0 0 0.298 0 0 0 0 0 0 0.892]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[0 1 0 3 0 0 6 7 8 9 10 11 12 13 14], [0 2 0 2 0 0 2 7 2 4 10 4 12 13 14], [0 3 0 2 0 0 2 3 2 4 9 4 9 13 3] | [0 3 0 2 0 0 2 3 2 4 9 4 9 10 3]
bellman_ford
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 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 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 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 0 1 0 1 0 0 1], [0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 16, [0 1 2 16 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 3, [0 1 2 16 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 3, [0 1 2 16 4 5 6 7 8 9 3 11 12 13 14 15 16 17 18], 10, [0 1 2 16 4 5 6 7 8 9 3 11 12 13 14 15 16 17 18], 10, [0 1 2 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 18], 13, [0 1 2 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 18], 13, [0 1 2 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 13], 18, [0 1 18 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 13], 2, [0 1 18 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 13], 2, [0 1 18 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 13], 2, [0 2 18 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 13], 1, [0 2 18 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 13], 1, [0 2 18 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 13], 1, [0 2 18 16 4 5 6 7 8 9 3 11 12 10 14 15 16 17 13], 1, [0 2 18 16 4 5 6 7 8 1 3 11 12 10 14 15 16 17 13], 9, [0 2 18 16 4 5 6 7 8 1 3 11 12 10 14 15 16 17 13], 9, [0 2 18 16 4 5 6 7 8 1 3 11 12 10 14 15 16 17 13], 9, [0 2 18 16 4 5 6 7 8 1 3 11 12 10 14 9 16 17 13], 15, [0 2 18 16 4 5 6 7 8 1 3 11 15 10 14 9 16 17 13], 12, [0 2 18 16 4 5 6 7 8 1 3 12 15 10 14 9 16 17 13], 11, [0 2 18 16 4 5 6 11 8 1 3 12 15 10 14 9 16 17 13], 7, [0 2 18 16 4 5 6 11 7 1 3 12 15 10 14 9 16 17 13], 8, [0 2 18 16 4 5 6 11 7 1 3 12 15 10 14 9 16 17 13], 8, [0 2 18 16 4 5 6 11 7 1 3 12 15 10 14 9 16 17 13], 8, [0 2 18 16 8 5 6 11 7 1 3 12 15 10 14 9 16 17 13], 4, [0 2 18 16 8 5 6 11 7 1 3 12 15 10 14 9 16 4 13], 17, [17 2 18 16 8 5 6 11 7 1 3 12 15 10 14 9 16 4 13], 0, [17 2 18 16 8 5 6 11 7 1 3 12 15 10 14 9 16 4 13], 0, [17 2 18 16 8 5 6 11 7 1 3 12 15 10 14 9 16 4 13], 0, [17 2 18 16 8 5 6 11 7 1 3 12 15 10 14 9 16 4 13], 0, [17 2 18 16 8 5 0 11 7 1 3 12 15 10 14 9 16 4 13], 6, [17 2 18 16 8 5 0 11 7 1 3 12 15 10 14 9 16 4 13], 6, [17 2 18 16 8 5 0 11 7 1 3 12 15 10 6 9 16 4 13], 14 | [17 2 18 16 8 14 0 11 7 1 3 12 15 10 6 9 16 4 13], 5
topological_sort
activity_selector: s: [0.403 0.009 0.063 0.138 0.834 0.068 0.25 0.005 0.3 0.456 0.913 0.777 0.613 0.015 0.165], f: [0.931 0.495 0.985 0.183 0.969 0.989 0.785 0.189 0.963 0.737 0.938 0.821 0.915 0.321 0.244], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 1 0 1 0 0 0], [0 0 0 1 0 0 0 0 0 1 0 1 0 0 0], [0 0 0 1 0 0 0 0 0 1 0 1 0 0 0], [0 0 0 1 0 0 0 0 0 1 1 1 0 0 0], [0 0 0 1 0 0 0 0 0 1 1 1 0 0 0], [0 0 0 1 0 0 0 0 0 1 1 1 0 0 0], [0 0 0 1 0 0 0 0 0 1 1 1 0 0 0] | [0 0 0 1 0 0 0 0 0 1 1 1 0 0 0]
activity_selector
minimum: key: [0.396 0.177 0.459 0.612 0.144 0.541 0.036 0.488 0.779 0.373 0.119 0.888 0.275 0.964 0.85], initial_trace: 0 trace | min:
1, 1, 1, 4, 4, 6, 6, 6, 6, 6, 6, 6, 6 | 6
minimum
articulation_points: A: [[0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 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 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 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 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 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 0 0 1 1 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 0 1 0 0 0 0 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0 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0] | [0 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0]
articulation_points
task_scheduling: d: [1 3 9 10 4 10 7 7 8 8], w: [0.391 0.988 0.01 0.96 0.071 0.868 0.561 0.12 0.622 0.771], initial_trace: [0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 1 0 0 0 0 0 0 0 0], [0 1 0 1 0 0 0 0 0 0], [0 1 0 1 0 1 0 0 0 0], [0 1 0 1 0 1 0 0 0 1], [0 1 0 1 0 1 0 0 1 1], [0 1 0 1 0 1 1 0 1 1], [0 1 0 1 0 1 1 0 1 1], [0 1 0 1 0 1 1 1 1 1], [0 1 0 1 0 1 1 1 1 1] | [0 1 1 1 0 1 1 1 1 1]
task_scheduling
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1], key: [1 0 3 2 3 3 0 3 0 0 0 3 3 3 0 1 1 0 2 3 0 0 0], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 3, 4, 4, 5, 6 | 7
kmp_matcher
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [2 0 2 0 2 3 0 3 0 2 3 3 2 3 0], initial_trace: 0 trace | s:
0, 1, 2, 2, 3, 4, 4 | 4
naive_string_matcher
jarvis_march: x: [-1.24 1.78 -0.599 0.965], y: [0.455 -0.303 -0.532 -1.39], initial_trace: [0 0 0 0] trace | in_hull:
[0 0 0 1], [0 0 0 1], [0 0 0 1], [0 0 0 1], [0 0 0 1], [0 1 0 1], [0 1 0 1], [0 1 0 1], [0 1 0 1], [0 1 0 1], [1 1 0 1], [1 1 0 1], [1 1 0 1], [1 1 0 1], [1 1 0 1], [1 1 1 1], [1 1 1 1], [1 1 1 1], [1 1 1 1] | [1 1 1 1]
jarvis_march
naive_string_matcher: string: [0 0 0 0 0 0 0 0 1 1], key: [1 0 1 2 3 2 3 1 2 3], initial_trace: 0 trace | s:
1, 2, 3 | 3
naive_string_matcher
floyd_warshall: A: [[0 0 0.266 0.239], [0 0.846 0.681 0], [0.266 0.681 0.231 0], [0.239 0 0 0]], initial_trace: [[0 0 0 0], [1 1 1 1], [2 2 2 2], [3 3 3 3]] trace | Pi:
[[0 0 0 0], [1 1 1 1], [2 2 2 0], [3 3 0 3]], [[0 0 0 0], [1 1 1 1], [2 2 2 0], [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 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0] | [1 0 0 1 1 1 0 1 0 1 0 1 0 0 0 1 0 0 0]
articulation_points
mst_prim: s: 3, A: [[0.555 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.606 0 0.136 0.782 0.721 0 0 0], [0 0 0 0 0.853 0 0 0.073 0 0 0.251], [0 0.606 0 0 0 0 0.655 0 0 0 0.644], [0 0 0.853 0 0.789 0.425 0.638 0 0 0 0], [0 0.136 0 0 0.425 0 0 0 0 0 0.593], [0 0.782 0 0.655 0.638 0 0.6 0.045 0 0 0], [0 0.721 0.073 0 0 0 0.045 0 0 0.339 0], [0 0 0 0 0 0 0 0 0.321 0 0.908], [0 0 0 0 0 0 0 0.339 0 0 0], [0 0 0.251 0.644 0 0.593 0 0 0.908 0 0.777]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 3 2 3 4 5 3 7 8 9 3], [0 3 2 3 4 1 3 1 8 9 3], [0 3 2 3 5 1 3 1 8 9 5], [0 3 4 3 5 1 4 1 8 9 5], [0 3 10 3 5 1 4 1 10 9 5], [0 3 10 3 5 1 4 2 10 9 5], [0 3 10 3 5 1 7 2 10 7 5], [0 3 10 3 5 1 7 2 10 7 5], [0 3 10 3 5 1 7 2 10 7 5] | [0 3 10 3 5 1 7 2 10 7 5]
mst_prim
mst_prim: s: 10, A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.719 0 0 0.525 0 0], [0 0 0 0 0 0.215 0 0 0 0 0.854 0 0 0.211 0 0 0.22 0.247 0.293 0.284 0 0 0], [0 0 0.477 0 0 0.096 0.579 0 0 0.546 0 0 0 0 0 0 0.473 0 0 0 0 0.362 0.2], [0 0 0 0.509 0 0 0 0 0.325 0 0 0 0.543 0 0.558 0 0 0 0 0 0 0 0], [0 0 0 0 0.232 0 0.132 0.321 0.945 0 0 0 0 0.396 0 0 0 0.326 0 0 0 0.528 0], [0 0.215 0.096 0 0 0.762 0 0 0 0 0 0 0.343 0 0 0.289 0 0 0 0.674 0.242 0 0], [0 0 0.579 0 0.132 0 0.234 0 0 0 0.549 0 0 0 0 0 0.638 0 0 0 0 0 0.114], [0 0 0 0 0.321 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.881 0], [0 0 0 0.325 0.945 0 0 0 0.364 0 0 0 0 0 0 0 0 0 0 0 0 0 0.447], [0 0 0.546 0 0 0 0 0 0 0.041 0 0 0 0 0 0.474 0 0.493 0 0 0 0 0], [0 0.854 0 0 0 0 0.549 0 0 0 0 0.602 0 0 0 0 0 0.323 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.602 0.364 0 0 0 0.799 0 0 0 0.447 0 0 0], [0 0 0 0.543 0 0.343 0 0 0 0 0 0 0.928 0 0 0.227 0 0.615 0 0.751 0.613 0 0], [0 0.211 0 0 0.396 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.461 0 0], [0 0 0 0.558 0 0 0 0 0 0 0 0 0 0 0.713 0 0.732 0 0 0 0.217 0 0], [0 0 0 0 0 0.289 0 0 0 0.474 0 0.799 0.227 0 0 0 0 0 0 0 0 0.341 0], [0 0.22 0.473 0 0 0 0.638 0 0 0 0 0 0 0 0.732 0 0.585 0 0 0 0.324 0 0], [0.719 0.247 0 0 0.326 0 0 0 0 0.493 0.323 0 0.615 0 0 0 0 0.731 0 0 0.423 0 0], [0 0.293 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.937 0.203 0 0.435 0], [0 0.284 0 0 0 0.674 0 0 0 0 0 0.447 0.751 0 0 0 0 0 0.203 0 0 0 0], [0.525 0 0 0 0 0.242 0 0 0 0 0 0 0.613 0.461 0.217 0 0.324 0.423 0 0 0.492 0 0], [0 0 0.362 0 0.528 0 0 0.881 0 0 0 0 0 0 0 0.341 0 0 0.435 0 0 0 0], [0 0 0.2 0 0 0 0.114 0 0.447 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 16 17 18 19 20 21 22] trace | pi:
[0 10 2 3 4 5 10 7 8 9 10 10 12 13 14 15 16 10 18 19 20 21 22], [17 17 2 3 17 5 10 7 8 17 10 10 17 13 14 15 16 10 18 19 17 21 22], [17 17 2 3 17 1 10 7 8 17 10 10 17 1 14 15 1 10 1 1 17 21 22], [17 17 2 3 17 1 10 7 8 17 10 10 17 1 14 15 1 10 1 1 17 21 22], [17 17 5 3 17 1 10 7 8 17 10 10 5 1 14 5 1 10 1 1 5 21 22], [17 17 5 3 17 1 10 7 8 17 10 10 5 1 14 5 1 10 1 1 5 2 2], [17 17 5 3 17 1 22 7 22 17 10 10 5 1 14 5 1 10 1 1 5 2 2], [17 17 5 3 6 1 22 7 22 17 10 10 5 1 14 5 1 10 1 1 5 2 2], [17 17 5 3 6 1 22 4 22 17 10 10 5 1 14 5 1 10 1 1 5 2 2], [17 17 5 3 6 1 22 4 22 17 10 10 5 1 16 5 1 10 1 1 5 2 2], [20 17 5 3 6 1 22 4 22 17 10 10 5 1 20 5 1 10 1 1 5 2 2], [20 17 5 14 6 1 22 4 22 17 10 10 5 1 20 5 1 10 1 1 5 2 2], [20 17 5 14 6 1 22 4 22 17 10 19 5 1 20 5 1 10 19 1 5 2 2], [20 17 5 14 6 1 22 4 22 17 10 19 5 1 20 5 1 10 19 1 5 2 2], [20 17 5 14 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2], [20 17 5 12 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2], [20 17 5 12 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2], [20 17 5 12 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2], [20 17 5 12 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2], [20 17 5 8 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2], [20 17 5 8 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2], [20 17 5 8 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2] | [20 17 5 8 6 1 22 4 22 15 10 19 15 1 20 5 1 10 19 1 5 15 2]
mst_prim
activity_selector: s: [0.502 0.519 0.215 0.053 0.075 0.597 0.086 0.428 0.14 0.014 0.427 0.882 0.463 0.48 0.882 0.178 0.239 0.277 0.634 0.313 0.213 0.564 0.097], f: [0.509 0.965 0.705 0.069 0.991 0.759 0.824 0.762 0.57 0.087 0.964 0.978 0.882 0.574 0.899 0.403 0.438 0.849 0.707 0.388 0.45 0.578 0.671], 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] trace | selected:
[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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 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0 0 1 0 1 0 0 1 1 0 1 0 0 0], [0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 0 0], [1 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 0 0], [0 1 0 1 1 0 0 1 0 1 0 0 1 1 0 1 0 0 0], [0 1 0 1 1 0 0 1 0 1 0 1 1 1 0 1 0 0 0] | [0 1 0 1 1 0 0 1 0 1 0 1 1 1 1 1 0 0 0]
graham_scan
minimum: key: [0.851 0.373 0.375 0.388 0.559], initial_trace: 0 trace | min:
1, 1, 1 | 1
minimum
minimum: key: [0.161 0.102 0.852 0.193 0.374 0.543 0.802 0.461 0.571 0.488 0.387 0.242 0.751 0.666 0.154], initial_trace: 0 trace | min:
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | 1
minimum
floyd_warshall: A: [[0.877 0 0.404 0.349 0.454 0 0.07 0 0 0], [0 0 0.36 0.458 0 0 0 0 0 0], [0.404 0.36 0.272 0 0 0 0 0 0 0], [0.349 0.458 0 0.104 0 0 0.499 0.514 0 0], [0.454 0 0 0 0.46 0 0.352 0 0.308 0], [0 0 0 0 0 0 0 0.766 0.462 0], [0.07 0 0 0.499 0.352 0 0 0.497 0 0], [0 0 0 0.514 0 0.766 0.497 0 0 0.27], [0 0 0 0 0.308 0.462 0 0 0 0], [0 0 0 0 0 0 0 0.27 0 0]], initial_trace: [[0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9]] trace | Pi:
[[0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1], [2 2 2 0 0 2 0 2 2 2], [3 3 0 3 0 3 0 3 3 3], [4 4 0 0 4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 4 2], [3 3 0 3 0 3 0 3 4 3], [4 2 0 0 4 4 4 3 4 4], [5 5 5 5 5 5 5 5 5 5], [6 2 0 0 6 6 6 6 4 6], [3 3 0 7 0 7 7 7 5 7], [4 2 0 0 8 8 4 5 8 8], [9 9 9 9 9 9 9 9 9 9]], [[6 2 0 0 6 0 0 6 4 0], [2 1 1 1 6 1 0 3 4 1], [2 2 2 0 6 2 0 6 4 2], [3 3 0 3 6 3 0 3 4 3], [6 2 0 0 4 4 4 6 4 4], [5 5 5 5 5 5 5 5 5 5], [6 2 0 0 6 6 6 6 4 6], [6 3 0 7 6 7 7 7 4 7], [6 2 0 0 8 8 4 6 8 8], [9 9 9 9 9 9 9 9 9 9]], [[6 2 0 0 6 7 0 6 4 7], [2 1 1 1 6 7 0 3 4 7], [2 2 2 0 6 7 0 6 4 7], [3 3 0 3 6 7 0 3 4 7], [6 2 0 0 4 7 4 6 4 7], [6 3 0 7 6 5 7 5 5 7], [6 2 0 0 6 7 6 6 4 7], [6 3 0 7 6 7 7 7 4 7], [6 2 0 0 8 8 4 6 8 7], [6 3 0 7 6 7 7 9 4 9]] | [[6 2 0 0 6 8 0 6 4 7], [2 1 1 1 6 7 0 3 4 7], [2 2 2 0 6 8 0 6 4 7], [3 3 0 3 6 7 0 3 4 7], [6 2 0 0 4 8 4 6 4 7], [6 3 0 7 8 5 4 5 5 7], [6 2 0 0 6 8 6 6 4 7], [6 3 0 7 6 7 7 7 4 7], [6 2 0 0 8 8 4 6 8 7], [6 3 0 7 6 7 7 9 4 9]]
floyd_warshall
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [1 3 1 2 0 1 0 0 2 3 1 1 2 1 1 3 2 0 1], initial_trace: 0 trace | s:
1, 2, 3, 3 | 3
naive_string_matcher
bfs: s: 3, A: [[0 1 0 0], [1 1 0 1], [0 0 1 1], [0 1 1 0]], initial_trace: [0 1 2 3] trace | pi:
[0 3 3 3] | [1 3 3 3]
bfs
bridges: A: [[0 0 0 0 0], [0 0 0 1 0], [0 0 0 0 1], [0 1 0 1 0], [0 0 1 0 0]], initial_trace: [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]] trace | is_bridge:
[[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 0 -1], [-1 -1 0 -1 0], [-1 0 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 1 -1], [-1 -1 0 -1 0], [-1 1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 1 -1], [-1 -1 0 -1 0], [-1 1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 1 -1], [-1 -1 0 -1 0], [-1 1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 1 -1], [-1 -1 0 -1 0], [-1 1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 1 -1], [-1 -1 0 -1 0], [-1 1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 1 -1], [-1 -1 0 -1 0], [-1 1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 1 -1], [-1 -1 0 -1 0], [-1 1 -1 0 -1], [-1 -1 0 -1 0]] | [[0 -1 -1 -1 -1], [-1 0 -1 1 -1], [-1 -1 0 -1 1], [-1 1 -1 0 -1], [-1 -1 1 -1 0]]
bridges

CLRS Text Training Datasets

A dataset containing the training data for CLRS-30 Text, generated using our GitHub code. The full list of the 30 algorithms and lengths included is available here.

The full paper available on ArXiv

Licensing Information

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

Bibtex

If you use our dataset, please cite us:

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

Full List of Algorithms

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

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