Datasets:

question
stringlengths
65
3.42k
answer
stringlengths
3
5.8k
algo_name
stringclasses
30 values
binary_search: key: [0.039 0.153 0.201 0.222 0.225 0.238 0.264 0.269 0.276 0.322 0.352 0.381 0.384 0.401 0.426 0.48 0.491 0.516 0.588 0.643 0.656 0.683 0.727 0.787 0.846 0.856 0.865 0.883 0.884 0.905 0.949], target: 0.173, initial_trace: (0, 30) trace | (low, high):
(0, 15), (0, 7), (0, 3), (2, 3) | (2, 2)
binary_search
strongly_connected_components: A: [[1 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 1 0 0 0 0 1 0 1 0 0], [1 0 0 1 0 0 0 0 0 0 0 1], [0 1 0 0 1 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 1 0 1 0 0 0], [0 0 1 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 1 0 1 0 1 0], [0 0 1 0 0 0 0 1 0 1 0 0], [0 0 0 0 0 0 1 0 0 0 1 0], [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 11] trace | scc_id:
[0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 6 9 10 11], [0 1 2 3 4 5 6 7 6 9 10 11], [0 1 2 3 4 5 6 7 6 9 6 11], [0 1 2 3 4 5 6 7 6 9 6 11], [0 1 2 3 4 5 6 7 6 9 6 11], [0 1 2 3 4 5 6 7 6 9 6 11], [0 1 2 3 4 5 6 7 6 9 6 11], [0 1 2 3 4 4 6 7 6 9 6 11], [0 1 2 3 4 4 6 7 6 9 6 11], [0 1 2 3 4 4 6 7 6 9 6 11], [0 1 2 3 4 4 6 7 6 9 6 11], [0 1 2 3 4 4 6 7 6 9 6 11], [0 1 2 3 4 4 6 2 6 9 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 3 4 4 6 2 6 2 6 11], [0 1 2 0 4 4 6 2 6 2 6 11], [0 1 2 0 4 4 6 2 6 2 6 0], [0 1 2 0 4 4 6 2 6 2 6 0] | [0 1 2 0 4 4 6 2 6 2 6 0]
strongly_connected_components
binary_search: key: [0.07 0.1 0.139 0.206 0.215 0.288 0.307 0.326 0.506 0.537 0.613 0.66 0.691 0.736 0.759 0.826 0.854 0.899 0.953], target: 0.268, initial_trace: (0, 18) trace | (low, high):
(0, 9), (5, 9), (5, 7), (5, 6) | (5, 5)
binary_search
activity_selector: s: [0.486 0.467 0.09 0.968], f: [0.706 0.798 0.826 0.994], initial_trace: [0 0 0 0] trace | selected:
[1 0 0 0], [1 0 0 0], [1 0 0 0] | [1 0 0 1]
activity_selector
lcs_length: string: [0 0 0 1 1], key: [2 2 3 0 0], initial_trace: [[-1 -1 -1 1 1], [-1 -1 -1 1 0], [-1 -1 -1 1 0], [-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1]] trace | b:
| [[-1 -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
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 1 1], key: [0 2 2 2 2 1 0 1 0 0 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 1, 2, 3, 4, 5 | 6
kmp_matcher
mst_prim: s: 3, A: [[0.934 0.547 0 0 0 0.909 0 0 0 0 0], [0.547 0.734 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.478 0 0 0 0.394 0.757 0], [0 0 0 0.986 0 0 0 0 0 0 0], [0 0 0.478 0 0.831 0.286 0 0 0 0.456 0], [0.909 0 0 0 0.286 0 0 0.281 0 0 0], [0 0 0 0 0 0 0.43 0 0 0 0.199], [0 0 0 0 0 0.281 0 0.287 0 0.538 0], [0 0 0.394 0 0 0 0 0 0.341 0 0], [0 0 0.757 0 0.456 0 0 0.538 0 0 0], [0 0 0 0 0 0 0.199 0 0 0 0]], 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
jarvis_march: x: [0.387 -0.952 1.12 0.527 -0.433 1.45 -1.78 0.764 -1.32 -0.155 1.41 0.842], y: [-0.902 0.963 0.227 -0.532 1.56 0.248 -0.703 1.37 -0.741 -1.71 -0.723 0.756], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[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 1 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 1 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 1 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 1 0 0], [0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 1 1 0], [0 0 0 0 0 0 0 0 0 1 1 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 0 0 0 0 0 0 1 1 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 0 0 0 0 0 0 1 1 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 0 0 0 0 0 0 1 1 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 0 0 1 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 0 1 1 0], [0 0 0 0 0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1 1 0 1 0 1 1 0], [0 1 0 0 1 1 0 1 0 1 1 0], [0 1 0 0 1 1 0 1 0 1 1 0], [0 1 0 0 1 1 0 1 0 1 1 0], [0 1 0 0 1 1 0 1 0 1 1 0], [0 1 0 0 1 1 0 1 0 1 1 0], [0 1 0 0 1 1 0 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0], [0 1 0 0 1 1 1 1 0 1 1 0] | [0 1 0 0 1 1 1 1 0 1 1 0]
jarvis_march
binary_search: key: [0.228 0.257 0.563 0.682 0.708 0.727 0.807 0.938 0.995 0.999], target: 0.366, initial_trace: (0, 9) trace | (low, high):
(0, 4), (0, 2) | (2, 2)
binary_search
topological_sort: A: [[0 0 0 0 0 0 1 1 1 0 0 1 1 1 0 0 0 0 1 0 1 0 0], [1 0 0 1 0 0 0 1 0 1 0 0 1 1 1 1 0 0 1 1 1 0 1], [1 1 0 1 1 0 0 0 0 1 0 0 1 0 1 1 0 1 1 1 1 0 1], [0 0 0 0 0 1 1 1 0 1 0 1 1 1 0 1 0 1 1 1 0 0 1], [0 0 0 0 0 1 1 0 0 1 0 1 1 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 1 0 1 0 0 1 1 0 1 0 0 0 0 0 0 1], [0 0 0 0 0 1 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 1 1 0 0 0 0 1 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 1 0 0], [1 0 0 0 1 0 1 0 0 1 0 1 0 0 0 1 0 1 1 1 1 0 1], [0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1], [0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 1 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 1 0 1], [0 0 0 0 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 1 1 1 0 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 0 0], [0 0 0 0 1 1 1 0 0 0 0 1 1 0 0 1 0 1 0 0 0 0 0], [0 0 0 0 1 1 0 0 0 1 0 1 0 1 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], [1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 0 0 1 1 1 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]], 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], 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], 5, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 5, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 5, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 21 22], 20, [0 1 2 3 4 5 6 7 8 20 10 11 12 13 14 15 16 17 18 19 5 21 22], 9, [0 1 2 3 4 5 6 9 8 20 10 11 12 13 14 15 16 17 18 19 5 21 22], 7, [0 1 2 3 4 5 6 9 8 20 10 11 12 13 14 15 16 17 18 19 5 21 22], 7, [0 1 2 3 4 5 6 9 8 20 10 11 12 13 14 15 16 17 18 19 5 21 22], 7, [0 1 2 3 4 5 6 9 8 20 10 11 12 13 14 15 16 17 18 19 5 21 22], 7, [0 1 2 3 4 5 6 9 8 20 10 11 12 13 14 15 16 17 18 19 5 21 22], 7, [0 1 2 3 4 5 6 9 8 20 10 11 12 13 14 15 16 17 18 19 5 21 7], 22, [0 1 2 3 4 5 6 9 8 20 10 11 12 13 14 22 16 17 18 19 5 21 7], 15, [0 1 2 3 4 5 6 9 8 20 10 15 12 13 14 22 16 17 18 19 5 21 7], 11, [0 1 2 3 4 5 6 9 8 20 10 15 11 13 14 22 16 17 18 19 5 21 7], 12, [0 1 2 3 4 5 6 9 8 20 10 15 11 13 14 22 16 17 18 19 5 21 7], 12, [0 1 2 3 4 5 6 9 8 20 10 15 11 12 14 22 16 17 18 19 5 21 7], 13, [0 1 2 3 4 5 13 9 8 20 10 15 11 12 14 22 16 17 18 19 5 21 7], 6, [0 1 2 3 4 5 13 9 8 20 10 15 11 12 14 22 16 17 18 19 5 21 7], 6, [0 1 2 3 4 5 13 9 8 20 10 15 11 12 14 22 16 17 18 19 5 21 7], 6, [0 1 2 3 4 5 13 9 8 20 10 15 11 12 14 22 16 6 18 19 5 21 7], 17, [0 1 2 3 4 5 13 9 17 20 10 15 11 12 14 22 16 6 18 19 5 21 7], 8, [0 1 2 3 4 5 13 9 17 20 10 15 11 12 14 22 16 6 18 19 5 21 7], 8, [0 1 2 3 4 5 13 9 17 20 10 15 11 12 14 22 16 6 18 19 5 21 7], 8, [0 1 2 3 8 5 13 9 17 20 10 15 11 12 14 22 16 6 18 19 5 21 7], 4, [0 1 2 3 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 19 5 21 7], 18, [18 1 2 3 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 19 5 21 7], 0, [18 1 2 3 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 19 5 21 7], 0, [18 1 2 3 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 19 5 21 7], 0, [18 1 2 3 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 19 5 21 7], 0, [18 1 2 3 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 19 5 21 7], 0, [18 1 2 3 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 0 5 21 7], 19, [18 1 2 19 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 0 5 21 7], 3, [18 1 2 19 8 5 13 9 17 20 10 15 11 12 14 22 16 6 4 0 5 21 7], 3, [18 1 2 19 8 5 13 9 17 20 10 15 11 12 3 22 16 6 4 0 5 21 7], 14, [18 14 2 19 8 5 13 9 17 20 10 15 11 12 3 22 16 6 4 0 5 21 7], 1, [18 14 2 19 8 5 13 9 17 20 10 15 11 12 3 22 16 6 4 0 5 21 7], 1, [18 14 2 19 8 5 13 9 17 20 10 15 11 12 3 22 16 6 4 0 5 21 7], 1, [18 14 1 19 8 5 13 9 17 20 10 15 11 12 3 22 16 6 4 0 5 21 7], 2, [18 14 1 19 8 5 13 9 17 20 10 15 11 12 3 22 16 6 4 0 5 21 7], 2, [18 14 1 19 8 5 13 9 17 20 10 15 11 12 3 22 16 6 4 0 5 21 7], 2, [18 14 1 19 8 5 13 9 17 20 2 15 11 12 3 22 16 6 4 0 5 21 7], 10, [18 14 1 19 8 5 13 9 17 20 2 15 11 12 3 22 16 6 4 0 5 21 7], 10, [18 14 1 19 8 5 13 9 17 20 2 15 11 12 3 22 16 6 4 0 5 21 7], 10, [18 14 1 19 8 5 13 9 17 20 2 15 11 12 3 22 10 6 4 0 5 21 7], 16, [18 14 1 19 8 5 13 9 17 20 2 15 11 12 3 22 10 6 4 0 5 21 7], 16, [18 14 1 19 8 5 13 9 17 20 2 15 11 12 3 22 10 6 4 0 5 21 7], 16 | [18 14 1 19 8 5 13 9 17 20 2 15 11 12 3 22 10 6 4 0 5 16 7], 21
topological_sort
strongly_connected_components: A: [[0 0 0 0 0 0 0 1 0 0], [0 1 0 0 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 1 0 0], [0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 1 0 0], [0 1 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 1 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 3 6 7 8 9], [0 1 2 3 4 3 6 7 8 9], [0 1 2 3 4 3 6 7 8 9], [0 1 2 3 4 3 6 7 8 9], [0 1 2 3 4 3 6 7 8 9], [0 1 2 3 4 3 6 7 8 9], [0 1 2 3 4 3 6 7 8 9], [0 1 2 3 4 3 6 7 8 9], [0 1 2 3 4 3 6 7 1 9], [0 1 2 3 4 3 6 7 1 9], [0 1 2 3 4 3 6 7 1 9], [0 1 2 3 4 3 6 7 1 9], [0 1 2 3 4 3 6 7 1 9], [0 1 2 3 4 3 6 7 1 9], [0 1 2 3 4 3 6 7 1 9] | [0 1 2 3 4 3 6 7 1 9]
strongly_connected_components
dag_shortest_paths: s: 7, A: [[0 0 0.859 0 0.394 0 0 0 0 0 0 0.644 0 0 0.625 0.0539 0.78 0.981 0], [0.996 0 0 0.536 0 0 0 0.461 0 0.383 0.449 0 0 0 0.609 0.581 0.181 0.888 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.508 0 0 0.376 0 0.297 0 0 0 0 0 0 0 0 0 0], [0 0 0.218 0.128 0 0 0.812 0 0 0 0.109 0 0 0 0 0 0.235 0.108 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.614 0.397 0.63 0 0.8 0 0.0678 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.483 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.211 0 0 0.474 0 0.393 0.0626 0 0.457 0 0 0 0 0 0.209 0 0], [0.29 0 0.241 0.649 0.313 0 0.383 0 0 0 0 0 0 0 0 0 0.848 0.932 0], [0 0 0.782 0.951 0 0 0 0.00484 0.156 0 0 0 0 0 0 0 0 0 0], [0.537 0 0 0.669 0 0.0897 0.274 0 0.655 0.382 0 0.716 0 0 0 0.348 0.0472 0 0], [0 0 0 0 0.207 0 0 0.791 0 0 0 0.696 0 0 0.868 0.782 0.162 0 0], [0 0 0.335 0.213 0 0 0.301 0 0 0 0 0 0 0 0 0 0 0.0421 0], [0 0 0.663 0.589 0.651 0 0 0.689 0.89 0 0 0.0979 0 0 0 0 0 0.775 0], [0 0 0 0 0 0 0.857 0.586 0.569 0 0 0 0 0 0.569 0.309 0 0 0], [0 0 0 0.973 0.106 0 0.339 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.496 0 0 0.683 0 0 0.601 0 0.411 0.187 0.847 0.503 0.896 0 0 0.758 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 7 7 7 5 7 7 7 9 10 11 12 13 14 15 16 17 18], [0 1 7 7 7 5 7 7 7 9 10 11 12 13 14 15 16 17 18], [0 1 7 7 7 5 8 7 7 9 10 11 12 13 14 15 16 17 18], [0 1 7 7 7 5 8 7 7 9 10 11 12 13 14 15 16 17 18] | [0 1 7 7 7 5 8 7 7 9 10 11 12 13 14 15 16 17 18]
dag_shortest_paths
naive_string_matcher: string: [0 0 0 0 1], key: [3 2 2 0 2], initial_trace: 0 trace | s:
| 1
naive_string_matcher
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 0 3 2 2 1 1 3 3 3 3 0 1 2 1 2 0 3 1 0 2 0 2 0 3 1 0], initial_trace: 0 trace | s:
1, 2, 3, 4, 4, 5, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 16, 16, 16, 16 | 16
naive_string_matcher
quickselect: key: [0.807 0.877 0.325 0.025 0.756 0.144 0.941 0.37 0.846 0.756 0.105 0.012], initial_trace: 11 trace | pivot:
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 10, 10, 10, 10, 2, 2, 2, 2, 2, 4, 4, 4, 9 | 9
quickselect
jarvis_march: x: [1.23 -1.04 0.931 -1], y: [-1.45 0.196 0.236 0.75], initial_trace: [0 0 0 0] trace | in_hull:
[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 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 1]
jarvis_march
task_scheduling: d: [8 20 16 22 19 19 24 24 18 26 8 3 19 15 21 15 19 8 18 11 14 14 26 1 6 23 24 7], w: [0.265 0.971 0.739 0.723 0.5 0.594 0.646 0.448 0.349 0.314 0.886 0 0.893 0.848 0.976 0.688 0.437 0.39 0.667 0.237 0.792 0.981 0.01 0.327 0.201 0.785 0.341 0.744], 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] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 1 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 1 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 0 1 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 1 0 1 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 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 1 0 0], [0 1 1 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 1 0 0], [0 1 1 1 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 1 0 0], [0 1 1 1 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 0 1 1 0 0 0 1 0 0], [0 1 1 1 0 0 0 0 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 0 0 1 0 0], [0 1 1 1 0 0 1 0 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 0 0 1 0 0], [0 1 1 1 0 1 1 0 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 0 0 1 0 0], [0 1 1 1 1 1 1 0 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 0 0 1 0 0], [0 1 1 1 1 1 1 1 0 0 1 0 1 1 1 1 0 0 1 0 1 1 0 0 0 1 0 0], [0 1 1 1 1 1 1 1 0 0 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 0 0], [0 1 1 1 1 1 1 1 0 0 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 0 0], [0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 0 0], [0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0], [0 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0], [0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0], [0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0], [0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0], [0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0], [0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 1 0 0 1 1 0] | [0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 0 1 1 1 0 0 1 1 0]
task_scheduling
segments_intersect: x: [0.103 0.739 0.094 0.484], y: [0.875 0.183 0.289 0.362] intersect:
0
segments_intersect
bellman_ford: s: 17, A: [[0 0.247 0 0.502 0 0 0 0 0.716 0.342 0 0 0 0 0 0 0 0 0 0 0 0.814 0 0 0.761 0 0.522 0 0 0 0], [0.247 0.919 0 0 0.626 0 0 0 0.192 0.554 0.52 0.145 0.696 0 0 0.374 0 0 0.555 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.196 0 0 0.139 0.35 0 0.913 0 0 0 0 0 0 0.424 0 0.426 0.503 0 0 0 0 0 0 0 0], [0.502 0 0 0.202 0 0 0 0 0 0 0 0 0.89 0.543 0.387 0 0 0 0 0 0.086 0 0 0 0 0 0 0 0 0 0.354], [0 0.626 0 0 0.041 0.223 0.687 0 0.47 0.614 0 0.451 0 0 0 0 0 0 0 0.237 0 0 0 0 0 0 0 0 0 0.594 0], [0 0 0 0 0.223 0.529 0 0 0 0.765 0 0.297 0.708 0 0 0.342 0 0 0.219 0 0.367 0 0 0 0 0 0 0 0 0 0], [0 0 0.196 0 0.687 0 0 0 0 0 0.197 0 0 0 0 0.46 0 0 0 0.267 0.524 0 0.638 0 0 0.495 0 0 0 0 0.351], [0 0 0 0 0 0 0 0.997 0 0.666 0.294 0 0.598 0.323 0 0 0 0 0 0 0 0.27 0.738 0 0 0 0 0 0.416 0 0], [0.716 0.192 0 0 0.47 0 0 0 0 0 0.627 0 0 0 0 0.428 0 0.537 0 0 0 0.211 0.891 0.883 0 0 0 0 0 0 0.615], [0.342 0.554 0.139 0 0.614 0.765 0 0.666 0 0 0 0 0 0 0 0 0.718 0 0.511 0 0.254 0 0 0 0 0 0 0 0 0 0.385], [0 0.52 0.35 0 0 0 0.197 0.294 0.627 0 0 0 0 0 0 0 0.455 0 0 0 0.688 0.348 0.393 0 0 0 0 0 0.672 0 0], [0 0.145 0 0 0.451 0.297 0 0 0 0 0 0.478 0 0.491 0 0.848 0 0 0 0 0.453 0.699 0 0 0 0 0 0 0 0 0], [0 0.696 0.913 0.89 0 0.708 0 0.598 0 0 0 0 0 0 0 0.158 0 0 0.526 0.459 0 0 0 0.427 0 0 0 0 0.654 0 0], [0 0 0 0.543 0 0 0 0.323 0 0 0 0.491 0 0.408 0 0.701 0 0 0 0 0.398 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.387 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.179 0 0 0 0 0 0 0 0 0.745 0 0 0.574], [0 0.374 0 0 0 0.342 0.46 0 0.428 0 0 0.848 0.158 0.701 0 0 0 0 0 0 0 0 0 0.157 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.718 0.455 0 0 0 0 0 0.228 0.222 0.281 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.537 0 0 0 0 0 0 0 0.222 0.483 0.682 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.555 0 0 0 0.219 0 0 0 0.511 0 0 0.526 0 0.179 0 0.281 0.682 0.134 0.303 0 0.272 0 0.838 0.138 0 0.544 0 0.113 0 0.521], [0 0 0.424 0 0.237 0 0.267 0 0 0 0 0 0.459 0 0 0 0 0 0.303 0 0.623 0 0 0 0 0 0 0 0 0.32 0], [0 0 0 0.086 0 0.367 0.524 0 0 0.254 0.688 0.453 0 0.398 0 0 0 0 0 0.623 0.498 0 0 0 0.481 0 0.114 0.334 0 0 0], [0.814 0 0.426 0 0 0 0 0.27 0.211 0 0.348 0.699 0 0 0 0 0 0 0.272 0 0 0.832 0 0.488 0 0 0 0.484 0 0 0.335], [0 0 0.503 0 0 0 0.638 0.738 0.891 0 0.393 0 0 0 0 0 0 0 0 0 0 0 0 0.628 0 0 0 0 0.398 0.197 0], [0 0 0 0 0 0 0 0 0.883 0 0 0 0.427 0 0 0.157 0 0 0.838 0 0 0.488 0.628 0 0 0 0 0 0 0 0], [0.761 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.138 0 0.481 0 0 0 0 0 0.562 0 0 0 0], [0 0 0 0 0 0 0.495 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.522 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.544 0 0.114 0 0 0 0.562 0 0 0 0.68 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.745 0 0 0 0 0 0.334 0.484 0 0 0 0 0 0.086 0 0 0], [0 0 0 0 0 0 0 0.416 0 0 0.672 0 0.654 0 0 0 0 0 0.113 0 0 0 0.398 0 0 0 0.68 0 0 0 0], [0 0 0 0 0.594 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0 0 0.197 0 0 0 0 0 0 0.223 0.783], [0 0 0 0.354 0 0 0.351 0 0.615 0.385 0 0 0 0 0.574 0 0 0 0.521 0 0 0.335 0 0 0 0 0 0 0 0.783 0.488]], 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 17 9 10 11 12 13 14 15 17 17 17 19 20 21 22 23 24 25 26 27 28 29 30], [8 8 2 3 8 18 6 7 17 16 16 11 18 13 18 8 17 17 16 18 20 8 8 8 18 25 18 27 18 29 8], [1 8 10 14 8 18 10 10 17 16 16 1 18 15 18 8 17 17 16 18 9 8 10 15 18 25 18 21 18 19 18] | [1 8 10 14 5 18 10 10 17 16 16 1 18 7 18 8 17 17 16 18 5 8 28 15 18 6 18 21 18 19 18]
bellman_ford
kmp_matcher: string: [0 0 0 1], key: [3 0 0 3], initial_trace: 0 trace | s:
| 0
kmp_matcher
dag_shortest_paths: s: 5, A: [[0 0.866 0.791 0 0 0.164 0 0.297 0.922 0.272 0.661 0.49], [0 0 0.475 0.401 0 0 0 0.0241 0.0388 0 0 0.454], [0 0 0 0.634 0 0 0 0 0.164 0.165 0 0.832], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.466 0.64 0 0 0 0 0.333 0 0.923 0.427], [0 0 0 0 0.881 0 0 0 0.66 0 0 0.742], [0 0 0.941 0.443 0.549 0.856 0 0.644 0 0.672 0.662 0], [0 0 0 0.179 0 0 0 0 0 0 0.482 0.412], [0 0 0 0.938 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.546 0 0 0.863], [0 0 0 0.572 0 0 0 0 0.547 0.374 0 0.17], [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] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 5 5 6 7 5 9 10 5], [0 1 4 4 5 5 6 7 5 9 4 5], [0 1 4 4 5 5 6 7 5 10 4 5], [0 1 4 4 5 5 6 7 5 2 4 5], [0 1 4 4 5 5 6 7 5 2 4 5], [0 1 4 4 5 5 6 7 5 2 4 5] | [0 1 4 4 5 5 6 7 5 2 4 5]
dag_shortest_paths
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [0 2 1 0 2 2 0 1 1 3 1 1 2 3 1 1 3 1 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8 | 9
kmp_matcher
binary_search: key: [0.027 0.476 0.728 0.9], target: 0.700, initial_trace: (0, 3) trace | (low, high):
(2, 3) | (2, 2)
binary_search
dfs: A: [[0 1 1 1 0 0 1 1 1 1 0 0 0 0 0 0 0 1 1 0 0 1 0], [0 0 1 1 0 1 1 0 0 0 1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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 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 3 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 3 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 4 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 5 6 7 2 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 5 6 7 2 4 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 5 6 7 2 4 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 5 6 9 2 4 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 5 6 9 2 4 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 5 7 9 2 4 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 5 7 9 2 4 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 10 11 5 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 10 11 5 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 10 12 5 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 10 12 5 13 14 15 16 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 10 12 5 13 14 15 11 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 10 12 5 13 14 15 11 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 13 14 15 11 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 13 14 15 11 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 14 15 11 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 14 15 11 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 17 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 14 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 14 18 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 14 17 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 14 17 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 14 17 19 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 14 17 17 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 15 11 14 17 17 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 20 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 21 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 22], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21], [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21] | [0 0 1 8 3 6 7 9 2 4 16 12 5 10 13 19 11 14 17 17 15 20 21]
dfs
bellman_ford: s: 0, A: [[0 0 0.355 0 0 0 0 0.285 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.525 0.551 0 0 0 0 0 0 0 0 0], [0.355 0 0.566 0 0.77 0 0.752 0 0 0 0 0 0.299 0.15 0.423 0.101 0 0.499 0], [0 0 0 0 0.085 0.63 0 0 0 0.738 0 0.5 0 0 0 0 0 0 0], [0 0 0.77 0.085 0 0 0 0 0 0 0 0 0.543 0.169 0 0.787 0 0.311 0], [0 0 0 0.63 0 0.962 0.42 0 0.174 0.341 0 0.627 0 0 0 0 0 0.157 0], [0 0 0.752 0 0 0.42 0.596 0.654 0 0.594 0 0 0 0 0 0 0 0 0.857], [0.285 0 0 0 0 0 0.654 0 0 0 0 0 0 0 0 0 0 0 0.509], [0 0.525 0 0 0 0.174 0 0 0.14 0 0.112 0 0 0 0.785 0 0.041 0 0], [0 0.551 0 0.738 0 0.341 0.594 0 0 0.758 0 0.625 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.112 0 0 0 0 0.506 0 0 0 0 0.585], [0 0 0 0.5 0 0.627 0 0 0 0.625 0 0.193 0 0 0 0.555 0.273 0 0], [0 0 0.299 0 0.543 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.15 0 0.169 0 0 0 0 0 0.506 0 0 0.239 0.399 0.609 0 0 0], [0 0 0.423 0 0 0 0 0 0.785 0 0 0 0 0.399 0 0 0.455 0 0], [0 0 0.101 0 0.787 0 0 0 0 0 0 0.555 0 0.609 0 0 0.603 0 0], [0 0 0 0 0 0 0 0 0.041 0 0 0.273 0 0 0.455 0.603 0 0.039 0], [0 0 0.499 0 0.311 0.157 0 0 0 0 0 0 0 0 0 0 0.039 0.095 0.812], [0 0 0 0 0 0 0.857 0.509 0 0 0.585 0 0 0 0 0 0 0.812 0.05]], 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 0 3 4 5 6 0 8 9 10 11 12 13 14 15 16 17 18], [0 1 0 3 2 5 7 0 8 9 10 11 2 2 2 2 16 2 7], [0 1 0 4 13 17 7 0 14 6 13 15 2 2 2 2 17 2 7], [0 9 0 4 13 17 7 0 16 5 13 15 2 2 2 2 17 2 7] | [0 8 0 4 13 17 7 0 16 5 13 15 2 2 2 2 17 2 7]
bellman_ford
heapsort: key: [0.86 0.525 0.657 0.782], initial_trace: [0.86 0.525 0.657 0.782] trace | pred:
[0.86 0.525 0.657 0.782], [0.86 0.525 0.657 0.782], [0.86 0.782 0.657 0.525], [0.86 0.782 0.657 0.525], [0.86 0.782 0.657 0.525], [0.525 0.782 0.657 0.86], [0.782 0.525 0.657 0.86], [0.782 0.525 0.657 0.86], [0.657 0.525 0.782 0.86], [0.657 0.525 0.782 0.86], [0.525 0.657 0.782 0.86] | [0.525 0.657 0.782 0.86]
heapsort
quickselect: key: [0.091 0.802 0.13 0.709 0.678 0.154 0.73 0.904 0.714 0.796 0.743 0.641 0.995 0.152 0.123 0.019 0.475 0.481 0.046 0.327 0.249 0.441 0.398 0.906 0.957 0.054 0.303 0.906], initial_trace: 27 trace | pivot:
27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 22, 22, 22, 22, 22, 22, 22, 22, 3, 3, 3, 3, 3, 3, 21, 21, 21, 21, 21, 4, 4, 4, 4, 11, 11, 11, 17 | 17
quickselect
topological_sort: A: [[0 0 1 0], [0 0 0 0], [0 1 0 0], [1 1 1 0]], initial_trace: [0 1 2 3], 0 trace | topo, topo_head:
[0 1 2 3], 0, [0 1 2 3], 0, [0 1 2 3], 0, [0 1 2 3], 1, [0 1 1 3], 2, [2 1 1 3], 0, [2 1 1 3], 0, [2 1 1 3], 0 | [2 1 1 0], 3
topological_sort
bfs: s: 16, A: [[1 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 1], [0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 1 1 0 0 0 1 1 0 0 0 0 0 0], [1 0 0 0 0 0 0 1 0 1 0 0 0 1 1 0 0 0 0], [0 0 1 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 0], [0 0 0 1 1 1 1 1 1 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 1 1], [0 0 0 0 0 1 1 0 0 1 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 1 1], [0 1 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 1 0], [1 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0], [1 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 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 1 0 1 1 0 1 1 0 0 0 1], [1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1]], 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 16 3 4 5 16 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 16 3 6 5 16 6 8 6 10 11 12 2 14 15 16 17 18], [0 1 16 7 6 7 16 6 7 6 9 4 4 2 14 15 16 13 18] | [5 8 16 7 6 7 16 6 7 6 9 4 4 2 5 8 16 13 8]
bfs
quickselect: key: [0.244 0.117 0.841 0.906 0.725 0.62 0.45 0.463 0.127 0.291 0.144 0.989 0.013 0.859 0.625 0.049 0.627 0.891 0.598], initial_trace: 18 trace | pivot:
18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18 | 18
quickselect
activity_selector: s: [0.529 0.143 0.746 0.14 0.273 0.321 0.577 0.209 0.019 0.301 0.523 0.475], f: [0.697 0.573 0.775 0.24 0.286 0.877 0.782 0.687 0.901 0.695 0.816 0.597], initial_trace: [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 1 1 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 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 1], [0 0 1 1 1 0 0 0 0 0 0 1], [0 0 1 1 1 0 0 0 0 0 0 1], [0 0 1 1 1 0 0 0 0 0 0 1], [0 0 1 1 1 0 0 0 0 0 0 1] | [0 0 1 1 1 0 0 0 0 0 0 1]
activity_selector
matrix_chain_order: p: [0.731 0.526 0.485 0.28 0.342], initial_trace: [[0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0]] trace | s:
[[0 0 0 0 0], [0 0 1 0 0], [0 0 0 2 0], [0 0 0 0 3], [0 0 0 0 0]], [[0 0 0 0 0], [0 0 1 1 2], [0 0 0 2 3], [0 0 0 0 3], [0 0 0 0 0]] | [[0 0 0 0 0], [0 0 1 1 3], [0 0 0 2 3], [0 0 0 0 3], [0 0 0 0 0]]
matrix_chain_order
binary_search: key: [0.012 0.051 0.073 0.15 0.157 0.161 0.181 0.196 0.332 0.343 0.403 0.431 0.44 0.46 0.474 0.486 0.54 0.555 0.604 0.633 0.653 0.654 0.669 0.692 0.747 0.767 0.78 0.852 0.862 0.91 0.935], target: 0.831, initial_trace: (0, 30) trace | (low, high):
(16, 30), (24, 30), (24, 27), (26, 27) | (27, 27)
binary_search
strongly_connected_components: A: [[0 0 0 0 0 0 0 0 0 0], [0 1 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 1 0], [0 0 1 1 0 0 0 0 1 0], [0 1 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 1 0 0 1], [1 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 0 0 0 1 0], [0 0 0 0 0 0 1 0 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9] trace | scc_id:
[0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 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 6], [0 1 2 3 4 5 6 7 8 6], [0 1 2 3 4 5 6 7 8 6], [0 1 2 3 4 5 6 7 8 6], [0 1 2 3 4 5 6 7 8 6], [0 1 2 3 4 5 6 7 8 6], [0 1 2 3 4 5 6 7 8 6], [0 1 2 3 4 5 6 7 8 6], [0 1 2 3 2 5 6 7 8 6], [0 1 2 2 2 5 6 7 8 6], [0 1 2 2 2 5 6 7 8 6], [0 1 2 2 2 5 6 7 8 6], [0 1 2 2 2 5 6 7 2 6], [0 1 2 2 2 5 6 7 2 6], [0 1 2 2 2 5 6 7 2 6], [0 1 2 2 2 5 6 7 2 6], [0 1 2 2 2 5 6 7 2 6], [0 1 2 2 2 5 6 7 2 6], [0 1 2 2 2 5 6 7 2 6] | [0 1 2 2 2 5 6 7 2 6]
strongly_connected_components
strongly_connected_components: A: [[1 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 1 0], [0 0 1 0 0 0 1 0 0 0 0 1 0 0 0], [1 0 0 0 1 1 0 0 0 0 0 0 0 0 1], [0 0 0 1 0 1 0 0 0 0 0 0 0 0 1], [0 0 0 1 1 1 0 0 1 0 0 0 0 0 0], [0 0 1 0 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 1 0 1 1 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 0 0 1 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 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 1 0], [0 0 0 1 1 1 0 0 1 0 0 0 0 0 1]], 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 7 11 12 13 14], [0 1 2 3 4 5 6 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 6 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 6 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 6 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 6 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 6 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 13 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 1 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 1 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 1 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 1 14], [0 1 2 3 4 5 2 7 8 7 7 11 12 1 14], [0 1 2 0 4 5 2 7 8 7 7 11 12 1 14], [0 1 2 0 0 5 2 7 8 7 7 11 12 1 14], [0 1 2 0 0 0 2 7 8 7 7 11 12 1 14], [0 1 2 0 0 0 2 7 0 7 7 11 12 1 14], [0 1 2 0 0 0 2 7 0 7 7 11 12 1 0], [0 1 2 0 0 0 2 7 0 7 7 11 12 1 0], [0 1 2 0 0 0 2 7 0 7 7 11 12 1 0], [0 1 2 0 0 0 2 7 0 7 7 11 12 1 0], [0 1 2 0 0 0 2 7 0 7 7 11 12 1 0] | [0 1 2 0 0 0 2 7 0 7 7 11 12 1 0]
strongly_connected_components
articulation_points: A: [[0 0 1 0 0 0 0 0 1 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0], [1 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 1], [0 1 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 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]], initial_trace: [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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 0 1 0 1 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1 1 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:
[14 1 2 14 14 14 6 14 8 9 10 14 12 13 14 15 16 17 18 19 20 14 14] | [14 4 3 14 14 14 7 14 0 7 4 14 3 11 14 0 0 0 11 0 5 14 14]
bfs
minimum: key: [0.987 0.75 0.06 0.914 0.132 0.725 0.42 0.696 0.454 0.339 0.327], initial_trace: 0 trace | min:
1, 2, 2, 2, 2, 2, 2, 2, 2 | 2
minimum
dijkstra: s: 6, A: [[0.466 0 0 0 0 0 0 0 0 0], [0 0.776 0.932 0 0 0 0 0 0 0], [0 0.932 0.265 0.431 0 0.867 0 0 0 0], [0 0 0.431 0.465 0.324 0.125 0 0 0 0.591], [0 0 0 0.324 0 0 0 0 0 0], [0 0 0.867 0.125 0 0.306 0 0.724 0 0], [0 0 0 0 0 0 0.033 0 0 0], [0 0 0 0 0 0.724 0 0.721 0 0.269], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0.591 0 0 0 0.269 0 0.462]], initial_trace: [0 1 2 3 4 5 6 7 8 9] trace | pi:
| [0 1 2 3 4 5 6 7 8 9]
dijkstra
minimum: key: [0.389 0.69 0.748 0.975 0.629], initial_trace: 0 trace | min:
0, 0, 0 | 0
minimum
minimum: key: [0.151 0.989 0.983 0.148], initial_trace: 0 trace | min:
0, 0 | 3
minimum
mst_prim: s: 2, A: [[0 0 0 0.267 0 0.659 0 0 0.255 0.129 0 0 0.451 0 0.464], [0 0.99 0.377 0 0 0 0 0.761 0.779 0 0 0.195 0 0.216 0], [0 0.377 0 0.505 0 0 0.045 0 0 0 0 0 0 0.413 0], [0.267 0 0.505 0.609 0 0 0 0 0 0.216 0 0 0.133 0 0.206], [0 0 0 0 0.972 0 0 0 0 0 0 0 0 0 0], [0.659 0 0 0 0 0 0 0 0 0 0 0 0 0.306 0.444], [0 0 0.045 0 0 0 0 0 0.5 0 0.483 0 0 0 0], [0 0.761 0 0 0 0 0 0.032 0 0 0 0 0 0 0], [0.255 0.779 0 0 0 0 0.5 0 0.233 0 0 0 0 0 0], [0.129 0 0 0.216 0 0 0 0 0 0 0 0.269 0 0 0.429], [0 0 0 0 0 0 0.483 0 0 0 0 0.593 0 0 0], [0 0.195 0 0 0 0 0 0 0 0.269 0.593 0.986 0.691 0 0], [0.451 0 0 0.133 0 0 0 0 0 0 0 0.691 0.611 0 0.464], [0 0.216 0.413 0 0 0.306 0 0 0 0 0 0 0 0 0], [0.464 0 0 0.206 0 0.444 0 0 0 0.429 0 0 0.464 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[0 2 2 2 4 5 2 7 8 9 10 11 12 2 14], [0 2 2 2 4 5 2 7 6 9 6 11 12 2 14], [0 2 2 2 4 5 2 1 6 9 6 1 12 1 14], [0 2 2 2 4 5 2 1 6 11 6 1 11 1 14], [0 2 2 2 4 13 2 1 6 11 6 1 11 1 14], [9 2 2 9 4 13 2 1 6 11 6 1 11 1 9], [9 2 2 9 4 13 2 1 0 11 6 1 0 1 9], [9 2 2 9 4 13 2 1 0 11 6 1 3 1 3], [9 2 2 9 4 13 2 1 0 11 6 1 3 1 3], [9 2 2 9 4 13 2 1 0 11 6 1 3 1 3], [9 2 2 9 4 13 2 1 0 11 6 1 3 1 3], [9 2 2 9 4 13 2 1 0 11 6 1 3 1 3], [9 2 2 9 4 13 2 1 0 11 6 1 3 1 3] | [9 2 2 9 4 13 2 1 0 11 6 1 3 1 3]
mst_prim
strongly_connected_components: A: [[1 0 0 0 1 0 1 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 0 0 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], [1 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 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 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 0 6 7 8 9], [0 1 2 3 0 0 6 7 8 9], [0 1 2 3 0 0 0 7 8 9], [0 1 2 3 0 0 0 7 8 9], [0 1 2 3 0 0 0 7 8 9] | [0 1 2 3 0 0 0 7 8 9]
strongly_connected_components
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 1 1], key: [1 2 3 3 2 0 1 3 2 0 1 3], initial_trace: 0 trace | s:
0, 1, 2, 3, 4, 5, 6 | 6
naive_string_matcher
topological_sort: A: [[0 0 0 0 1 0 0 0 1 0 0 0], [0 0 0 1 1 0 0 0 1 0 0 0], [1 0 0 0 1 1 0 1 1 1 0 0], [0 0 0 0 0 1 0 1 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 1 0], [1 0 0 0 0 1 0 0 1 0 0 1], [1 0 0 0 1 1 1 0 1 0 1 0], [0 0 0 0 1 0 0 0 0 0 0 0], [1 0 0 1 1 0 0 0 0 0 1 1], [0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 1 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11], 0, [0 1 2 3 4 5 6 7 8 9 10 11], 0, [0 1 2 3 4 5 6 7 8 9 10 11], 4, [0 1 2 3 4 5 6 7 8 9 10 11], 4, [0 1 2 3 4 5 6 7 4 9 10 11], 8, [8 1 2 3 4 5 6 7 4 9 10 11], 0, [8 1 2 3 4 5 6 7 4 9 10 11], 0, [8 1 2 3 4 5 6 7 4 9 10 11], 0, [8 1 2 3 4 5 6 7 4 9 10 11], 0, [8 1 2 3 4 5 6 7 4 9 10 11], 0, [8 1 2 3 4 5 6 7 4 9 10 11], 0, [8 1 2 3 4 5 6 7 4 9 0 11], 10, [8 1 2 3 4 10 6 7 4 9 0 11], 5, [8 1 2 3 4 10 6 7 4 9 0 11], 5, [8 1 2 3 4 10 6 7 4 9 0 11], 5, [8 1 2 3 4 10 6 7 4 9 0 11], 5, [8 1 2 3 4 10 6 7 4 9 0 5], 11, [8 1 2 3 4 10 11 7 4 9 0 5], 6, [8 1 2 3 4 10 11 6 4 9 0 5], 7, [8 1 2 7 4 10 11 6 4 9 0 5], 3, [8 3 2 7 4 10 11 6 4 9 0 5], 1, [8 3 2 7 4 10 11 6 4 9 0 5], 1, [8 3 2 7 4 10 11 6 4 9 0 5], 1, [8 3 2 7 4 10 11 6 4 9 0 5], 1, [8 3 2 7 4 10 11 6 4 1 0 5], 9 | [8 3 9 7 4 10 11 6 4 1 0 5], 2
topological_sort
matrix_chain_order: p: [0.875 0.123 0.227 0.362], 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
dijkstra: s: 3, A: [[0.751 0 0 0.734], [0 0 0 0], [0 0 0.165 0], [0.734 0 0 0.574]], initial_trace: [0 1 2 3] trace | pi:
[3 1 2 3] | [3 1 2 3]
dijkstra
mst_prim: s: 10, A: [[0.503 0 0.203 0 0.926 0.682 0 0.21 0.323 0.711 0.678], [0 0.887 0 0.277 0.422 0 0 0.82 0 0.152 0], [0.203 0 0.474 0.238 0.348 0.409 0.203 0 0 0 0], [0 0.277 0.238 0.498 0 0.657 0 0 0 0 0], [0.926 0.422 0.348 0 0.106 0 0 0 0 0 0], [0.682 0 0.409 0.657 0 0 0.194 0 0 0 0.689], [0 0 0.203 0 0 0.194 0.903 0 0.399 0.19 0], [0.21 0.82 0 0 0 0 0 0.722 0 0 0], [0.323 0 0 0 0 0 0.399 0 0.35 0 0.626], [0.711 0.152 0 0 0 0 0.19 0 0 0 0], [0.678 0 0 0 0 0.689 0 0 0.626 0 0.792]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[10 1 2 3 4 10 6 7 10 9 10], [8 1 2 3 4 10 8 7 10 9 10], [8 1 0 3 0 0 8 0 10 0 10], [8 1 0 2 2 2 2 0 10 0 10], [8 1 0 2 2 6 2 0 10 6 10], [8 9 0 2 2 6 2 0 10 6 10], [8 9 0 2 2 6 2 0 10 6 10], [8 9 0 2 2 6 2 0 10 6 10], [8 9 0 2 2 6 2 0 10 6 10], [8 9 0 2 2 6 2 0 10 6 10] | [8 9 0 2 2 6 2 0 10 6 10]
mst_prim
quicksort: key: [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], initial_trace: [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72] trace | pred:
[0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.581 0.616 0.184 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.184 0.616 0.581 0.298 0.42 0.685 0.436 0.364 0.72], [0.034 0.184 0.298 0.581 0.616 0.42 0.685 0.436 0.364 0.72], [0.034 0.184 0.298 0.581 0.616 0.42 0.685 0.436 0.364 0.72], [0.034 0.184 0.298 0.581 0.616 0.42 0.685 0.436 0.364 0.72], [0.034 0.184 0.298 0.581 0.616 0.42 0.685 0.436 0.364 0.72], [0.034 0.184 0.298 0.364 0.616 0.42 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.616 0.42 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.616 0.42 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.616 0.42 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.616 0.42 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.616 0.42 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.616 0.42 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.42 0.616 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.42 0.616 0.685 0.436 0.581 0.72], [0.034 0.184 0.298 0.364 0.42 0.436 0.685 0.616 0.581 0.72], [0.034 0.184 0.298 0.364 0.42 0.436 0.581 0.616 0.685 0.72], [0.034 0.184 0.298 0.364 0.42 0.436 0.581 0.616 0.685 0.72], [0.034 0.184 0.298 0.364 0.42 0.436 0.581 0.616 0.685 0.72], [0.034 0.184 0.298 0.364 0.42 0.436 0.581 0.616 0.685 0.72] | [0.034 0.184 0.298 0.364 0.42 0.436 0.581 0.616 0.685 0.72]
quicksort
bellman_ford: s: 0, A: [[0 0 0.47 0 0 0 0 0.604 0 0.372 0.603], [0 0 0 0 0.663 0 0 0.4 0.186 0.705 0], [0.47 0 0 0 0 0 0 0 0 0 0.032], [0 0 0 0 0 0 0 0.255 0 0 0], [0 0.663 0 0 0 0.854 0.33 0.264 0 0 0.132], [0 0 0 0 0.854 0.73 0 0 0 0 0.091], [0 0 0 0 0.33 0 0.905 0.647 0 0 0.542], [0.604 0.4 0 0.255 0.264 0 0.647 0.63 0 0.261 0], [0 0.186 0 0 0 0 0 0 0 0.497 0], [0.372 0.705 0 0 0 0 0 0.261 0.497 0.188 0], [0.603 0 0.032 0 0.132 0.091 0.542 0 0 0 0.403]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 1 0 3 4 5 6 0 8 0 0], [0 7 0 7 10 10 10 0 9 0 2], [0 7 0 7 10 10 10 0 9 0 2] | [0 7 0 7 10 10 4 0 9 0 2]
bellman_ford
bellman_ford: s: 14, A: [[0 0 0 0 0.699 0 0.749 0 0 0 0 0 0 0 0], [0 0 0 0 0.204 0 0 0.239 0.506 0 0 0 0.658 0 0], [0 0 0 0 0.695 0 0 0 0.759 0 0 0 0.521 0 0], [0 0 0 0 0.416 0 0 0.188 0 0 0 0 0 0 0], [0.699 0.204 0.695 0.416 0 0 0 0 0 0 0.348 0 0 0 0], [0 0 0 0 0 0 0 0.066 0 0 0 0 0 0 0], [0.749 0 0 0 0 0 0.048 0 0 0 0 0.227 0 0 0], [0 0.239 0 0.188 0 0.066 0 0 0 0 0 0 0 0 0], [0 0.506 0.759 0 0 0 0 0 0 0 0 0 0 0.166 0], [0 0 0 0 0 0 0 0 0 0 0.7 0 0 0 0], [0 0 0 0 0.348 0 0 0 0 0.7 0.458 0 0 0 0], [0 0 0 0 0 0 0.227 0 0 0 0 0.822 0 0 0], [0 0.658 0.521 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.166 0 0 0 0 0 0.468], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.468 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 5 6 7 8 9 10 11 12 14 14], [0 1 2 3 4 5 6 7 13 9 10 11 12 14 14], [0 8 8 3 4 5 6 7 13 9 10 11 12 14 14], [0 8 8 3 1 5 6 1 13 9 10 11 1 14 14], [4 8 8 7 1 7 6 1 13 9 4 11 1 14 14], [4 8 8 7 1 7 0 1 13 10 4 11 1 14 14] | [4 8 8 7 1 7 0 1 13 10 4 6 1 14 14]
bellman_ford
insertion_sort: key: [0.69 0.452 0.909 0.075 0.377 0.873 0.965 0.783 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], initial_trace: [0.69 0.452 0.909 0.075 0.377 0.873 0.965 0.783 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77] trace | pred:
[0.452 0.69 0.909 0.075 0.377 0.873 0.965 0.783 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.452 0.69 0.909 0.075 0.377 0.873 0.965 0.783 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.452 0.69 0.909 0.377 0.873 0.965 0.783 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.377 0.452 0.69 0.909 0.873 0.965 0.783 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.377 0.452 0.69 0.873 0.909 0.965 0.783 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.377 0.452 0.69 0.873 0.909 0.965 0.783 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.377 0.452 0.69 0.783 0.873 0.909 0.965 0.525 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.377 0.452 0.525 0.69 0.783 0.873 0.909 0.965 0.166 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.166 0.377 0.452 0.525 0.69 0.783 0.873 0.909 0.965 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.166 0.377 0.452 0.525 0.69 0.783 0.873 0.909 0.965 0.973 0.459 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.166 0.377 0.452 0.459 0.525 0.69 0.783 0.873 0.909 0.965 0.973 0.66 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.166 0.377 0.452 0.459 0.525 0.66 0.69 0.783 0.873 0.909 0.965 0.973 0.678 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.166 0.377 0.452 0.459 0.525 0.66 0.678 0.69 0.783 0.873 0.909 0.965 0.973 0.084 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.084 0.166 0.377 0.452 0.459 0.525 0.66 0.678 0.69 0.783 0.873 0.909 0.965 0.973 0.497 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.084 0.166 0.377 0.452 0.459 0.497 0.525 0.66 0.678 0.69 0.783 0.873 0.909 0.965 0.973 0.694 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.084 0.166 0.377 0.452 0.459 0.497 0.525 0.66 0.678 0.69 0.694 0.783 0.873 0.909 0.965 0.973 0.715 0.626 0.006 0.425 0.195 0.77], [0.075 0.084 0.166 0.377 0.452 0.459 0.497 0.525 0.66 0.678 0.69 0.694 0.715 0.783 0.873 0.909 0.965 0.973 0.626 0.006 0.425 0.195 0.77], [0.075 0.084 0.166 0.377 0.452 0.459 0.497 0.525 0.626 0.66 0.678 0.69 0.694 0.715 0.783 0.873 0.909 0.965 0.973 0.006 0.425 0.195 0.77], [0.006 0.075 0.084 0.166 0.377 0.452 0.459 0.497 0.525 0.626 0.66 0.678 0.69 0.694 0.715 0.783 0.873 0.909 0.965 0.973 0.425 0.195 0.77], [0.006 0.075 0.084 0.166 0.377 0.425 0.452 0.459 0.497 0.525 0.626 0.66 0.678 0.69 0.694 0.715 0.783 0.873 0.909 0.965 0.973 0.195 0.77], [0.006 0.075 0.084 0.166 0.195 0.377 0.425 0.452 0.459 0.497 0.525 0.626 0.66 0.678 0.69 0.694 0.715 0.783 0.873 0.909 0.965 0.973 0.77] | [0.006 0.075 0.084 0.166 0.195 0.377 0.425 0.452 0.459 0.497 0.525 0.626 0.66 0.678 0.69 0.694 0.715 0.77 0.783 0.873 0.909 0.965 0.973]
insertion_sort
articulation_points: A: [[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 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 1], [1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 0 1]], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] 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 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 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 1 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 1 0 0 0 0 0] | [0 0 0 0 0 1 0 0 0 0 0]
articulation_points
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [2 0 0 3 3 2 3 3 3 2 3 3 0 2 2 2 3 2 3], initial_trace: 0 trace | s:
1, 2, 3, 3, 4, 4 | 4
naive_string_matcher
matrix_chain_order: p: [0.201 0.663 0.126 0.746 0.315 0.507 0.476 0.434 0.428 0.623], 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 2 3 0 0 0 0], [0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2 2 2 2 2 2 2], [0 0 0 2 2 2 2 2 2 2], [0 0 0 0 3 4 5 6 7 8], [0 0 0 0 0 4 4 4 4 4], [0 0 0 0 0 0 5 6 7 8], [0 0 0 0 0 0 0 6 6 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]]
matrix_chain_order
task_scheduling: d: [1 2 4 2 4], w: [0.363 0.465 0.81 0.468 0.849], initial_trace: [0 0 0 0 0] trace | selected:
[0 0 0 0 1], [0 0 1 0 1], [0 0 1 0 1], [0 0 1 0 1] | [0 0 1 0 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 0 0 0 0 1 1 1 1 1], key: [0 0 3 3 1 0 2 2 3 3 1 1 2 0 1 1 2 1 1 1 0 3 3 1 0 2 2 3], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3 | 4
kmp_matcher
minimum: key: [0.146 0.82 0.729 0.006 0.345 0.088 0.264 0.737 0.648 0.649 0.75 0.12 0.271 0.726 0.415 0.508 0.28 0.594 0.549], initial_trace: 0 trace | min:
0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 | 3
minimum
bfs: s: 9, A: [[0 1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0], [1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0], [0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 1 1 0 1 1 0 0 0 1 0 0 1 0 0 0], [0 0 1 1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 1], [0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0], [0 1 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 1 0], [0 0 1 0 0 1 0 1 1 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0], [1 0 0 0 0 0 1 0 1 0 1 1 0 1 0 0 0 1 0], [1 0 1 1 1 0 1 1 0 0 0 0 1 0 1 1 0 0 0], [1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0], [0 1 0 1 0 0 0 0 0 0 1 0 1 1 1 0 1 0 1], [0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1 0 0 1], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0], [0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1]], 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 9 3 4 9 6 9 9 9 10 11 12 13 14 9 16 17 18], [0 8 9 2 5 9 2 9 9 9 10 8 2 5 14 9 7 8 5] | [1 8 9 2 5 9 2 9 9 9 11 8 2 5 1 9 7 8 5]
bfs
mst_prim: s: 5, A: [[0 0.717 0 0 0 0.551 0.289 0 0 0], [0.717 0 0.294 0 0.24 0 0 0 0 0], [0 0.294 0 0 0 0 0 0 0 0], [0 0 0 0.631 0.668 0 0 0 0 0], [0 0.24 0 0.668 0 0 0 0 0 0.349], [0.551 0 0 0 0 0 0.412 0 0 0], [0.289 0 0 0 0 0.412 0.279 0.293 0 0], [0 0 0 0 0 0 0.293 0.383 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.349 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9] trace | pi:
[5 1 2 3 4 5 5 7 8 9], [6 1 2 3 4 5 5 6 8 9], [6 0 2 3 4 5 5 6 8 9], [6 0 2 3 4 5 5 6 8 9], [6 0 1 3 1 5 5 6 8 9], [6 0 1 4 1 5 5 6 8 4], [6 0 1 4 1 5 5 6 8 4], [6 0 1 4 1 5 5 6 8 4] | [6 0 1 4 1 5 5 6 8 4]
mst_prim
minimum: key: [0.709 0.033 0.708 0.028 0.198 0.154 0.001 0.382 0.347 0.023], initial_trace: 0 trace | min:
1, 1, 3, 3, 3, 6, 6, 6 | 6
minimum
minimum: key: [0.515 0.306 0.823 0.112 0.219 0.049 0.896 0.663 0.689 0.537 0.564 0.46 0.216 0.886 0.398 0.795 0.185 0.152 0.252], initial_trace: 0 trace | min:
1, 1, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 | 5
minimum
topological_sort: A: [[0 0 0 0 0 0 0 0 0 0], [1 0 0 1 1 0 1 1 0 1], [0 0 0 1 0 1 1 1 1 0], [1 0 0 0 0 0 1 0 0 0], [0 0 0 1 0 0 0 1 0 0], [1 0 0 1 0 0 1 0 1 1], [1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 1 0 0 1], [1 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 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 0 7 8 9], 6, [0 1 2 6 4 5 0 7 8 9], 3, [0 1 2 6 4 5 0 7 8 9], 3, [0 1 2 6 4 5 0 7 8 9], 3, [0 1 2 6 4 5 0 3 8 9], 7, [0 1 2 6 7 5 0 3 8 9], 4, [0 1 2 6 7 5 0 3 8 9], 4, [0 1 2 6 7 5 0 3 8 4], 9, [0 9 2 6 7 5 0 3 8 4], 1, [0 9 2 6 7 5 0 3 8 4], 1, [0 9 2 6 7 5 0 3 8 4], 1, [0 9 2 6 7 5 0 3 8 4], 1, [0 9 2 6 7 5 0 3 8 4], 1, [0 9 2 6 7 5 0 3 1 4], 8, [0 9 2 6 7 8 0 3 1 4], 5 | [0 9 5 6 7 8 0 3 1 4], 2
topological_sort
bellman_ford: s: 15, A: [[0 0 0 0 0 0 0 0 0 0.531 0.266 0 0 0 0 0 0 0 0 0 0 0 0.765 0 0 0 0.531 0], [0 0.116 0 0 0 0 0 0 0 0 0 0 0 0.415 0 0 0.172 0 0 0 0 0 0.521 0 0.407 0.424 0 0], [0 0 0 0.211 0.528 0.229 0 0 0 0 0.861 0 0.079 0 0.642 0 0 0.12 0.642 0.28 0.888 0.074 0.425 0 0.15 0 0 0], [0 0 0.211 0.74 0 0 0 0 0 0 0 0 0.495 0 0 0 0 0 0 0 0.218 0 0 0.438 0 0 0.15 0], [0 0 0.528 0 0.904 0.436 0 0 0.403 0 0 0 0 0.52 0.657 0.786 0 0 0.7 0 0.157 0 0.898 0 0 0 0 0], [0 0 0.229 0 0.436 0 0 0 0 0 0 0 0 0.626 0 0.662 0 0.945 0 0 0.432 0.12 0.285 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.138 0 0 0 0 0 0 0.653 0 0 0 0 0 0 0.54 0.528], [0 0 0 0 0 0 0 0 0.747 0 0 0.704 0.795 0.199 0 0 0 0 0.176 0 0.603 0 0 0 0 0 0 0.597], [0 0 0 0 0.403 0 0 0.747 0.677 0 0 0.347 0 0 0.399 0 0 0 0 0 0 0 0.142 0 0.817 0 0 0.508], [0.531 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.194 0 0 0 0 0 0 0 0.339 0 0], [0.266 0 0.861 0 0 0 0 0 0 0 0 0 0 0.196 0.55 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.704 0.347 0 0 0 0.819 0 0 0.624 0 0 0 0 0 0 0.51 0 0 0 0 0.314], [0 0 0.079 0.495 0 0 0.138 0.795 0 0 0 0.819 0 0.778 0.253 0 0 0 0 0 0 0 0 0 0.903 0.511 0 0], [0 0.415 0 0 0.52 0.626 0 0.199 0 0 0.196 0 0.778 0.546 0 0.72 0 0 0 0.186 0 0 0 0 0 0 0 0.743], [0 0 0.642 0 0.657 0 0 0 0.399 0 0.55 0 0.253 0 0.848 0 0 0.484 0.794 0 0.561 0 0 0.474 0 0 0 0], [0 0 0 0 0.786 0.662 0 0 0 0 0 0.624 0 0.72 0 0.406 0 0 0 0 0 0.789 0 0 0 0.082 0 0], [0 0.172 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.444 0.682 0 0 0 0 0.642 0.405 0 0 0.341 0.04], [0 0 0.12 0 0 0.945 0 0 0 0.194 0 0 0 0 0.484 0 0.682 0.254 0 0 0 0.346 0 0 0.309 0.151 0.143 0], [0 0 0.642 0 0.7 0 0 0.176 0 0 0 0 0 0 0.794 0 0 0 0.607 0.11 0.728 0 0 0 0.352 0 0 0], [0 0 0.28 0 0 0 0.653 0 0 0 0 0 0 0.186 0 0 0 0 0.11 0 0 0 0 0.791 0 0 0 0.846], [0 0 0.888 0.218 0.157 0.432 0 0.603 0 0 0 0 0 0 0.561 0 0 0 0.728 0 0 0 0 0.395 0 0 0 0], [0 0 0.074 0 0 0.12 0 0 0 0 0 0 0 0 0 0.789 0 0.346 0 0 0 0.217 0 0.521 0 0 0 0.853], [0.765 0.521 0.425 0 0.898 0.285 0 0 0.142 0 0 0.51 0 0 0 0 0.642 0 0 0 0 0 0.925 0 0 0 0 0], [0 0 0 0.438 0 0 0 0 0 0 0 0 0 0 0.474 0 0.405 0 0 0.791 0.395 0.521 0 0 0 0 0 0], [0 0.407 0.15 0 0 0 0 0 0.817 0 0 0 0.903 0 0 0 0 0.309 0.352 0 0 0 0 0 0.256 0 0 0], [0 0.424 0 0 0 0 0 0 0 0.339 0 0 0.511 0 0 0.082 0 0.151 0 0 0 0 0 0 0 0.93 0 0], [0.531 0 0 0.15 0 0 0.54 0 0 0 0 0 0 0 0 0 0.341 0.143 0 0 0 0 0 0 0 0 0.637 0], [0 0 0 0 0 0 0.528 0.597 0.508 0 0 0.314 0 0.743 0 0 0.04 0 0 0.846 0 0.853 0 0 0 0 0 0.43]], 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 15 15 6 7 8 9 10 15 12 15 14 15 16 17 18 19 20 15 22 23 24 15 26 27], [0 25 21 3 15 15 6 13 11 25 13 15 25 15 4 15 16 25 4 13 4 5 5 21 24 15 26 11], [9 25 17 2 15 15 12 13 11 25 13 15 25 15 17 15 1 25 19 13 4 17 5 21 17 15 17 11], [26 25 17 26 15 2 12 13 11 25 13 15 2 15 17 15 1 25 24 2 4 2 2 16 2 15 17 16] | [26 25 17 26 15 21 12 13 22 25 13 15 2 15 12 15 1 25 19 2 3 2 2 21 2 15 17 16]
bellman_ford
mst_prim: s: 7, A: [[0 0 0.681 0 0.349 0 0.2 0 0 0 0 0.376 0 0 0 0 0 0.55 0 0 0 0.219 0 0 0 0 0.217 0], [0 0 0 0 0 0 0.698 0.547 0 0 0 0 0.201 0 0 0 0 0 0 0 0 0 0 0 0 0 0.266 0], [0.681 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.44 0 0 0 0 0], [0 0 0 0.841 0 0.91 0 0 0 0 0.742 0 0 0 0 0 0 0 0 0 0 0.2 0.3 0.422 0 0 0 0], [0.349 0 0 0 0.566 0 0 0 0.712 0.455 0.23 0 0.563 0.093 0 0 0 0.037 0.725 0.524 0 0 0 0 0.643 0.769 0 0], [0 0 0 0.91 0 0.381 0 0 0 0.365 0 0 0 0 0.334 0 0 0 0 0.493 0.561 0.343 0 0 0 0 0 0], [0.2 0.698 0 0 0 0 0.396 0 0 0.44 0 0.322 0 0 0 0 0 0 0 0.505 0 0 0 0 0.304 0 0 0], [0 0.547 0 0 0 0 0 0.513 0 0 0 0 0 0.507 0 0 0 0 0 0.327 0 0 0.83 0 0.747 0 0 0], [0 0 0 0 0.712 0 0 0 0.195 0 0 0 0 0 0 0 0 0 0.326 0.596 0 0 0 0 0 0 0 0], [0 0 0 0 0.455 0.365 0.44 0 0 0 0 0 0 0 0.24 0.268 0 0 0 0 0 0.05 0 0 0 0 0.145 0], [0 0 0 0.742 0.23 0 0 0 0 0 0.906 0 0.229 0 0.409 0 0 0 0.275 0 0.73 0 0 0 0.465 0 0.39 0], [0.376 0 0 0 0 0 0.322 0 0 0 0 0 0 0 0 0.198 0 0 0.725 0.117 0 0 0 0 0 0 0 0], [0 0.201 0 0 0.563 0 0 0 0 0 0.229 0 0.468 0 0.845 0 0 0 0 0 0.246 0.647 0 0 0 0 0.367 0], [0 0 0 0 0.093 0 0 0.507 0 0 0 0 0 0.869 0 0.444 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.334 0 0 0 0.24 0.409 0 0.845 0 0 0 0 0.221 0.351 0.431 0.302 0 0.537 0 0 0.606 0 0.84], [0 0 0 0 0 0 0 0 0 0.268 0 0.198 0 0.444 0 0.606 0 0 0 0.489 0 0 0 0.148 0.76 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.228 0 0 0 0 0 0], [0.55 0 0 0 0.037 0 0 0 0 0 0 0 0 0 0.221 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.725 0 0 0 0.326 0 0.275 0.725 0 0 0.351 0 0 0 0 0 0.547 0 0 0 0 0 0 0], [0 0 0 0 0.524 0.493 0.505 0.327 0.596 0 0 0.117 0 0 0.431 0.489 0 0 0 0.261 0 0 0 0.486 0 0 0 0], [0 0 0 0 0 0.561 0 0 0 0 0.73 0 0.246 0 0.302 0 0 0 0.547 0 0 0 0.289 0 0 0.185 0.161 0], [0.219 0 0 0.2 0 0.343 0 0 0 0.05 0 0 0.647 0 0 0 0.228 0 0 0 0 0.307 0 0 0 0 0 0.408], [0 0 0.44 0.3 0 0 0 0.83 0 0 0 0 0 0 0.537 0 0 0 0 0 0.289 0 0.605 0 0 0 0.275 0], [0 0 0 0.422 0 0 0 0 0 0 0 0 0 0 0 0.148 0 0 0 0.486 0 0 0 0 0 0 0 0], [0 0 0 0 0.643 0 0.304 0.747 0 0 0.465 0 0 0 0 0.76 0 0 0 0 0 0 0 0 0.177 0 0 0], [0 0 0 0 0.769 0 0 0 0 0 0 0 0 0 0.606 0 0 0 0 0 0.185 0 0 0 0 0 0 0], [0.217 0.266 0 0 0 0 0 0 0 0.145 0.39 0 0.367 0 0 0 0 0 0 0 0.161 0 0.275 0 0 0 0.886 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.84 0 0 0 0 0 0 0.408 0 0 0 0 0 0.567]], 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 7 2 3 4 5 6 7 8 9 10 11 12 7 14 15 16 17 18 7 20 21 7 23 7 25 26 27], [0 7 2 3 19 19 19 7 19 9 10 19 12 7 19 19 16 17 18 7 20 21 7 19 7 25 26 27], [11 7 2 3 19 19 11 7 19 9 10 19 12 7 19 11 16 17 11 7 20 21 7 19 7 25 26 27], [11 7 2 3 19 19 11 7 19 15 10 19 12 15 19 11 16 17 11 7 20 21 7 15 7 25 26 27], [11 7 2 23 19 19 11 7 19 15 10 19 12 15 19 11 16 17 11 7 20 21 7 15 7 25 26 27], [11 7 2 23 9 9 11 7 19 15 10 19 12 15 9 11 16 17 11 7 20 9 7 15 7 25 9 27], [21 7 2 21 9 21 11 7 19 15 10 19 21 15 9 11 21 17 11 7 20 9 7 15 7 25 9 21], [26 26 2 21 9 21 11 7 19 15 26 19 26 15 9 11 21 17 11 7 26 9 26 15 7 25 9 21], [26 26 2 21 9 21 11 7 19 15 26 19 20 15 9 11 21 17 20 7 26 9 26 15 7 20 9 21], [26 26 2 21 9 21 11 7 19 15 26 19 20 15 9 11 21 17 20 7 26 9 26 15 7 20 9 21], [26 26 2 21 9 21 11 7 19 15 26 19 20 15 9 11 21 17 20 7 26 9 26 15 7 20 9 21], [26 26 0 21 0 21 0 7 19 15 26 19 20 15 9 11 21 0 20 7 26 9 26 15 7 20 9 21], [26 26 0 21 0 21 0 7 19 15 26 19 20 15 9 11 21 0 20 7 26 9 26 15 6 20 9 21], [26 26 0 21 0 21 0 7 19 15 26 19 20 15 9 11 21 0 20 7 26 9 26 15 6 20 9 21], [26 26 0 21 0 14 0 7 19 15 26 19 20 15 9 11 21 14 14 7 26 9 26 15 6 20 9 21], [26 26 0 21 17 14 0 7 19 15 26 19 20 15 9 11 21 14 14 7 26 9 26 15 6 20 9 21], [26 26 0 21 17 14 0 7 19 15 4 19 20 4 9 11 21 14 14 7 26 9 26 15 6 20 9 21], [26 26 0 21 17 14 0 7 19 15 4 19 20 4 9 11 21 14 14 7 26 9 26 15 6 20 9 21], [26 26 0 21 17 14 0 7 19 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21], [26 12 0 21 17 14 0 7 19 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21], [26 12 0 21 17 14 0 7 19 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21], [26 12 22 21 17 14 0 7 19 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21], [26 12 22 21 17 14 0 7 18 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21], [26 12 22 21 17 14 0 7 18 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21], [26 12 22 21 17 14 0 7 18 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21], [26 12 22 21 17 14 0 7 18 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21], [26 12 22 21 17 14 0 7 18 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21] | [26 12 22 21 17 14 0 7 18 15 4 19 10 4 9 11 21 14 10 7 26 9 26 15 6 20 9 21]
mst_prim
jarvis_march: x: [-1.31 0.576 -1.18 -0.361 0.237 0.462 0.425 1.22 -0.722 0.743 0.583], y: [0.567 1.77 -0.211 1.66 -1.08 -1.18 0.957 1.25 1.11 0.83 -0.866], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[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 1 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 1 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 1 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 1 0 0 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], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 1 0 0 1], [0 1 0 0 0 1 0 1 0 0 1], [0 1 0 0 0 1 0 1 0 0 1], [0 1 0 0 0 1 0 1 0 0 1], [0 1 0 0 0 1 0 1 0 0 1], [0 1 0 0 0 1 0 1 0 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 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 0 0 1], [1 1 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 0 0 1], [1 1 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 0 0 1], [1 1 1 1 1 1 0 1 0 0 1] | [1 1 1 1 1 1 0 1 0 0 1]
jarvis_march
task_scheduling: d: [1 1 2 3], w: [0.708 0.141 0.979 0.059], initial_trace: [0 0 0 0] trace | selected:
[0 0 1 0], [0 0 1 0], [0 0 1 0] | [0 0 1 1]
task_scheduling
jarvis_march: x: [0.674 -0.568 -0.068 0.945 -0.162 0.528 1.87 -1.04 -0.313 -0.193 0.489], y: [-0.926 1.87 0.712 -0.307 -0.171 -1.39 -0.045 -1.53 -0.074 -1.49 -1.19], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 1 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 1 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 1 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 1 0 0 0], [0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 1 0 1 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 0 0 0 0 1 1 1 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 0 0 0 0 1 1 1 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 0 0 0 0 1 1 1 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 0 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0], [0 1 0 0 0 1 1 1 0 1 0] | [0 1 0 0 0 1 1 1 0 1 0]
jarvis_march
dag_shortest_paths: s: 3, A: [[0 0.824 0 0], [0 0 0.464 0], [0 0 0 0], [0 0 0 0]], initial_trace: [0 1 2 3] trace | pi:
[0 1 2 3], [0 1 2 3] | [0 1 2 3]
dag_shortest_paths
minimum: key: [0.459 0.288 0.252 0.751 0.571 0.753 0.61 0.917 0.373 0.605 0.142 0.958 0.73 0.658 0.413 0.744 0.338 0.976 0.792], initial_trace: 0 trace | min:
1, 2, 2, 2, 2, 2, 2, 2, 2, 10, 10, 10, 10, 10, 10, 10, 10 | 10
minimum
mst_kruskal: A: [[0 0 0 0 0], [0 0 0 0 0], [0 0 0.313 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]] 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]]
mst_kruskal
dfs: A: [[0 0 1 1 0 0 1 0 0 0 0 0 0 1 0 1 0 1 1], [1 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 1], [1 0 1 0 0 1 0 1 0 0 0 1 1 1 1 1 0 0 1], [0 0 0 0 0 1 1 0 1 0 0 1 0 1 0 0 1 1 0], [1 1 1 0 0 0 0 0 1 0 0 0 1 0 0 1 0 1 1], [0 1 0 0 0 1 0 0 1 1 1 0 0 1 1 1 1 0 0], [1 0 1 1 1 0 0 0 0 1 1 0 0 1 0 0 1 1 0], [1 1 0 0 0 1 0 1 0 1 1 0 0 1 0 1 1 1 1], [1 1 0 1 1 1 0 0 0 1 0 0 0 1 0 1 0 0 1], [0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0], [1 1 0 0 1 0 0 0 0 1 1 0 0 1 0 1 1 1 1], [1 1 1 0 1 1 1 1 1 0 1 0 0 0 0 1 1 1 0], [0 0 0 0 1 0 0 0 1 0 1 0 0 1 1 0 0 1 0], [0 1 0 0 1 0 0 0 0 1 0 0 0 0 1 1 1 1 1], [1 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 1 1], [0 1 1 1 1 0 1 0 0 0 0 1 0 1 0 1 0 1 1], [1 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 0 1], [0 1 0 0 1 1 0 1 1 0 1 0 0 1 0 0 0 1 0], [0 0 1 0 1 0 0 0 0 0 1 0 0 1 0 0 1 1 1]], 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 0 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 0 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 0 3 4 2 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 0 3 4 2 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 5 0 3 4 2 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 5 0 3 4 2 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 5 0 3 4 2 6 7 1 9 10 11 12 13 14 15 16 17 18], [0 5 0 3 4 2 6 7 1 9 10 11 12 13 14 15 16 17 18], [0 5 0 8 4 2 6 7 1 9 10 11 12 13 14 15 16 17 18], [0 5 0 8 4 2 6 7 1 9 10 11 12 13 14 15 16 17 18], [0 5 0 8 4 2 3 7 1 9 10 11 12 13 14 15 16 17 18], [0 5 0 8 4 2 3 7 1 9 10 11 12 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 9 10 11 12 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 9 10 11 12 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 9 10 11 4 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 9 10 11 4 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 9 12 11 4 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 9 12 11 4 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 10 12 11 4 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 10 12 11 4 13 14 15 16 17 18], [0 5 0 8 6 2 3 7 1 10 12 11 4 13 9 15 16 17 18], [0 5 0 8 6 2 3 7 1 10 12 11 4 13 9 15 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 11 4 13 9 15 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 11 4 13 9 15 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 11 4 7 9 15 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 11 4 7 9 15 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 11 4 7 9 13 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 11 4 7 9 13 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 16 17 18], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 17 18], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 17 18], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 17 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 17 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16], [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16] | [0 5 0 8 6 2 3 14 1 10 12 15 4 7 9 13 11 18 16]
dfs
dag_shortest_paths: s: 2, A: [[0 0.548 0.653 0], [0 0 0 0], [0 0 0 0.279], [0 0.909 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 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 2] | [0 3 2 2]
dag_shortest_paths
quickselect: key: [0.302 0.321 0.902 0.454 0.97 0.15 0.587 0.134 0.973 0.519 0.006 0.314 0.766 0.171 0.229 0.342 0.08 0.705 0.704 0.62 0.141 0.769 0.827 0.899 0.059 0.201 0.402 0.768], initial_trace: 27 trace | pivot:
27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 12, 12, 12, 12, 12, 12, 12, 3, 3, 3, 3, 3 | 3
quickselect
graham_scan: x: [-1.11 0.575 1.77 -0.6 0.244 0.698 1.83 0.233 -1.69 1.17 -0.208 1.93 -1.25 -0.486 -1.54 0.12 -0.773 -1.16 1.12 -0.727 0.897 0.802 1.2 0.431 -0.936 0.636 -0.97 0.233], y: [-0.069 -0.918 -0.299 1.08 0.48 -0.146 0.309 1.38 -0.908 0.22 -1.34 -0.259 -1.05 -0.887 0.688 -0.866 -0.372 1.18 -0.756 1.36 -0.092 -0.964 0.228 -0.105 0.936 0.488 -0.505 1.29], init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 0 0 0 0 0 0 0 0 0 0 0 0 0.0597 0], [0.00786 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.209 0 0], [0.964 0 0 0 0 0 0 0 0 0 0 0.0434 0 0 0 0 0 0 0], [0.867 0 0 0 0.741 0 0.71 0.902 0 0 0 0 0 0 0 0 0 0.725 0], [0.67 0.884 0 0 0 0 0.274 0.986 0 0.577 0 0.484 0.67 0.584 0 0 0 0.0189 0.798], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.238 0 0 0.433 0 0 0 0 0 0 0 0 0.493 0 0], [0 0 0 0 0 0 0 0 0 0.563 0 0 0.979 0 0 0 0 0 0], [0.145 0.541 0 0.832 0.828 0 0.725 0.327 0 0.13 0 0.0767 0.638 0 0 0 0.894 0 0], [0 0.865 0.677 0 0 0 0.249 0 0 0 0.893 0 0 0 0 0 0.487 0.123 0.615], [0 0 0 0 0.708 0 0 0 0 0 0 0.753 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.958 0 0.191 0 0.573 0.881 0 0 0.29 0.225 0 0.271 0 0 0 0 0.254 0.545 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 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 1 5 1 7 8 9 10 1 1 13 14 15 1 1 18], [0 1 2 3 1 5 1 12 8 9 10 1 1 13 14 15 1 1 18], [7 1 2 3 1 5 1 12 8 9 10 1 1 13 14 15 1 1 18], [7 1 2 3 1 5 1 12 8 9 10 16 1 13 14 15 1 1 18], [6 1 6 3 1 5 1 12 8 9 10 16 1 13 14 15 1 6 18], [6 1 6 3 1 5 1 12 2 9 10 16 1 13 14 15 1 6 18], [6 1 6 3 1 5 1 12 2 9 10 16 1 13 14 15 1 6 18], [6 1 6 3 1 5 1 12 2 9 10 8 1 13 14 15 1 6 18], [6 1 6 3 1 5 1 12 2 9 10 8 1 13 14 15 1 6 18] | [6 1 6 3 1 5 1 12 2 9 10 8 1 13 14 15 1 6 18]
dag_shortest_paths
bfs: s: 6, A: [[0 0 0 0 0 0 0 1 0 0 1], [0 1 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 1 1 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 0 0 0 0 1 0 0 0 0], [1 1 1 1 1 0 0 1 0 0 0], [0 0 0 1 0 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 1 1 1], [1 0 0 0 0 0 0 0 0 1 1]], 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]
bfs
task_scheduling: d: [11 12 5 6 6 7 8 12 10 6 8 3], w: [0.005 0.76 0.535 0.593 0.599 0.953 0.189 0.264 0.581 0.988 0.702 0.71], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 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 0 0 0 1 0 0], [0 1 0 0 0 1 0 0 0 1 0 0], [0 1 0 0 0 1 0 0 0 1 1 0], [0 1 0 0 1 1 0 0 0 1 1 0], [0 1 0 1 1 1 0 0 0 1 1 0], [0 1 0 1 1 1 0 0 1 1 1 0], [0 1 0 1 1 1 0 0 1 1 1 0], [0 1 0 1 1 1 0 1 1 1 1 0], [0 1 0 1 1 1 0 1 1 1 1 0] | [1 1 0 1 1 1 0 1 1 1 1 0]
task_scheduling
dfs: A: [[0 1 1 0 0], [1 1 0 1 1], [1 1 1 0 1], [0 1 0 0 0], [0 1 1 1 0]], initial_trace: [0 1 2 3 4] trace | pi:
[0 1 2 3 4], [0 0 2 3 4], [0 0 2 3 4], [0 0 2 1 4], [0 0 2 1 4], [0 0 2 1 4], [0 0 2 1 1], [0 0 2 1 1], [0 0 4 1 1], [0 0 4 1 1], [0 0 4 1 1], [0 0 4 1 1], [0 0 4 1 1] | [0 0 4 1 1]
dfs
bfs: s: 0, A: [[1 1 0 0], [1 1 0 0], [0 0 0 0], [0 0 0 1]], initial_trace: [0 1 2 3] trace | pi:
| [0 0 2 3]
bfs
segments_intersect: x: [0.678 0.036 0.001 0.219], y: [0.98 0.525 0.988 0.817] intersect:
0
segments_intersect
quickselect: key: [0.242 0.931 0.805 0.51 0.541 0.511 0.715 0.64 0.816 0.525 0.894 0.083 0.79 0.88 0.789 0.119 0.515 0.127 0.666], initial_trace: 18 trace | pivot:
18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 4, 4, 4, 4, 4, 4, 4 | 7
quickselect
insertion_sort: key: [0.909 0.626 0.287 0.037 0.377], initial_trace: [0.909 0.626 0.287 0.037 0.377] trace | pred:
[0.626 0.909 0.287 0.037 0.377], [0.287 0.626 0.909 0.037 0.377], [0.037 0.287 0.626 0.909 0.377] | [0.037 0.287 0.377 0.626 0.909]
insertion_sort
find_maximum_subarray_kadane: key: [-0.569 -0.713 0.364 0.081 -0.077], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (2, 2), (2, 3) | (2, 3)
find_maximum_subarray_kadane
dfs: A: [[1 0 1 0], [1 0 1 0], [0 1 0 1], [0 1 1 0]], initial_trace: [0 1 2 3] trace | pi:
[0 1 2 3], [0 1 0 3], [0 1 0 3], [0 2 0 3], [0 2 0 3], [0 2 0 3], [0 2 0 2], [0 2 0 2], [0 2 0 2], [0 2 0 2] | [0 2 0 2]
dfs
dfs: A: [[0 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 0 0 0 1 0 1], [1 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 0 1 0], [0 1 0 1 1 0 0 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 1], [1 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 0 1 1 1 0], [1 1 0 0 1 0 0 1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 1], [0 0 1 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 1 0 0], [1 0 0 1 1 1 0 1 1 1 1 0 0 1 0 0 1 1 1 1 0 0 0], [1 0 1 0 0 1 1 1 1 0 1 0 0 0 0 1 1 1 0 0 1 1 1], [0 1 0 1 1 1 0 1 1 0 0 1 1 0 0 1 0 0 1 0 0 0 0], [1 0 1 1 1 1 1 1 1 1 0 0 1 0 0 0 1 0 0 1 1 0 0], [0 1 1 0 0 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 1], [1 0 1 0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [1 0 0 1 0 1 1 1 1 0 1 1 1 1 1 0 0 1 1 0 0 0 1], [1 1 0 0 1 1 0 1 1 1 1 1 0 1 1 1 1 0 0 1 0 0 1], [0 1 1 1 1 1 1 0 1 1 1 0 0 1 0 0 1 0 0 1 0 0 1], [0 0 0 1 1 1 0 1 0 0 1 1 0 0 0 1 1 0 0 1 0 1 0], [1 0 1 0 1 0 1 0 1 1 1 0 1 0 0 1 1 1 1 1 1 1 1], [0 1 1 0 1 0 1 0 0 1 0 1 0 1 1 1 1 0 0 0 1 0 0], [0 1 0 0 0 1 1 1 0 1 1 1 1 0 1 1 0 0 0 1 1 1 0], [1 1 0 0 1 1 1 0 1 0 1 0 1 1 1 0 1 1 0 1 1 1 1], [1 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 0 0 1 1 0 1 0], [0 1 1 0 0 0 1 1 0 1 1 1 1 1 0 1 1 1 0 1 1 1 0], [1 0 1 1 1 0 0 0 1 0 1 0 0 1 0 1 1 0 0 1 0 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 1 2 3 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 2 3 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 2 3 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 2 3 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 3 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 3 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 4 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 5 6 7 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 5 6 4 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 5 6 4 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 6 4 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 6 4 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 10 11 9 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 10 11 9 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 11 9 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 11 9 13 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 11 9 10 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 11 9 10 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 14 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 15 16 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 15 14 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 15 14 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 17 18 19 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 17 18 15 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 17 18 15 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 18 15 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 18 15 20 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 18 15 17 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 18 15 17 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 21 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 22], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19], [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19] | [0 8 1 2 3 7 5 4 0 6 12 13 9 10 13 16 14 19 20 15 17 18 19]
dfs
jarvis_march: x: [-0.67 -0.917 -0.576 0.715 0.952 -0.539 0.458 1.13 -0.106 0.49], y: [1.82 -0.554 -1.02 -1.2 0.237 1.32 0.875 -0.247 1.65 -1.63], initial_trace: [0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[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 1 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 1 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 1 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 1 0 0 0 0 0 1], [0 0 0 1 0 0 0 0 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [0 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 0 1 1 0 0 1 1 1], [1 0 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 1], [1 1 0 1 1 0 0 1 1 1], [1 1 0 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1], [1 1 1 1 1 0 0 1 1 1] | [1 1 1 1 1 0 0 1 1 1]
jarvis_march
task_scheduling: d: [1 4 4 2], w: [0.153 0.437 0.566 0.278], initial_trace: [0 0 0 0] trace | selected:
[0 0 1 0], [0 1 1 0], [0 1 1 0] | [0 1 1 0]
task_scheduling
floyd_warshall: A: [[0.577 0 0 0], [0 0 0 0], [0 0 0 0.273], [0 0 0.273 0.496]], 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 2], [3 3 3 3]], [[0 0 0 0], [1 1 1 1], [2 2 2 2], [3 3 3 3]] | [[0 0 0 0], [1 1 1 1], [2 2 2 2], [3 3 3 3]]
floyd_warshall
task_scheduling: d: [1 3 4 4 1], w: [0.668 0.701 0.528 0.918 0.323], initial_trace: [0 0 0 0 0] trace | selected:
[0 0 0 1 0], [0 1 0 1 0], [0 1 0 1 0], [0 1 1 1 0] | [0 1 1 1 0]
task_scheduling
mst_prim: s: 10, A: [[0 0.734 0 0 0 0 0.491 0.218 0 0 0.554 0 0 0 0.731 0 0 0 0], [0.734 0.658 0 0 0.748 0 0 0.201 0 0.264 0 0.783 0 0.897 0 0 0 0 0], [0 0 0 0 0 0 0.929 0 0.77 0 0 0 0.324 0 0.216 0 0 0 0.3], [0 0 0 0 0.101 0.427 0.4 0 0 0 0.572 0 0 0 0 0 0 0 0], [0 0.748 0 0.101 0.364 0.226 0 0 0 0 0.798 0 0 0 0 0 0.458 0.305 0], [0 0 0 0.427 0.226 0.692 0.598 0 0 0.651 0 0.734 0 0 0 0.836 0 0 0], [0.491 0 0.929 0.4 0 0.598 0 0 0 0 0 0.124 0.36 0.455 0.204 0 0.748 0 0], [0.218 0.201 0 0 0 0 0 0.682 0 0.041 0.61 0.199 0 0 0 0.606 0 0.047 0], [0 0 0.77 0 0 0 0 0 0.333 0.342 0 0.625 0 0 0 0 0 0.185 0], [0 0.264 0 0 0 0.651 0 0.041 0.342 0 0 0.174 0 0.704 0 0 0.176 0 0], [0.554 0 0 0.572 0.798 0 0 0.61 0 0 0.697 0 0 0 0 0 0 0.17 0], [0 0.783 0 0 0 0.734 0.124 0.199 0.625 0.174 0 0.12 0 0 0 0 0.473 0 0], [0 0 0.324 0 0 0 0.36 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.897 0 0 0 0 0.455 0 0 0.704 0 0 0 0 0.829 0 0 0 0], [0.731 0 0.216 0 0 0 0.204 0 0 0 0 0 0 0.829 0 0 0.494 0.871 0], [0 0 0 0 0 0.836 0 0.606 0 0 0 0 0 0 0 0.796 0 0.816 0], [0 0 0 0 0.458 0 0.748 0 0 0.176 0 0.473 0 0 0.494 0 0 0.575 0], [0 0 0 0 0.305 0 0 0.047 0.185 0 0.17 0 0 0 0.871 0.816 0.575 0.264 0], [0 0 0.3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.738]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18] trace | pi:
[10 1 2 10 10 5 6 10 8 9 10 11 12 13 14 15 16 10 18], [10 1 2 10 17 5 6 17 17 9 10 11 12 13 17 17 17 10 18], [7 7 2 10 17 5 6 17 17 7 10 7 12 13 17 7 17 10 18], [7 7 2 10 17 9 6 17 17 7 10 9 12 9 17 7 9 10 18], [7 7 2 10 17 9 11 17 17 7 10 9 12 9 17 7 9 10 18], [7 7 6 6 17 6 11 17 17 7 10 9 6 6 6 7 9 10 18], [7 7 6 6 17 6 11 17 17 7 10 9 6 6 6 7 9 10 18], [7 7 8 6 17 6 11 17 17 7 10 9 6 6 6 7 9 10 18], [7 7 8 6 17 6 11 17 17 7 10 9 6 6 6 7 9 10 18], [7 7 14 6 17 6 11 17 17 7 10 9 6 6 6 7 9 10 18], [7 7 14 6 17 6 11 17 17 7 10 9 2 6 6 7 9 10 2], [7 7 14 6 17 6 11 17 17 7 10 9 2 6 6 7 9 10 2], [7 7 14 6 17 6 11 17 17 7 10 9 2 6 6 7 9 10 2], [7 7 14 4 17 4 11 17 17 7 10 9 2 6 6 7 9 10 2], [7 7 14 4 17 4 11 17 17 7 10 9 2 6 6 7 9 10 2], [7 7 14 4 17 4 11 17 17 7 10 9 2 6 6 7 9 10 2], [7 7 14 4 17 4 11 17 17 7 10 9 2 6 6 7 9 10 2], [7 7 14 4 17 4 11 17 17 7 10 9 2 6 6 7 9 10 2] | [7 7 14 4 17 4 11 17 17 7 10 9 2 6 6 7 9 10 2]
mst_prim
dijkstra: s: 13, A: [[0 0.532 0 0 0 0 0 0.321 0 0.436 0 0 0 0.776 0 0 0 0.437 0.655], [0.532 0 0.831 0.081 0 0 0 0 0.368 0 0 0 0 0 0 0 0.652 0 0], [0 0.831 0.857 0.79 0 0 0.157 0 0.167 0 0 0 0 0.715 0 0 0 0 0], [0 0.081 0.79 0 0 0 0 0 0 0 0 0.406 0 0 0.541 0 0 0 0], [0 0 0 0 0 0.41 0 0 0.265 0.483 0 0 0 0 0 0.429 0 0.433 0.162], [0 0 0 0 0.41 0.685 0 0 0 0.283 0 0 0 0 0 0.628 0 0 0], [0 0 0.157 0 0 0 0.033 0.775 0 0 0 0.239 0 0 0 0 0.218 0 0.242], [0.321 0 0 0 0 0 0.775 0.037 0 0 0 0 0 0 0 0 0 0 0], [0 0.368 0.167 0 0.265 0 0 0 0 0 0 0 0 0 0 0 0.193 0 0], [0.436 0 0 0 0.483 0.283 0 0 0 0.728 0 0 0 0.092 0 0 0 0.425 0], [0 0 0 0 0 0 0 0 0 0 0.636 0 0 0 0.367 0.448 0 0 0], [0 0 0 0.406 0 0 0.239 0 0 0 0 0.599 0.937 0.239 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.937 0.201 0 0 0.728 0 0.495 0], [0.776 0 0.715 0 0 0 0 0 0 0.092 0 0.239 0 0.753 0 0.354 0 0.404 0], [0 0 0 0.541 0 0 0 0 0 0 0.367 0 0 0 0 0 0 0.757 0], [0 0 0 0 0.429 0.628 0 0 0 0 0.448 0 0.728 0.354 0 0.048 0 0.234 0.603], [0 0.652 0 0 0 0 0.218 0 0.193 0 0 0 0 0 0 0 0 0 0.204], [0.437 0 0 0 0.433 0 0 0 0 0.425 0 0 0.495 0.404 0.757 0.234 0 0 0], [0.655 0 0 0 0.162 0 0.242 0 0 0 0 0 0 0 0 0.603 0.204 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:
[13 1 13 3 4 5 6 7 8 13 10 13 12 13 14 13 16 13 18], [9 1 13 3 9 9 6 7 8 13 10 13 12 13 14 13 16 13 18], [9 1 13 11 9 9 11 7 8 13 10 13 11 13 14 13 16 13 18], [9 1 13 11 9 9 11 7 8 13 15 13 15 13 14 13 16 13 15], [9 1 13 11 9 9 11 7 8 13 15 13 15 13 14 13 16 13 15], [9 1 13 11 9 9 11 7 8 13 15 13 17 13 17 13 16 13 15], [9 1 6 11 9 9 11 6 8 13 15 13 17 13 17 13 6 13 6], [9 0 6 11 9 9 11 0 8 13 15 13 17 13 17 13 6 13 6], [9 0 6 11 9 9 11 0 4 13 15 13 17 13 17 13 6 13 6], [9 0 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6], [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6], [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6], [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6], [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6], [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6], [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6], [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6], [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6] | [9 3 6 11 9 9 11 0 2 13 15 13 17 13 17 13 6 13 6]
dijkstra
task_scheduling: d: [19 7 8 15 9 21 6 6 19 10 23 3 12 26 27 28 7 8 20 27 10 26 12 5 8 17 11 24 28 10 7], w: [0.902 0.046 0.81 0.828 0.551 0.663 0.676 0.006 0.835 0.289 0.703 0.034 0.208 0.332 0.485 0.217 0.694 0.883 0.616 0.529 0.189 0.688 0.717 0.034 0.144 0.564 0.074 0.894 0.033 0.281 0.703], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 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309], initial_trace: 0 trace | min:
0, 0, 3, 3, 3, 6, 6, 8 | 8
minimum
binary_search: key: [0.032 0.037 0.116 0.146 0.171 0.254 0.308 0.44 0.494 0.519 0.541 0.585 0.64 0.646 0.746 0.756 0.838 0.839 0.865 0.9 0.913 0.941 0.951], target: 0.797, initial_trace: (0, 22) trace | (low, high):
(12, 22), (12, 17), (15, 17), (15, 16) | (16, 16)
binary_search
lcs_length: string: [0 0 0 1 1], key: [0 1 2 1 0], initial_trace: [[-1 -1 -1 1 0], [-1 -1 -1 0 0], [-1 -1 -1 1 0], [-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1]] trace | b:
| [[-1 -1 -1 1 0], [-1 -1 -1 0 1], [-1 -1 -1 1 1], [-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1]]
lcs_length
insertion_sort: key: [0.95 0.291 0.477 0.185 0.326 0.482 0.897 0.29 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], initial_trace: [0.95 0.291 0.477 0.185 0.326 0.482 0.897 0.29 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483] trace | pred:
[0.291 0.95 0.477 0.185 0.326 0.482 0.897 0.29 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.291 0.477 0.95 0.185 0.326 0.482 0.897 0.29 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.185 0.291 0.477 0.95 0.326 0.482 0.897 0.29 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.185 0.291 0.326 0.477 0.95 0.482 0.897 0.29 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.185 0.291 0.326 0.477 0.482 0.95 0.897 0.29 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.185 0.291 0.326 0.477 0.482 0.897 0.95 0.29 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.185 0.29 0.291 0.326 0.477 0.482 0.897 0.95 0.165 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.29 0.291 0.326 0.477 0.482 0.897 0.95 0.935 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.29 0.291 0.326 0.477 0.482 0.897 0.935 0.95 0.648 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.29 0.291 0.326 0.477 0.482 0.648 0.897 0.935 0.95 0.433 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.29 0.291 0.326 0.433 0.477 0.482 0.648 0.897 0.935 0.95 0.247 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.247 0.29 0.291 0.326 0.433 0.477 0.482 0.648 0.897 0.935 0.95 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.247 0.29 0.291 0.326 0.433 0.477 0.482 0.648 0.897 0.935 0.95 0.951 0.674 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.247 0.29 0.291 0.326 0.433 0.477 0.482 0.648 0.674 0.897 0.935 0.95 0.951 0.406 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.247 0.29 0.291 0.326 0.406 0.433 0.477 0.482 0.648 0.674 0.897 0.935 0.95 0.951 0.261 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.247 0.261 0.29 0.291 0.326 0.406 0.433 0.477 0.482 0.648 0.674 0.897 0.935 0.95 0.951 0.962 0.043 0.546 0.373 0.949 0.483], [0.165 0.185 0.247 0.261 0.29 0.291 0.326 0.406 0.433 0.477 0.482 0.648 0.674 0.897 0.935 0.95 0.951 0.962 0.043 0.546 0.373 0.949 0.483], [0.043 0.165 0.185 0.247 0.261 0.29 0.291 0.326 0.406 0.433 0.477 0.482 0.648 0.674 0.897 0.935 0.95 0.951 0.962 0.546 0.373 0.949 0.483], [0.043 0.165 0.185 0.247 0.261 0.29 0.291 0.326 0.406 0.433 0.477 0.482 0.546 0.648 0.674 0.897 0.935 0.95 0.951 0.962 0.373 0.949 0.483], [0.043 0.165 0.185 0.247 0.261 0.29 0.291 0.326 0.373 0.406 0.433 0.477 0.482 0.546 0.648 0.674 0.897 0.935 0.95 0.951 0.962 0.949 0.483], [0.043 0.165 0.185 0.247 0.261 0.29 0.291 0.326 0.373 0.406 0.433 0.477 0.482 0.546 0.648 0.674 0.897 0.935 0.949 0.95 0.951 0.962 0.483] | [0.043 0.165 0.185 0.247 0.261 0.29 0.291 0.326 0.373 0.406 0.433 0.477 0.482 0.483 0.546 0.648 0.674 0.897 0.935 0.949 0.95 0.951 0.962]
insertion_sort
bfs: s: 2, A: [[0 1 0 0], [1 0 0 0], [0 0 0 0], [0 0 0 0]], initial_trace: [0 1 2 3] trace | pi:
| [0 1 2 3]
bfs
dijkstra: s: 4, A: [[0.204 0 0.469 0.487 0 0.673 0 0 0 0.383 0.282], [0 0 0 0.241 0 0.167 0 0.436 0.846 0.573 0], [0.469 0 0 0.106 0.437 0 0 0 0 0 0.199], [0.487 0.241 0.106 0.815 0 0 0 0.346 0 0 0], [0 0 0.437 0 0 0 0 0.683 0.108 0 0], [0.673 0.167 0 0 0 0.672 0 0 0 0 0], [0 0 0 0 0 0 0.298 0 0 0 0.508], [0 0.436 0 0.346 0.683 0 0 0 0 0 0], [0 0.846 0 0 0.108 0 0 0 0 0 0], [0.383 0.573 0 0 0 0 0 0 0 0 0.191], [0.282 0 0.199 0 0 0 0.508 0 0 0.191 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 1 4 3 4 5 6 4 4 9 10], [0 8 4 3 4 5 6 4 4 9 10], [2 8 4 2 4 5 6 4 4 9 2], [2 3 4 2 4 5 6 4 4 9 2], [2 3 4 2 4 5 10 4 4 10 2], [2 3 4 2 4 5 10 4 4 10 2], [2 3 4 2 4 1 10 4 4 10 2], [2 3 4 2 4 1 10 4 4 10 2], [2 3 4 2 4 1 10 4 4 10 2], [2 3 4 2 4 1 10 4 4 10 2] | [2 3 4 2 4 1 10 4 4 10 2]
dijkstra
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]], initial_trace: [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]
articulation_points