Datasets:

question
stringlengths
65
3.42k
answer
stringlengths
3
5.8k
algo_name
stringclasses
30 values
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 1 1], key: [3 2 0 3 0 2 0 3 2 3 3 0], initial_trace: 0 trace | s:
0, 1, 2, 3 | 3
naive_string_matcher
activity_selector: s: [0.499 0.297 0.745 0.251 0.333 0.199 0.943 0.802 0.259 0.348 0.622 0.047 0.147 0.656 0.57 0.534 0.372 0.706 0.339 0.099 0.408 0.49 0.203], f: [0.895 0.903 0.94 0.719 0.344 0.384 0.961 0.868 0.421 0.735 0.944 0.805 0.346 0.731 0.888 0.996 0.711 0.888 0.889 0.85 0.481 0.746 0.633], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 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 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 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 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 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 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 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 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0] | [0 0 0 0 1 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0]
activity_selector
minimum: key: [0.157 0.06 0.018 0.24 0.415 0.287 0.801 0.64 0.208 0.927 0.991 0.257 0.378 0.402 0.848 0.472 0.413 0.283 0.622 0.275 0.855 0.515 0.082 0.959 0.466 0.375 0.386 0.5], initial_trace: 0 trace | min:
1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 | 2
minimum
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: [2 3 0 2 1 1 1 2 1 2 3 2 0 1 0 3 0 0 2 3 1 0 3 1 2 3 2 0], initial_trace: 0 trace | s:
1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 7, 8, 8, 8, 8 | 8
naive_string_matcher
mst_kruskal: A: [[0 0.0576 0 0], [0.0576 0 0 0], [0 0 0 0], [0 0 0 0]], initial_trace: [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]] trace | in_mst:
[[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]] | [[0 1 0 0], [1 0 0 0], [0 0 0 0], [0 0 0 0]]
mst_kruskal
strongly_connected_components: A: [[1 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 1 1 0 0 0], [0 0 0 0 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 0 0 0 1], [0 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 1 0 0], [0 0 1 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 1]], 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 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 3 8 9 10 11], [0 1 2 3 4 5 6 3 8 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11], [0 1 2 3 4 5 6 3 3 9 10 11] | [0 1 2 3 4 5 6 3 3 9 10 11]
strongly_connected_components
task_scheduling: d: [17 21 20 6 19 18 18 18 2 22 6 21 22 13 3 21 15 23 17 16 18 23 1], w: [0.165 0.06 0.441 0.987 0.556 0.342 0.724 0.77 0.951 0.007 0.911 0.54 0.226 0.369 0.526 0.066 0.179 0.932 0.879 0.646 0.854 0.112 0.955], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 0 1 0 0], [0 0 0 1 0 0 0 1 1 0 1 0 0 0 0 0 0 1 1 0 1 0 0], [0 0 0 1 0 0 1 1 1 0 1 0 0 0 0 0 0 1 1 0 1 0 0], [0 0 0 1 0 0 1 1 1 0 1 0 0 0 0 0 0 1 1 1 1 0 0], [0 0 0 1 1 0 1 1 1 0 1 0 0 0 0 0 0 1 1 1 1 0 0], [0 0 0 1 1 0 1 1 1 0 1 1 0 0 0 0 0 1 1 1 1 0 0], [0 0 0 1 1 0 1 1 1 0 1 1 0 0 0 0 0 1 1 1 1 0 0], [0 0 1 1 1 0 1 1 1 0 1 1 0 0 0 0 0 1 1 1 1 0 0], [0 0 1 1 1 0 1 1 1 0 1 1 0 1 0 0 0 1 1 1 1 0 0], [0 0 1 1 1 1 1 1 1 0 1 1 0 1 0 0 0 1 1 1 1 0 0], [0 0 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 1 1 1 1 0 0], [0 0 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 1 1 1 1 0 0], [1 0 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 1 1 1 1 0 0], [1 0 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 1 1 1 1 1 0], [1 0 1 1 1 1 1 1 1 0 1 1 1 1 0 1 0 1 1 1 1 1 0], [1 1 1 1 1 1 1 1 1 0 1 1 1 1 0 1 0 1 1 1 1 1 0] | [1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 1 1 1 1 1 0]
task_scheduling
segments_intersect: x: [0.174 0.967 0.636 0.417], y: [0.687 0.333 0.118 0.596] intersect:
1
segments_intersect
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1], key: [2 3 2 3 2 3 2 2 0 1 3 3 2 3 2 3 1 0 0 3 1 1 3 3 2 3 2 3], initial_trace: 0 trace | s:
1, 1, 1, 1 | 1
naive_string_matcher
optimal_bst: p: [0.01 0.05 0.106 0.103 0.02 0], q: [0.14 0.036 0.251 0.123 0.103 0.057], 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]] trace | root:
[[0 0 0 0 0 0], [0 0 1 0 0 0], [0 0 0 2 0 0], [0 0 0 0 3 0], [0 0 0 0 0 4], [0 0 0 0 0 0]], [[0 0 1 0 0 0], [0 0 1 2 0 0], [0 0 0 2 2 0], [0 0 0 0 3 3], [0 0 0 0 0 4], [0 0 0 0 0 0]], [[0 0 1 1 0 0], [0 0 1 2 2 0], [0 0 0 2 2 2], [0 0 0 0 3 3], [0 0 0 0 0 4], [0 0 0 0 0 0]], [[0 0 1 1 2 0], [0 0 1 2 2 2], [0 0 0 2 2 2], [0 0 0 0 3 3], [0 0 0 0 0 4], [0 0 0 0 0 0]] | [[0 0 1 1 2 2], [0 0 1 2 2 2], [0 0 0 2 2 2], [0 0 0 0 3 3], [0 0 0 0 0 4], [0 0 0 0 0 0]]
optimal_bst
bfs: s: 10, A: [[0 0 1 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [1 0 1 0 0 1 0 0 1 0 0 0], [0 0 0 0 0 1 0 1 1 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0], [0 1 1 1 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 1 1 0 0], [1 0 0 1 0 0 0 1 0 0 0 1], [0 0 1 1 0 0 1 0 1 1 0 0], [0 0 0 0 0 1 1 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 1 0 0 0 1]], 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]
bfs
dfs: A: [[1 1 1 0 1 0 0 0 0 0], [1 1 1 1 0 1 0 0 0 0], [0 0 1 0 1 0 1 1 1 1], [1 1 1 0 0 1 0 1 1 0], [0 1 1 0 1 1 0 0 0 0], [0 1 0 0 0 0 1 0 1 1], [0 0 0 1 0 1 0 0 1 0], [1 0 1 0 1 0 0 0 0 1], [1 0 0 1 1 1 1 1 1 1], [1 1 1 0 0 1 0 1 1 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9] trace | pi:
[0 1 2 3 4 5 6 7 8 9], [0 0 2 3 4 5 6 7 8 9], [0 0 2 3 4 5 6 7 8 9], [0 0 1 3 4 5 6 7 8 9], [0 0 1 3 4 5 6 7 8 9], [0 0 1 3 2 5 6 7 8 9], [0 0 1 3 2 5 6 7 8 9], [0 0 1 3 2 4 6 7 8 9], [0 0 1 3 2 4 6 7 8 9], [0 0 1 3 2 4 5 7 8 9], [0 0 1 3 2 4 5 7 8 9], [0 0 1 6 2 4 5 7 8 9], [0 0 1 6 2 4 5 7 8 9], [0 0 1 6 2 4 5 3 8 9], [0 0 1 6 2 4 5 3 8 9], [0 0 1 6 2 4 5 3 8 7], [0 0 1 6 2 4 5 3 8 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7], [0 0 1 6 2 4 5 3 9 7] | [0 0 1 6 2 4 5 3 9 7]
dfs
segments_intersect: x: [0.557 0.356 0.362 0.456], y: [0.099 0.224 0.216 0.552] intersect:
1
segments_intersect
dfs: A: [[1 1 0 0 1 0 1 0 1 0 0 0], [0 1 0 0 1 0 0 1 1 0 0 1], [1 1 1 0 0 1 0 0 1 1 0 1], [0 0 1 1 1 1 0 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 0 1], [1 0 0 1 0 1 0 0 0 1 1 1], [0 0 0 0 0 0 1 0 0 1 0 1], [1 1 1 1 1 1 1 1 0 0 1 1], [0 0 1 0 0 1 0 0 1 0 1 1], [0 0 0 0 0 0 1 0 0 1 0 0], [0 0 1 1 0 0 1 0 1 1 1 1], [1 0 0 0 0 0 0 1 0 1 1 1]], 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 0 2 3 4 5 6 7 8 9 10 11], [0 0 2 3 4 5 6 7 8 9 10 11], [0 0 2 3 1 5 6 7 8 9 10 11], [0 0 2 3 1 5 6 7 8 9 10 11], [0 0 4 3 1 5 6 7 8 9 10 11], [0 0 4 3 1 5 6 7 8 9 10 11], [0 0 4 3 1 2 6 7 8 9 10 11], [0 0 4 3 1 2 6 7 8 9 10 11], [0 0 4 5 1 2 6 7 8 9 10 11], [0 0 4 5 1 2 6 7 8 9 10 11], [0 0 4 5 1 2 6 3 8 9 10 11], [0 0 4 5 1 2 6 3 8 9 10 11], [0 0 4 5 1 2 7 3 8 9 10 11], [0 0 4 5 1 2 7 3 8 9 10 11], [0 0 4 5 1 2 7 3 8 6 10 11], [0 0 4 5 1 2 7 3 8 6 10 11], [0 0 4 5 1 2 7 3 8 6 10 11], [0 0 4 5 1 2 7 3 8 6 10 6], [0 0 4 5 1 2 7 3 8 6 10 6], [0 0 4 5 1 2 7 3 8 6 11 6], [0 0 4 5 1 2 7 3 8 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6], [0 0 4 5 1 2 7 3 10 6 11 6] | [0 0 4 5 1 2 7 3 10 6 11 6]
dfs
dfs: A: [[1 1 0 1 1 1 0 1 1 0 0 1 0 1 1], [1 1 1 0 0 0 1 1 1 1 1 1 1 0 0], [0 0 0 1 1 0 0 0 0 0 1 1 0 1 1], [0 0 1 1 0 0 1 0 1 1 1 1 0 0 1], [1 1 0 1 0 0 1 1 1 0 1 1 0 1 1], [0 1 1 1 1 1 0 1 1 1 1 0 1 0 1], [1 1 0 1 0 1 0 0 1 1 1 1 1 0 0], [1 1 1 1 1 1 1 0 0 0 1 0 1 1 0], [0 0 0 1 0 1 1 1 1 1 0 0 0 1 1], [1 0 0 1 0 0 1 0 1 1 0 0 0 0 1], [0 0 1 1 0 1 0 1 0 0 0 1 0 0 0], [0 1 1 0 0 0 1 1 0 1 0 0 0 0 0], [1 0 1 0 1 0 1 0 1 0 0 1 1 1 0], [0 1 0 0 1 0 0 1 1 1 0 1 1 1 1], [1 1 1 0 0 0 1 0 0 0 1 0 1 0 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 13 14], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 0 1 3 4 5 6 7 8 9 10 11 12 13 14], [0 0 1 3 4 5 6 7 8 9 10 11 12 13 14], [0 0 1 2 4 5 6 7 8 9 10 11 12 13 14], [0 0 1 2 4 5 6 7 8 9 10 11 12 13 14], [0 0 1 2 4 5 3 7 8 9 10 11 12 13 14], [0 0 1 2 4 5 3 7 8 9 10 11 12 13 14], [0 0 1 2 4 6 3 7 8 9 10 11 12 13 14], [0 0 1 2 4 6 3 7 8 9 10 11 12 13 14], [0 0 1 2 5 6 3 7 8 9 10 11 12 13 14], [0 0 1 2 5 6 3 7 8 9 10 11 12 13 14], [0 0 1 2 5 6 3 4 8 9 10 11 12 13 14], [0 0 1 2 5 6 3 4 8 9 10 11 12 13 14], [0 0 1 2 5 6 3 4 8 9 7 11 12 13 14], [0 0 1 2 5 6 3 4 8 9 7 11 12 13 14], [0 0 1 2 5 6 3 4 8 9 7 10 12 13 14], [0 0 1 2 5 6 3 4 8 9 7 10 12 13 14], [0 0 1 2 5 6 3 4 8 11 7 10 12 13 14], [0 0 1 2 5 6 3 4 8 11 7 10 12 13 14], [0 0 1 2 5 6 3 4 9 11 7 10 12 13 14], [0 0 1 2 5 6 3 4 9 11 7 10 12 13 14], [0 0 1 2 5 6 3 4 9 11 7 10 12 8 14], [0 0 1 2 5 6 3 4 9 11 7 10 12 8 14], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 14], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 14], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 14], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13], [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13] | [0 0 1 2 5 6 3 4 9 11 7 10 13 8 13]
dfs
task_scheduling: d: [1 3 2 3], w: [0.964 0.93 0.914 0.505], initial_trace: [0 0 0 0] trace | selected:
[1 0 0 0], [1 1 0 0], [1 1 0 0] | [1 1 0 1]
task_scheduling
activity_selector: s: [0.131 0.468 0.081 0.33], f: [0.563 0.563 0.371 0.357], initial_trace: [0 0 0 0] trace | selected:
[0 0 0 1], [0 0 0 1], [0 0 0 1] | [0 1 0 1]
activity_selector
quickselect: key: [0.75 0.401 0.112 0.231 0.332 0.288 0.985 0.266 0.174 0.866 0.215 0.894 0.959 0.495 0.26 0.722 0.947 0.428 0.114], initial_trace: 18 trace | pivot:
18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | 1
quickselect
bfs: s: 4, A: [[0 0 0 0 0], [0 0 0 0 1], [0 0 1 0 0], [0 0 0 0 0], [0 1 0 0 0]], initial_trace: [0 1 2 3 4] trace | pi:
| [0 4 2 3 4]
bfs
dfs: A: [[0 1 1 0 1 1 1 0 1 1 1 1], [1 1 1 1 1 1 0 1 1 0 0 1], [1 1 0 0 1 0 1 1 0 0 1 1], [0 1 0 1 1 1 1 0 1 0 0 0], [1 0 1 1 0 0 0 0 0 0 1 1], [0 1 1 0 0 0 0 1 0 0 1 0], [0 0 1 1 1 0 0 1 1 1 0 0], [1 0 1 0 1 0 0 1 0 1 0 0], [0 1 0 0 1 1 1 1 1 0 1 1], [1 0 1 0 0 0 1 0 1 1 1 0], [0 0 0 0 1 0 0 0 1 1 1 0], [0 1 0 1 0 1 0 1 0 1 1 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 0 2 3 4 5 6 7 8 9 10 11], [0 0 2 3 4 5 6 7 8 9 10 11], [0 0 1 3 4 5 6 7 8 9 10 11], [0 0 1 3 4 5 6 7 8 9 10 11], [0 0 1 3 2 5 6 7 8 9 10 11], [0 0 1 3 2 5 6 7 8 9 10 11], [0 0 1 4 2 5 6 7 8 9 10 11], [0 0 1 4 2 5 6 7 8 9 10 11], [0 0 1 4 2 3 6 7 8 9 10 11], [0 0 1 4 2 3 6 7 8 9 10 11], [0 0 1 4 2 3 6 5 8 9 10 11], [0 0 1 4 2 3 6 5 8 9 10 11], [0 0 1 4 2 3 6 5 8 7 10 11], [0 0 1 4 2 3 6 5 8 7 10 11], [0 0 1 4 2 3 9 5 8 7 10 11], [0 0 1 4 2 3 9 5 8 7 10 11], [0 0 1 4 2 3 9 5 6 7 10 11], [0 0 1 4 2 3 9 5 6 7 10 11], [0 0 1 4 2 3 9 5 6 7 8 11], [0 0 1 4 2 3 9 5 6 7 8 11], [0 0 1 4 2 3 9 5 6 7 8 11], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8], [0 0 1 4 2 3 9 5 6 7 8 8] | [0 0 1 4 2 3 9 5 6 7 8 8]
dfs
task_scheduling: d: [4 5 5 4 2], w: [0.546 0.402 0.054 0.868 0.155], initial_trace: [0 0 0 0 0] trace | selected:
[0 0 0 1 0], [1 0 0 1 0], [1 1 0 1 0], [1 1 0 1 0] | [1 1 1 1 0]
task_scheduling
segments_intersect: x: [0.842 0.928 0.438 0.584], y: [0.266 0.565 0.571 0.205] intersect:
0
segments_intersect
insertion_sort: key: [0.726 0.379 0.035 0.441], initial_trace: [0.726 0.379 0.035 0.441] trace | pred:
[0.379 0.726 0.035 0.441], [0.035 0.379 0.726 0.441] | [0.035 0.379 0.441 0.726]
insertion_sort
task_scheduling: d: [16 6 17 16 15 16 18 14 7 9 14 2 4 19 2 20 12 22 19 7 9 15 7], w: [0.585 0.449 0.581 0.624 0.905 0.868 0.497 0.809 0.341 0.397 0.274 0.631 0.163 0.926 0.948 0.67 0.703 0.33 0.109 0.826 0.093 0.974 0.057], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0], [0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0], [0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 0 0 0 0 1 1 0 1 0 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [0 0 0 1 1 1 0 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [1 0 0 1 1 1 0 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [1 0 1 1 1 1 0 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 0 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 0 1 0], [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 0 1 0] | [1 0 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 0 1 0]
task_scheduling
graham_scan: x: [0.876 -0.98 0.09 1.27 1.68 1.31 -1.22 0.949 -0.062 -0.317], y: [-0.354 1.1 -0.888 -1.4 1.04 -0.914 1.49 0.81 -0.353 1.54], initial_trace: [0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0], [0 0 0 1 1 1 0 0 0 0], [0 0 0 1 1 0 0 0 0 0], [0 0 0 1 1 0 0 1 0 0], [1 0 0 1 1 0 0 1 0 0], [0 0 0 1 1 0 0 1 0 0], [0 0 0 1 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 1], [0 0 0 1 1 0 1 0 0 1], [0 1 0 1 1 0 1 0 0 1], [0 1 0 1 1 0 1 0 1 1], [0 1 0 1 1 0 1 0 0 1], [0 0 0 1 1 0 1 0 0 1] | [0 0 1 1 1 0 1 0 0 1]
graham_scan
binary_search: key: [0.034 0.054 0.092 0.156 0.161 0.173 0.174 0.207 0.269 0.279 0.453 0.495 0.542 0.563 0.632 0.692 0.743 0.747 0.782 0.856 0.896 0.911 0.913 0.915 0.921 0.927 0.951 0.953], target: 0.648, initial_trace: (0, 27) trace | (low, high):
(14, 27), (14, 20), (14, 17), (14, 15) | (15, 15)
binary_search
activity_selector: s: [0.236 0.436 0.496 0.418 0.453 0.162 0.137 0.463 0.207 0.654 0.561 0.526 0.138 0.048 0.15 0.359 0.589 0.067 0.676 0.472 0.418 0.01 0.588], f: [0.78 0.897 0.957 0.428 0.508 0.944 0.873 0.765 0.947 0.926 0.932 0.858 0.913 0.673 0.596 0.707 0.881 0.146 0.888 0.869 0.507 0.846 0.839], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 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 1 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1] | [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1]
activity_selector
mst_kruskal: A: [[0.286 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0.597]], 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
activity_selector: s: [0.143 0.123 0.228 0.767 0.145 0.532 0.653 0.082 0.58 0.023 0.009 0.147 0.019 0.13 0.306 0.594 0.097 0.043 0.385], f: [0.291 0.505 0.462 0.874 0.384 0.597 0.902 0.101 0.772 0.208 0.229 0.806 0.679 0.176 0.345 0.814 0.24 0.699 0.604], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 1 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0] | [0 0 0 1 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0]
activity_selector
insertion_sort: key: [0.215 0.242 0.42 0.303 0.816 0.23 0.129 0.744 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], initial_trace: [0.215 0.242 0.42 0.303 0.816 0.23 0.129 0.744 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7] trace | pred:
[0.215 0.242 0.42 0.303 0.816 0.23 0.129 0.744 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.215 0.242 0.42 0.303 0.816 0.23 0.129 0.744 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.215 0.242 0.303 0.42 0.816 0.23 0.129 0.744 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.215 0.242 0.303 0.42 0.816 0.23 0.129 0.744 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.215 0.23 0.242 0.303 0.42 0.816 0.129 0.744 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.215 0.23 0.242 0.303 0.42 0.816 0.744 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.215 0.23 0.242 0.303 0.42 0.744 0.816 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.215 0.23 0.242 0.303 0.42 0.744 0.816 0.861 0.767 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.215 0.23 0.242 0.303 0.42 0.744 0.767 0.816 0.861 0.143 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.143 0.215 0.23 0.242 0.303 0.42 0.744 0.767 0.816 0.861 0.619 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.143 0.215 0.23 0.242 0.303 0.42 0.619 0.744 0.767 0.816 0.861 0.302 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.42 0.619 0.744 0.767 0.816 0.861 0.378 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.378 0.42 0.619 0.744 0.767 0.816 0.861 0.433 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.378 0.42 0.433 0.619 0.744 0.767 0.816 0.861 0.323 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.619 0.744 0.767 0.816 0.861 0.685 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.619 0.685 0.744 0.767 0.816 0.861 0.061 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.061 0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.619 0.685 0.744 0.767 0.816 0.861 0.539 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.061 0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.539 0.619 0.685 0.744 0.767 0.816 0.861 0.05 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.05 0.061 0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.539 0.619 0.685 0.744 0.767 0.816 0.861 0.524 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.05 0.061 0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.744 0.767 0.816 0.861 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.05 0.061 0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.744 0.767 0.816 0.861 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.05 0.061 0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.744 0.767 0.816 0.861 0.906 0.978 0.685 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.05 0.061 0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.685 0.744 0.767 0.816 0.861 0.906 0.978 0.31 0.229 0.03 0.816 0.023 0.874 0.7], [0.05 0.061 0.129 0.143 0.215 0.23 0.242 0.302 0.303 0.31 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.685 0.744 0.767 0.816 0.861 0.906 0.978 0.229 0.03 0.816 0.023 0.874 0.7], [0.05 0.061 0.129 0.143 0.215 0.229 0.23 0.242 0.302 0.303 0.31 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.685 0.744 0.767 0.816 0.861 0.906 0.978 0.03 0.816 0.023 0.874 0.7], [0.03 0.05 0.061 0.129 0.143 0.215 0.229 0.23 0.242 0.302 0.303 0.31 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.685 0.744 0.767 0.816 0.861 0.906 0.978 0.816 0.023 0.874 0.7], [0.03 0.05 0.061 0.129 0.143 0.215 0.229 0.23 0.242 0.302 0.303 0.31 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.685 0.744 0.767 0.816 0.816 0.861 0.906 0.978 0.023 0.874 0.7], [0.023 0.03 0.05 0.061 0.129 0.143 0.215 0.229 0.23 0.242 0.302 0.303 0.31 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.685 0.744 0.767 0.816 0.816 0.861 0.906 0.978 0.874 0.7], [0.023 0.03 0.05 0.061 0.129 0.143 0.215 0.229 0.23 0.242 0.302 0.303 0.31 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.685 0.744 0.767 0.816 0.816 0.861 0.874 0.906 0.978 0.7] | [0.023 0.03 0.05 0.061 0.129 0.143 0.215 0.229 0.23 0.242 0.302 0.303 0.31 0.323 0.378 0.42 0.433 0.524 0.539 0.619 0.685 0.685 0.7 0.744 0.767 0.816 0.816 0.861 0.874 0.906 0.978]
insertion_sort
bellman_ford: s: 30, A: [[0.303 0 0 0 0 0 0.295 0 0 0.547 0.33 0.435 0.227 0 0 0.57 0.491 0.552 0 0 0 0 0 0 0 0.673 0 0.38 0 0 0], [0 0 0 0 0.579 0 0 0 0 0 0 0 0 0.408 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.289 0 0 0 0.779 0.662 0 0 0.364 0 0 0 0.595 0 0 0.214 0 0.557 0.512 0.785 0.652 0.263 0 0.746 0 0 0 0], [0 0 0.289 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.579 0 0 0.481 0 0 0.826 0 0 0 0 0.787 0 0.244 0 0.159 0 0 0 0 0 0 0 0 0 0 0.565 0 0 0.844], [0 0 0 0 0 0.944 0 0 0 0 0 0 0 0 0.092 0.353 0 0 0 0 0 0 0 0.305 0 0 0 0 0 0 0.882], [0.295 0 0 0 0 0 0.564 0 0.352 0 0.339 0 0 0 0 0 0 0 0 0 0.581 0.195 0 0 0.084 0 0 0 0 0 0], [0 0 0.779 0 0.826 0 0 0 0.575 0 0.738 0 0 0 0 0 0 0 0.574 0 0.749 0 0.213 0 0 0 0 0.296 0 0 0.889], [0 0 0.662 0 0 0 0.352 0.575 0.75 0 0.494 0.799 0.664 0 0 0 0 0 0 0 0 0 0 0.902 0.951 0 0.197 0.185 0 0 0], [0.547 0 0 0 0 0 0 0 0 0.419 0 0.259 0 0 0 0.08 0 0 0 0 0 0 0 0.1 0.666 0.658 0 0 0 0 0], [0.33 0 0 0 0 0 0.339 0.738 0.494 0 0.607 0 0 0.807 0 0.587 0 0.556 0 0.134 0 0 0 0 0 0 0 0.078 0 0.117 0], [0.435 0 0.364 0 0 0 0 0 0.799 0.259 0 0 0 0.274 0 0 0.751 0.779 0 0 0.497 0.205 0 0.302 0.408 0 0 0 0 0.842 0], [0.227 0 0 0 0.787 0 0 0 0.664 0 0 0 0 0.525 0 0.693 0.295 0.86 0 0.932 0 0 0 0.953 0 0 0.634 0 0 0 0], [0 0.408 0 0 0 0 0 0 0 0 0.807 0.274 0.525 0 0 0 0 0 0 0.7 0.454 0 0 0 0 0 0.225 0.683 0 0.141 0], [0 0 0 0 0.244 0.092 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.907 0 0 0 0], [0.57 0 0.595 0 0 0.353 0 0 0 0.08 0.587 0 0.693 0 0 0.817 0.481 0 0 0 0 0.689 0.137 0.287 0 0 0 0 0 0 0], [0.491 0 0 0 0.159 0 0 0 0 0 0 0.751 0.295 0 0 0.481 0.271 0 0 0.186 0 0 0 0 0 0 0 0 0 0 0.319], [0.552 0 0 0 0 0 0 0 0 0 0.556 0.779 0.86 0 0 0 0 0 0 0.256 0 0 0.216 0 0.385 0 0 0 0.444 0 0], [0 0 0.214 0 0 0 0 0.574 0 0 0 0 0 0 0 0 0 0 0 0 0 0.481 0.537 0 0 0 0 0.924 0.613 0 0], [0 0 0 0 0 0 0 0 0 0 0.134 0 0.932 0.7 0 0 0.186 0.256 0 0.683 0.446 0 0 0 0 0 0 0 0 0 0], [0 0 0.557 0 0 0 0.581 0.749 0 0 0 0.497 0 0.454 0 0 0 0 0 0.446 0 0.088 0.495 0 0 0.369 0 0 0 0 0], [0 0 0.512 0 0 0 0.195 0 0 0 0 0.205 0 0 0 0.689 0 0 0.481 0 0.088 0.386 0 0 0 0 0 0 0.391 0.434 0], [0 0 0.785 0 0 0 0 0.213 0 0 0 0 0 0 0 0.137 0 0.216 0.537 0 0.495 0 0 0 0 0 0 0 0 0.322 0], [0 0 0.652 0 0 0.305 0 0 0.902 0.1 0 0.302 0.953 0 0 0.287 0 0 0 0 0 0 0 0.652 0 0 0 0.33 0.057 0 0], [0 0 0.263 0 0 0 0.084 0 0.951 0.666 0 0.408 0 0 0 0 0 0.385 0 0 0 0 0 0 0 0 0 0.592 0 0.514 0.49], [0.673 0 0 0 0 0 0 0 0 0.658 0 0 0 0 0 0 0 0 0 0 0.369 0 0 0 0 0.22 0 0 0 0.475 0], [0 0 0.746 0 0 0 0 0 0.197 0 0 0 0.634 0.225 0.907 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.518 0], [0.38 0 0 0 0.565 0 0 0.296 0.185 0 0.078 0 0 0.683 0 0 0 0 0.924 0 0 0 0 0.33 0.592 0 0 0 0 0.327 0.575], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.444 0.613 0 0 0.391 0 0.057 0 0 0 0 0.07 0 0.368], [0 0 0 0 0 0 0 0 0 0 0.117 0.842 0 0.141 0 0 0 0 0 0 0 0.434 0.322 0 0.514 0.475 0.518 0.327 0 0 0], [0 0 0 0 0.844 0.882 0 0.889 0 0 0 0 0 0 0 0 0.319 0 0 0 0 0 0 0 0.49 0 0 0.575 0.368 0 0.413]], 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 30 30 6 30 8 9 10 11 12 13 14 15 30 17 18 19 20 21 22 23 30 25 26 30 30 29 30], [16 4 24 3 16 30 24 27 27 24 27 24 16 27 5 16 30 28 28 16 7 28 7 28 30 25 26 30 30 27 30], [16 4 24 2 16 23 24 27 27 23 19 23 16 29 4 23 30 19 2 16 21 28 15 28 30 29 8 30 30 10 30], [16 4 24 2 16 23 24 27 27 23 19 23 16 29 4 9 30 19 2 16 21 28 15 28 30 9 8 30 30 10 30] | [16 4 24 2 16 23 24 27 27 23 19 23 16 29 4 9 30 19 2 16 21 28 15 28 30 9 8 30 30 10 30]
bellman_ford
graham_scan: x: [-0.56 1.78 0.288 0.122 1.5 -0.333 -1.03 -1.65 0.924 -0.354 -0.562 1.6 0.337 1.19 -0.377], y: [0.628 0.033 1.35 0.037 0.117 -0.14 1.56 -1.12 -0.306 -1.83 -1.75 -0.951 0.793 -0.767 1.42], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 1 0 1 0 0 0], [0 1 0 0 1 0 0 0 0 1 0 1 0 0 0], [0 1 0 0 1 0 0 0 1 1 0 1 0 0 0], [0 1 0 0 1 0 0 0 0 1 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 1 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 1 0 1 1 0 0], [0 1 0 1 0 0 0 0 0 1 0 1 1 0 0], [0 1 0 0 0 0 0 0 0 1 0 1 1 0 0], [0 1 0 0 0 0 0 0 0 1 0 1 0 0 0], [0 1 1 0 0 0 0 0 0 1 0 1 0 0 0], [0 1 1 0 0 1 0 0 0 1 0 1 0 0 0], [0 1 1 0 0 0 0 0 0 1 0 1 0 0 0], [0 1 1 0 0 0 0 0 0 1 0 1 0 0 1], [1 1 1 0 0 0 0 0 0 1 0 1 0 0 1], [0 1 1 0 0 0 0 0 0 1 0 1 0 0 1], [0 1 1 0 0 0 0 0 0 1 0 1 0 0 0], [0 1 1 0 0 0 1 0 0 1 0 1 0 0 0], [0 1 1 0 0 0 1 1 0 1 0 1 0 0 0] | [0 1 1 0 0 0 1 1 0 1 1 1 0 0 0]
graham_scan
dag_shortest_paths: s: 16, A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.191 0 0 0], [0.868 0 0 0 0.653 0 0 0 0.206 0 0 0 0 0.238 0 0.589 0.726 0.805 0], [0 0.823 0 0 0.378 0.686 0 0 0.882 0 0 0 0 0.578 0.396 0 0.803 0.842 0], [0.497 0 0.287 0 0.0782 0.721 0.623 0 0.726 0 0 0 0 0 0 0 0.878 0.979 0], [0 0 0 0 0 0 0 0 0.409 0 0 0 0 0 0 0.0517 0 0 0], [0 0.673 0 0 0.664 0 0 0 0 0 0 0.95 0 0.883 0.0746 0.944 0.597 0 0.977], [0 0 0 0 0.281 0 0 0 0.352 0 0 0.877 0.103 0.15 0.283 0 0 0.335 0.352], [0.206 0.224 0.885 0.993 0.192 0 0 0 0.626 0.846 0.491 0.412 0.0877 0 0 0 0.666 0.77 0], [0.279 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.811 0.965 0 0.905 0 0 0 0.537 0 0 0.361 0.169 0 0 0.491 0.213 0 0], [0.902 0 0 0 0 0 0 0 0 0 0 0 0.454 0 0.744 0 0.464 0 0.609], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.0545 0 0 0 0 0 0 0 0 0 0 0.62 0 0 0 0 0 0 0], [0.954 0 0 0 0 0 0 0 0.0769 0 0 0 0 0 0.184 0.857 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.244 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.28 0 0 0 0 0 0 0.39 0.951 0 0.0562 0 0 0.0988 0], [0.201 0 0 0 0.53 0 0 0 0 0 0 0.456 0.0146 0.912 0 0 0 0 0], [0 0 0 0 0.736 0 0 0 0 0 0 0.706 0.311 0 0 0.00388 0.706 0.115 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 16 5 6 7 8 9 10 16 16 13 16 15 16 16 18], [17 1 2 3 16 5 6 7 8 9 10 16 17 17 16 15 16 16 18], [17 1 2 3 16 5 6 7 13 9 10 16 17 17 16 13 16 16 18], [17 1 2 3 16 5 6 7 13 9 10 14 17 17 16 13 16 16 18], [12 1 2 3 16 5 6 7 13 9 10 14 17 17 16 13 16 16 18], [12 1 2 3 16 5 6 7 13 9 10 14 17 17 16 13 16 16 18], [12 1 2 3 16 5 6 7 4 9 10 14 17 17 16 4 16 16 18], [12 1 2 3 16 5 6 7 4 9 10 14 17 17 16 4 16 16 18] | [12 1 2 3 16 5 6 7 4 9 10 14 17 17 16 4 16 16 18]
dag_shortest_paths
heapsort: key: [0.381 0.556 0.045 0.433 0.682], initial_trace: [0.381 0.556 0.045 0.433 0.682] trace | pred:
[0.381 0.556 0.045 0.433 0.682], [0.381 0.556 0.045 0.433 0.682], [0.381 0.556 0.045 0.433 0.682], [0.381 0.682 0.045 0.433 0.556], [0.381 0.682 0.045 0.433 0.556], [0.682 0.381 0.045 0.433 0.556], [0.682 0.556 0.045 0.433 0.381], [0.682 0.556 0.045 0.433 0.381], [0.381 0.556 0.045 0.433 0.682], [0.556 0.381 0.045 0.433 0.682], [0.556 0.433 0.045 0.381 0.682], [0.556 0.433 0.045 0.381 0.682], [0.381 0.433 0.045 0.556 0.682], [0.433 0.381 0.045 0.556 0.682], [0.433 0.381 0.045 0.556 0.682], [0.045 0.381 0.433 0.556 0.682], [0.381 0.045 0.433 0.556 0.682], [0.381 0.045 0.433 0.556 0.682], [0.045 0.381 0.433 0.556 0.682] | [0.045 0.381 0.433 0.556 0.682]
heapsort
topological_sort: A: [[0 0 1 1], [0 0 1 1], [0 0 0 0], [0 0 0 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], 2, [0 1 2 3], 2, [0 1 2 2], 3, [3 1 2 2], 0, [3 1 2 2], 0, [3 1 2 2], 0 | [3 0 2 2], 1
topological_sort
bfs: s: 3, A: [[0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 1 0 0 1 1 0], [1 1 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 0], [0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 1 0 1 0 0 1 1 0], [0 1 1 1 0 0 0 0 0 0 0 0 1 0 0 1 1 0 1 0 1 0 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0], [1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 1 0 0], [0 0 1 0 0 0 0 1 0 0 0 1 1 1 0 1 0 1 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 0 1 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 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0], [0 0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 1 0 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0], [0 0 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 1 0 0 0 1 0], [1 1 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0], [1 0 1 0 0 0 0 1 1 1 0 1 0 1 1 0 0 1 0 0 1 0 1], [0 0 0 1 1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1], [0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 0 0 1], [1 1 1 1 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0], [1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 19 20 21 22] trace | pi:
[0 3 3 3 4 5 6 7 8 9 10 11 3 13 14 3 3 17 3 19 3 21 22], [1 3 3 3 2 2 18 12 2 1 18 15 3 13 12 3 3 2 3 18 3 1 18] | [1 3 3 3 2 2 18 12 2 1 18 15 3 6 12 3 3 2 3 18 3 1 18]
bfs
binary_search: key: [0.003 0.007 0.05 0.098 0.134 0.152 0.165 0.173 0.189 0.214 0.249 0.277 0.302 0.34 0.382 0.521 0.535 0.567 0.573 0.694 0.703 0.723 0.739 0.743 0.804 0.842 0.852 0.878 0.92 0.952 0.962], target: 0.832, initial_trace: (0, 30) trace | (low, high):
(16, 30), (24, 30), (24, 27), (24, 25) | (25, 25)
binary_search
jarvis_march: x: [1.28 0.623 1.68 1.87 -1.67 0.353 1.33 -0.378 -1.02 -1 -0.135], y: [0.249 0.353 0.986 0.146 0.185 -0.277 -1.29 0.109 -0.506 0.996 -0.994], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[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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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 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 0], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1], [0 0 1 1 1 0 1 0 1 1 1] | [0 0 1 1 1 0 1 0 1 1 1]
jarvis_march
activity_selector: s: [0.624 0.259 0.474 0.343 0.43 0.108 0.32 0.301 0.382 0.014 0.513 0.069 0.087 0.23 0.117], f: [0.662 0.801 0.763 0.506 0.724 0.507 0.452 0.654 0.828 0.633 0.725 0.105 0.56 0.376 0.75], initial_trace: [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 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 1 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 1 0] | [1 0 0 0 0 0 0 0 0 0 0 1 0 1 0]
activity_selector
activity_selector: s: [0.196 0.353 0.495 0.854 0.298 0.48 0.419 0.131 0.48 0.399 0.862 0.191 0.269 0.692 0.1 0.608 0.477 0.41 0.15 0.397 0.352 0.345 0.337], f: [0.667 0.514 0.569 0.912 0.416 0.997 0.471 0.987 0.719 0.477 0.947 0.941 0.691 0.865 0.169 0.993 0.568 0.463 0.57 0.679 0.406 0.741 0.648], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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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], 13, [0 1 2 3 4 5 6 7 8 13 10 11 12 13 14 15 16 17 18 19 20 21 22], 9, [0 1 2 3 4 5 6 7 9 13 10 11 12 13 14 15 16 17 18 19 20 21 22], 8, [0 1 2 3 4 5 6 7 9 13 10 11 12 13 14 15 16 17 18 19 20 21 22], 8, [0 1 2 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 10, [10 1 2 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 0, [10 1 2 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 0, [10 1 2 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 0, [10 1 2 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 0, [10 1 0 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 2, [10 1 0 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 2, [10 1 0 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 2, [10 1 0 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 21 22], 2, [10 1 0 3 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 2 22], 21, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 2 22], 3, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 14 15 16 17 18 19 20 2 22], 3, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 16 17 18 19 20 2 22], 14, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 16 17 18 19 20 2 22], 14, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 16 17 18 19 20 2 22], 14, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 16 17 18 19 20 2 22], 14, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 16 17 18 19 20 2 14], 22, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 16 17 18 22 20 2 14], 19, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 16 17 18 22 20 2 14], 19, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 16 17 18 22 19 2 14], 20, [10 1 0 21 4 5 6 7 9 13 8 11 12 13 3 15 20 17 18 22 19 2 14], 16, [10 1 0 21 4 5 16 7 9 13 8 11 12 13 3 15 20 17 18 22 19 2 14], 6, [10 1 0 21 4 5 16 7 9 13 8 11 12 13 3 15 20 17 18 22 19 2 14], 6, [10 1 0 21 4 5 16 7 9 13 8 11 12 13 3 15 20 17 18 22 19 2 14], 6, [10 1 0 21 4 5 16 7 9 13 8 11 12 13 3 15 20 17 18 22 19 2 14], 6, [10 1 0 21 4 5 16 7 9 13 8 11 12 13 3 15 20 17 6 22 19 2 14], 18, [10 1 0 21 4 18 16 7 9 13 8 11 12 13 3 15 20 17 6 22 19 2 14], 5, [10 1 0 21 4 18 16 7 9 13 8 11 12 13 3 15 20 17 6 22 19 2 14], 5, [10 1 0 21 4 18 16 7 9 13 8 5 12 13 3 15 20 17 6 22 19 2 14], 11, [10 1 0 21 4 18 16 11 9 13 8 5 12 13 3 15 20 17 6 22 19 2 14], 7, [10 1 0 21 4 18 16 11 9 13 8 5 12 13 3 15 20 17 6 22 19 2 14], 7, [10 1 0 21 4 18 16 11 9 13 8 5 12 13 3 15 20 17 6 22 19 2 14], 7, [10 1 0 21 4 18 16 11 9 13 8 5 12 13 3 15 20 17 6 22 19 2 14], 7, [10 1 0 21 4 18 16 11 9 13 8 5 12 13 3 7 20 17 6 22 19 2 14], 15, [10 1 0 21 15 18 16 11 9 13 8 5 12 13 3 7 20 17 6 22 19 2 14], 4, [10 1 0 21 15 18 16 11 9 13 8 5 4 13 3 7 20 17 6 22 19 2 14], 12, [10 12 0 21 15 18 16 11 9 13 8 5 4 13 3 7 20 17 6 22 19 2 14], 1, [10 12 0 21 15 18 16 11 9 13 8 5 4 13 3 7 20 17 6 22 19 2 14], 1, [10 12 0 21 15 18 16 11 9 13 8 5 4 13 3 7 20 17 6 22 19 2 14], 1 | [10 12 0 21 15 18 16 11 9 13 8 5 4 13 3 7 20 1 6 22 19 2 14], 17
topological_sort
task_scheduling: d: [9 1 10 6 5 4 6 15 11 13 7 15 13 12 5], w: [0.183 0.56 0.098 0.436 0.73 0.528 0.104 0.785 0.683 0.9 0.995 0.612 0.559 0.963 0.591], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 1 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 1 0 0 1 0], [0 0 0 0 0 0 0 1 0 1 1 0 0 1 0], [0 0 0 0 1 0 0 1 0 1 1 0 0 1 0], [0 0 0 0 1 0 0 1 1 1 1 0 0 1 0], [0 0 0 0 1 0 0 1 1 1 1 1 0 1 0], [0 0 0 0 1 0 0 1 1 1 1 1 0 1 0], [0 0 0 0 1 0 0 1 1 1 1 1 0 1 0], [0 0 0 0 1 0 0 1 1 1 1 1 1 1 0], [0 0 0 0 1 0 0 1 1 1 1 1 1 1 0], [0 0 0 0 1 0 0 1 1 1 1 1 1 1 0], [1 0 0 0 1 0 0 1 1 1 1 1 1 1 0], [1 0 0 0 1 0 0 1 1 1 1 1 1 1 0] | [1 0 1 0 1 0 0 1 1 1 1 1 1 1 0]
task_scheduling
bridges: A: [[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]], initial_trace: [[0 -1 0 -1 -1], [-1 0 -1 -1 -1], [0 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]] trace | is_bridge:
[[0 -1 0 -1 -1], [-1 0 -1 -1 -1], [0 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 0 -1 -1], [-1 0 -1 -1 -1], [0 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 0 -1 -1], [-1 0 -1 -1 -1], [0 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 0 -1 -1], [-1 0 -1 -1 -1], [0 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 0 -1 -1], [-1 0 -1 -1 -1], [0 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]], [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]] | [[0 -1 1 -1 -1], [-1 0 -1 -1 -1], [1 -1 0 -1 -1], [-1 -1 -1 0 -1], [-1 -1 -1 -1 0]]
bridges
insertion_sort: key: [0.115 0.141 0.025 0.551 0.711 0.471 0.619 0.543 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], initial_trace: [0.115 0.141 0.025 0.551 0.711 0.471 0.619 0.543 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739] trace | pred:
[0.115 0.141 0.025 0.551 0.711 0.471 0.619 0.543 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.551 0.711 0.471 0.619 0.543 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.551 0.711 0.471 0.619 0.543 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.551 0.711 0.471 0.619 0.543 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.471 0.551 0.711 0.619 0.543 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.471 0.551 0.619 0.711 0.543 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.471 0.543 0.551 0.619 0.711 0.244 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.244 0.471 0.543 0.551 0.619 0.711 0.339 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.244 0.339 0.471 0.543 0.551 0.619 0.711 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.244 0.339 0.471 0.543 0.551 0.619 0.711 0.833 0.789 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.244 0.339 0.471 0.543 0.551 0.619 0.711 0.789 0.833 0.187 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.187 0.244 0.339 0.471 0.543 0.551 0.619 0.711 0.789 0.833 0.693 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.187 0.244 0.339 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.46 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.187 0.244 0.339 0.46 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.141 0.187 0.244 0.339 0.46 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.129 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.129 0.141 0.187 0.244 0.339 0.46 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.299 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.129 0.141 0.187 0.244 0.299 0.339 0.46 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.191 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.129 0.141 0.187 0.191 0.244 0.299 0.339 0.46 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.259 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.129 0.141 0.187 0.191 0.244 0.259 0.299 0.339 0.46 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.118 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.118 0.129 0.141 0.187 0.191 0.244 0.259 0.299 0.339 0.46 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.397 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.118 0.129 0.141 0.187 0.191 0.244 0.259 0.299 0.339 0.397 0.46 0.471 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.501 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.118 0.129 0.141 0.187 0.191 0.244 0.259 0.299 0.339 0.397 0.46 0.471 0.501 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.329 0.225 0.802 0.68 0.739], [0.025 0.115 0.118 0.129 0.141 0.187 0.191 0.244 0.259 0.299 0.329 0.339 0.397 0.46 0.471 0.501 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.225 0.802 0.68 0.739], [0.025 0.115 0.118 0.129 0.141 0.187 0.191 0.225 0.244 0.259 0.299 0.329 0.339 0.397 0.46 0.471 0.501 0.543 0.551 0.619 0.693 0.711 0.789 0.833 0.919 0.802 0.68 0.739], [0.025 0.115 0.118 0.129 0.141 0.187 0.191 0.225 0.244 0.259 0.299 0.329 0.339 0.397 0.46 0.471 0.501 0.543 0.551 0.619 0.693 0.711 0.789 0.802 0.833 0.919 0.68 0.739], [0.025 0.115 0.118 0.129 0.141 0.187 0.191 0.225 0.244 0.259 0.299 0.329 0.339 0.397 0.46 0.471 0.501 0.543 0.551 0.619 0.68 0.693 0.711 0.789 0.802 0.833 0.919 0.739] | [0.025 0.115 0.118 0.129 0.141 0.187 0.191 0.225 0.244 0.259 0.299 0.329 0.339 0.397 0.46 0.471 0.501 0.543 0.551 0.619 0.68 0.693 0.711 0.739 0.789 0.802 0.833 0.919]
insertion_sort
graham_scan: x: [1.91 -0.521 -0.026 -0.226 1.32 -0.946 -0.337 -0.093 -0.095 -0.448 0.173 0.809 0.848 -0.995 -0.905 0.705 0.894 -0.183 0.945 1.48 -0.917 0.591 1.71 0.481 1.12 -1.37 -0.761 -0.161], y: [-0.048 1.69 1.34 -0.438 -0.974 0.486 0.197 -0.616 -0.179 1.23 -0.974 -0.963 1.05 1.6 -1.18 -1.5 1.5 -0.503 -0.645 0.762 0.843 1.2 0.679 1.65 1.53 -0.118 0.321 -1.28], 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 | in_hull:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 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 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 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 1 0 0 1 0 0 0 0 0], [1 0 0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 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 0 0 0], [1 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 1 0 0], [1 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 1 0 1], [1 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 1 0 0] | [1 1 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 1 1 1 0 0]
graham_scan
task_scheduling: d: [4 4 4 3 5], w: [0.815 0.904 0.522 0.809 0.752], initial_trace: [0 0 0 0 0] trace | selected:
[0 1 0 0 0], [1 1 0 0 0], [1 1 0 1 0], [1 1 0 1 1] | [1 1 0 1 1]
task_scheduling
binary_search: key: [0.06 0.173 0.21 0.339 0.427 0.64 0.66 0.863 0.884 0.888 0.9], target: 0.084, initial_trace: (0, 10) trace | (low, high):
(0, 5), (0, 2), (0, 1) | (1, 1)
binary_search
activity_selector: s: [0.25 0.697 0.174 0.696 0.295 0.264 0.002 0.137 0.01 0.233 0.661 0.048 0.285 0.068 0.482 0.338 0.324 0.047 0.459], f: [0.808 0.831 0.465 0.899 0.738 0.562 0.264 0.158 0.348 0.423 0.874 0.827 0.445 0.379 0.865 0.835 0.334 0.678 0.52], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 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 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 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 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 0 0 0 0 0 0 0 0 1 0 1], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 0 1 0 1], [0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1], [0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1], [0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1] | [0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1]
activity_selector
binary_search: key: [0.036 0.245 0.309 0.319 0.403 0.43 0.612 0.679 0.79 0.95 0.993], target: 0.073, initial_trace: (0, 10) trace | (low, high):
(0, 5), (0, 2), (0, 1) | (1, 1)
binary_search
topological_sort: A: [[0 1 0 1 0 1 0 0 0 0 1 0 0 1 0], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 1 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 0 0 1 0 0 1 0 0 0 1 0 0 0], [0 1 1 0 1 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 0 0 0 1 1 0 0 0 1 0 0], [0 0 1 0 1 0 0 1 1 0 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 1 0 0 0 1 1 0 0 1 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 4, [0 1 4 3 4 5 6 7 8 9 10 11 12 13 14], 2, [0 2 4 3 4 5 6 7 8 9 10 11 12 13 14], 1, [0 2 4 3 4 5 6 7 8 9 10 11 12 13 14], 1, [0 2 4 3 4 5 6 7 8 9 10 11 12 13 14], 1, [0 2 4 3 4 5 6 7 1 9 10 11 12 13 14], 8, [0 2 4 3 4 5 6 7 1 9 10 11 12 13 14], 8, [0 2 4 3 4 5 6 7 1 9 10 11 12 13 14], 8, [0 2 4 3 4 5 6 8 1 9 10 11 12 13 14], 7, [0 2 4 3 4 5 6 8 1 9 10 11 7 13 14], 12, [0 2 4 12 4 5 6 8 1 9 10 11 7 13 14], 3, [0 2 4 12 4 5 6 8 1 9 10 11 7 13 14], 3, [0 2 4 12 4 5 6 8 1 9 10 11 7 13 14], 3, [0 2 4 12 4 5 6 8 1 9 10 11 7 13 14], 3, [0 2 4 12 4 5 6 8 1 9 10 11 7 13 14], 3, [0 2 4 12 4 5 6 8 1 9 10 3 7 13 14], 11, [0 2 4 12 4 5 11 8 1 9 10 3 7 13 14], 6, [0 2 4 12 4 5 11 8 1 6 10 3 7 13 14], 9, [0 2 4 12 4 9 11 8 1 6 10 3 7 13 14], 5, [0 2 4 12 4 9 11 8 1 6 10 3 7 13 14], 5, [0 2 4 12 4 9 11 8 1 6 10 3 7 13 14], 5, [0 2 4 12 4 9 11 8 1 6 10 3 7 5 14], 13, [0 2 4 12 4 9 11 8 1 6 13 3 7 5 14], 10, [10 2 4 12 4 9 11 8 1 6 13 3 7 5 14], 0, [10 2 4 12 4 9 11 8 1 6 13 3 7 5 14], 0, [10 2 4 12 4 9 11 8 1 6 13 3 7 5 14], 0 | [10 2 4 12 4 9 11 8 1 6 13 3 7 5 0], 14
topological_sort
minimum: key: [0.221 0.706 0.917 0.208 0.677 0.152 0.741 0.055 0.004 0.585 0.543], initial_trace: 0 trace | min:
0, 0, 3, 3, 5, 5, 7, 8, 8 | 8
minimum
topological_sort: A: [[0 1 1 1 0 1 0 1 0 1 0 0], [0 0 0 0 0 0 0 0 1 0 0 1], [0 1 0 1 0 1 1 1 1 0 1 1], [0 0 0 0 0 0 0 0 0 0 1 0], [0 0 1 1 0 1 0 0 0 1 1 0], [0 1 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 0 0 0 0 0 1 1 0 0], [0 0 0 1 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 1 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 1 0]], 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], 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], 0, [0 1 2 3 4 5 6 7 8 9 10 11], 10, [0 1 2 10 4 5 6 7 8 9 10 11], 3, [0 1 2 10 4 5 6 7 3 9 10 11], 8, [0 1 2 10 4 5 6 7 3 9 10 11], 8, [0 1 2 10 4 5 6 7 3 9 10 8], 11, [0 11 2 10 4 5 6 7 3 9 10 8], 1, [0 11 2 10 4 5 6 7 3 9 10 8], 1, [0 11 2 10 4 5 6 7 3 9 10 8], 1, [0 11 2 10 4 5 6 7 3 9 10 8], 1, [0 11 2 10 4 5 6 7 3 1 10 8], 9, [0 11 2 10 4 9 6 7 3 1 10 8], 5, [0 11 2 10 4 9 6 7 3 1 10 8], 5, [0 11 2 10 4 9 5 7 3 1 10 8], 6, [0 11 2 10 4 9 5 7 3 1 10 8], 6, [0 11 2 10 4 9 5 6 3 1 10 8], 7, [0 11 7 10 4 9 5 6 3 1 10 8], 2, [2 11 7 10 4 9 5 6 3 1 10 8], 0, [2 11 7 10 4 9 5 6 3 1 10 8], 0, [2 11 7 10 4 9 5 6 3 1 10 8], 0 | [2 11 7 10 0 9 5 6 3 1 10 8], 4
topological_sort
topological_sort: A: [[0 1 0 1 0 1 0 0 1 0 1 0 1 1 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [1 1 0 1 1 0 0 0 1 1 1 0 0 0 0], [0 0 0 0 0 1 0 0 1 0 1 1 1 0 0], [0 1 0 0 0 1 1 1 0 1 0 1 1 1 1], [0 1 0 0 0 0 0 0 1 0 0 0 1 0 0], [0 0 0 1 0 1 0 0 0 1 1 0 0 1 1], [1 1 0 0 0 0 0 0 0 0 0 1 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 0 0 0 1 0 0 0 0 1 1 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 1 0 1 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 1 0 0 0 0 0 0 1 0 1 0 0], [0 1 0 0 0 1 0 1 0 0 1 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 8, [0 8 2 3 4 5 6 7 8 9 10 11 12 13 14], 1, [0 8 2 3 4 5 6 7 8 9 10 11 12 13 14], 1, [0 8 2 3 4 5 6 7 8 9 10 11 12 13 14], 1, [0 8 2 3 4 5 6 7 8 9 10 11 12 13 14], 1, [0 8 2 3 4 5 6 7 8 9 10 11 1 13 14], 12, [0 8 2 3 4 12 6 7 8 9 10 11 1 13 14], 5, [0 8 2 3 4 12 6 7 8 9 10 11 1 13 14], 5, [0 8 2 3 4 12 6 7 8 9 5 11 1 13 14], 10, [0 8 2 3 4 12 6 7 8 9 5 11 1 13 14], 10, [0 8 2 3 4 12 6 7 8 9 5 10 1 13 14], 11, [0 8 2 11 4 12 6 7 8 9 5 10 1 13 14], 3, [0 8 2 11 4 12 6 7 8 9 5 10 1 13 14], 3, [0 8 2 11 4 12 6 7 8 9 5 10 1 3 14], 13, [13 8 2 11 4 12 6 7 8 9 5 10 1 3 14], 0, [13 8 2 11 4 12 6 7 8 9 5 10 1 3 14], 0, [13 8 2 11 4 12 6 7 8 9 5 10 1 3 14], 0, [13 8 2 11 4 12 6 7 8 9 5 10 1 3 14], 0, [13 8 2 11 4 12 6 7 8 9 5 10 1 3 14], 0, [13 8 2 11 4 12 6 7 8 9 5 10 1 3 14], 0, [13 8 2 11 4 12 6 7 8 0 5 10 1 3 14], 9, [13 8 2 11 4 12 6 7 8 0 5 10 1 3 14], 9, [13 8 2 11 4 12 6 7 8 0 5 10 1 3 14], 9, [13 8 2 11 4 12 6 9 8 0 5 10 1 3 14], 7, [13 8 2 11 4 12 6 9 8 0 5 10 1 3 7], 14, [13 8 2 11 4 12 14 9 8 0 5 10 1 3 7], 6, [13 8 2 11 6 12 14 9 8 0 5 10 1 3 7], 4 | [13 8 4 11 6 12 14 9 8 0 5 10 1 3 7], 2
topological_sort
articulation_points: A: [[0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 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 1 0 0 0 0 0 0]], initial_trace: [0 0 0 0 0 0 0 0 0 0] trace | is_cut:
[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 0] | [0 0 0 0 0 0 0 1 0 0]
articulation_points
bellman_ford: s: 3, A: [[0 0 0 0 0], [0 0 0.606 0 0], [0 0.606 0.372 0 0], [0 0 0 0 0.703], [0 0 0 0.703 0.157]], initial_trace: [0 1 2 3 4] trace | pi:
| [0 1 2 3 3]
bellman_ford
task_scheduling: d: [7 7 5 7 6 6 2 13 4 3 15 15 12 13 5], w: [0.941 0.033 0.365 0.127 0.232 0.127 0.634 0.874 0.898 0.428 0.45 0.069 0.365 0.883 1], initial_trace: [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 1], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [1 0 0 0 0 0 0 0 1 0 0 0 0 0 1], [1 0 0 0 0 0 0 0 1 0 0 0 0 1 1], [1 0 0 0 0 0 0 1 1 0 0 0 0 1 1], [1 0 0 0 0 0 0 1 1 0 0 0 0 1 1], [1 0 0 0 0 0 0 1 1 0 1 0 0 1 1], [1 0 0 0 0 0 0 1 1 0 1 0 0 1 1], [1 0 0 0 0 0 0 1 1 0 1 0 0 1 1], [1 0 0 0 0 0 0 1 1 0 1 0 1 1 1], [1 0 0 0 0 0 0 1 1 0 1 0 1 1 1], [1 0 0 0 0 0 0 1 1 0 1 0 1 1 1], [1 0 0 0 0 0 0 1 1 0 1 0 1 1 1], [1 0 0 0 0 0 0 1 1 0 1 1 1 1 1] | [1 0 0 0 0 0 0 1 1 0 1 1 1 1 1]
task_scheduling
graham_scan: x: [0.416 0.455 -0.105 1.47 0.013 -1.97 -1.12 -1.44 -0.092 -1.06 0.028 -0.219 0.951 -0.258 -1.49 -1.46 1.34 -0.182 -1 1.61 1.69 -0.785 -1.29 0.726 -0.396 -0.363 1.72 1.57 -1.26 -1.29 1.37], y: [-0.131 -0.665 -0.533 0.776 1.13 0.185 0.999 1.3 0.545 -0.513 -1.91 -0.882 1.15 1.03 0.157 -0.954 1.28 0.148 0.275 0.362 0.502 0.292 0.561 0.144 -0.058 -0.793 0.985 0.983 0.082 0.563 -0.609], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 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 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0 0 1], [0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1], [0 0 0 0 0 1 0 1 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 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1]
graham_scan
segments_intersect: x: [0.777 0.555 0.82 0.571], y: [0.551 0.043 0.329 0.516] intersect:
1
segments_intersect
find_maximum_subarray_kadane: key: [0.84 0.685 -0.738 -0.179 0.543 0.918 -0.101 0.654 0.3 0.91 0.977 -0.685 -0.783 0.206 -0.637 0.462 -0.446 -0.404 0.633 0.198 0.431 -0.835 -0.098], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 1), (0, 1), (0, 1), (0, 5), (0, 5), (0, 7), (0, 8), (0, 9), (0, 10), (0, 10), (0, 10), (0, 10), (0, 10), (0, 10), (0, 10), (0, 10), (0, 10), (0, 10), (0, 10), (0, 10) | (0, 10)
find_maximum_subarray_kadane
jarvis_march: x: [-0.205 -0.12 -0.82 -0.169 1.53 -0.853 0.332 1.68 0.341 1.03 0.725], y: [0.789 0.998 -0.876 -0.446 0.866 -0.444 1.51 -0.8 -1.44 -0.929 -1.13], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 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 1 1 0 0], [0 0 0 0 0 0 0 1 1 0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1 0 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 0 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 0] | [0 1 1 0 1 1 1 1 1 0 0]
jarvis_march
bellman_ford: s: 0, A: [[0 0 0 0.221 0 0 0.28 0 0 0], [0 0.598 0.565 0 0 0 0 0 0 0], [0 0.565 0.235 0 0 0.799 0 0 0 0], [0.221 0 0 0 0.551 0 0 0.583 0.177 0.67], [0 0 0 0.551 0 0 0.848 0.859 0 0], [0 0 0.799 0 0 0.83 0 0 0 0], [0.28 0 0 0 0.848 0 0 0 0.31 0], [0 0 0 0.583 0.859 0 0 0 0.219 0], [0 0 0 0.177 0 0 0.31 0.219 0.321 0], [0 0 0 0.67 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9] trace | pi:
[0 1 2 0 4 5 0 7 8 9], [0 1 2 0 3 5 0 3 3 3] | [0 1 2 0 3 5 0 8 3 3]
bellman_ford
dag_shortest_paths: s: 1, A: [[0 0.679 0 0.254 0.482 0.923 0.558 0 0 0 0.935 0 0 0 0.906], [0 0 0 0 0.28 0.2 0 0 0 0 0 0 0 0.621 0], [0.968 0.961 0 0 0 0 0 0 0.7 0.976 0 0.0172 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.345 0.0268 0 0 0 0.617 0.222], [0 0 0 0.791 0.0132 0 0 0 0.899 0 0 0 0 0.325 0], [0 0 0 0 0.522 0.592 0 0 0.931 0.563 0.392 0 0 0 0], [0 0 0 0 0 0 0.427 0 0.414 0.703 0 0 0.133 0.514 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.325 0 0 0 0 0 0.901 0 0 0 0.107 0.164], [0.153 0.846 0 0.968 0 0.314 0.645 0 0 0.321 0 0 0.955 0.237 0], [0 0 0 0.129 0 0 0.0593 0 0.525 0 0.348 0 0 0 0], [0 0 0 0 0 0 0 0 0.317 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.642 0 0 0 0 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 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 1 1 6 7 8 9 10 11 12 1 14], [0 1 2 5 5 1 6 7 5 9 10 11 12 5 14], [0 1 2 5 5 1 6 7 5 9 10 11 12 5 14], [0 1 2 5 5 1 6 7 4 4 10 11 12 5 4], [0 1 2 5 5 1 6 7 4 4 10 11 12 5 4], [0 1 2 5 5 1 6 7 4 4 10 11 12 5 4] | [0 1 2 5 5 1 6 7 4 4 10 11 12 5 4]
dag_shortest_paths
bellman_ford: s: 20, A: [[0 0 0.476 0 0 0 0 0.87 0 0 0 0 0 0 0 0 0 0 0 0 0 0.113 0 0 0 0 0 0 0 0 0.586], [0 0.439 0 0.521 0 0 0 0 0.24 0.195 0.363 0 0 0 0 0.977 0 0 0 0 0 0 0 0 0.708 0 0 0 0 0 0.426], [0.476 0 0 0 0 0 0 0 0 0 0 0.502 0.622 0 0 0 0 0 0 0 0.508 0 0 0.559 0.163 0 0 0 0 0.607 0.586], [0 0.521 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.387 0 0 0 0 0 0.42 0 0 0 0 0], [0 0 0 0 0.089 0.119 0 0 0.492 0 0 0.866 0 0 0 0 0 0 0 0.647 0 0 0 0 0.762 0 0.576 0 0 0 0], [0 0 0 0 0.119 0.129 0 0 0 0.884 0.32 0 0 0.264 0 0 0.223 0.412 0 0 0 0 0.45 0 0 0 0 0 0.464 0 0], [0 0 0 0 0 0 0.188 0.188 0 0 0.522 0 0 0 0 0.614 0 0 0.404 0.4 0 0 0 0 0 0 0 0 0 0 0], [0.87 0 0 0 0 0 0.188 0.048 0 0 0 0.604 0.358 0.718 0.261 0.462 0 0 0 0 0 0.312 0 0 0 0 0 0.242 0 0 0], [0 0.24 0 0 0.492 0 0 0 0.046 0 0 0.506 0.486 0.616 0 0 0.214 0.353 0.347 0 0 0.239 0 0 0 0 0 0 0 0 0], [0 0.195 0 0 0 0.884 0 0 0 0 0 0.297 0 0.713 0.484 0.222 0 0 0 0 0 0.361 0 0 0 0.772 0.623 0 0 0 0], [0 0.363 0 0 0 0.32 0.522 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.74 0 0 0.331 0.545 0.38 0 0.504 0.332], [0 0 0.502 0 0.866 0 0 0.604 0.506 0.297 0 0 0 0.406 0.411 0 0 0 0 0 0 0.327 0.338 0 0 0 0 0 0.474 0 0], [0 0 0.622 0 0 0 0 0.358 0.486 0 0 0 0.688 0 0 0 0.081 0 0.206 0 0 0 0 0 0.094 0 0.764 0 0 0 0], [0 0 0 0 0 0.264 0 0.718 0.616 0.713 0 0.406 0 0 0 0 0 0.5 0.404 0 0 0 0.17 0 0.429 0 0.491 0.282 0 0 0.716], [0 0 0 0 0 0 0 0.261 0 0.484 0 0.411 0 0 0.803 0.137 0.934 0.271 0 0 0.216 0 0 0 0.552 0 0 0 0 0.769 0], [0 0.977 0 0 0 0 0.614 0.462 0 0.222 0 0 0 0 0.137 0.344 0 0 0.438 0.244 0.174 0 0.083 0 0.783 0 0.602 0.511 0 0 0], [0 0 0 0 0 0.223 0 0 0.214 0 0 0 0.081 0 0.934 0 0 0 0 0 0.298 0 0 0.395 0 0 0 0 0 0 0], [0 0 0 0 0 0.412 0 0 0.353 0 0 0 0 0.5 0.271 0 0 0.783 0 0 0 0 0 0 0 0 0 0.251 0 0 0], [0 0 0 0 0 0 0.404 0 0.347 0 0 0 0.206 0.404 0 0.438 0 0 0 0 0.422 0.618 0 0 0 0 0 0 0 0 0], [0 0 0 0.387 0.647 0 0.4 0 0 0 0 0 0 0 0 0.244 0 0 0 0.23 0.565 0.064 0 0 0.368 0.181 0 0 0 0 0], [0 0 0.508 0 0 0 0 0 0 0 0 0 0 0 0.216 0.174 0.298 0 0.422 0.565 0.483 0.467 0 0.569 0 0 0 0.203 0 0 0], [0.113 0 0 0 0 0 0 0.312 0.239 0.361 0 0.327 0 0 0 0 0 0 0.618 0.064 0.467 0.179 0.066 0 0 0.574 0.603 0 0 0 0], [0 0 0 0 0 0.45 0 0 0 0 0.74 0.338 0 0.17 0 0.083 0 0 0 0 0 0.066 0 0 0.107 0 0.431 0.728 0 0 0], [0 0 0.559 0 0 0 0 0 0 0 0 0 0 0 0 0 0.395 0 0 0 0.569 0 0 0 0 0 0 0 0.793 0 0], [0 0.708 0.163 0 0.762 0 0 0 0 0 0 0 0.094 0.429 0.552 0.783 0 0 0 0.368 0 0 0.107 0 0.941 0.426 0.658 0 0 0 0], [0 0 0 0.42 0 0 0 0 0 0.772 0.331 0 0 0 0 0 0 0 0 0.181 0 0.574 0 0 0.426 0 0 0.443 0.542 0 0], [0 0 0 0 0.576 0 0 0 0 0.623 0.545 0 0.764 0.491 0 0.602 0 0 0 0 0 0.603 0.431 0 0.658 0 0 0 0 0.293 0], [0 0 0 0 0 0 0 0.242 0 0 0.38 0 0 0.282 0 0.511 0 0.251 0 0 0.203 0 0.728 0 0 0.443 0 0 0 0.155 0], [0 0 0 0 0 0.464 0 0 0 0 0 0.474 0 0 0 0 0 0 0 0 0 0 0 0.793 0 0.542 0 0 0.542 0.602 0], [0 0 0.607 0 0 0 0 0 0 0 0.504 0 0 0 0.769 0 0 0 0 0 0 0 0 0 0 0 0.293 0.155 0.602 0.35 0], [0.586 0.426 0.586 0 0 0 0 0 0 0 0.332 0 0 0.716 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.633]], 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 20 3 4 5 6 7 8 9 10 11 12 13 20 20 20 17 20 20 20 20 22 20 24 25 26 20 28 29 30], [21 15 20 19 19 16 15 27 16 15 27 14 16 27 20 20 20 27 20 15 20 20 15 20 2 27 15 20 23 27 2], [21 9 20 19 5 16 7 27 16 15 27 22 16 22 20 20 20 27 20 15 20 22 15 20 22 19 29 20 29 27 10], [21 9 20 19 5 16 7 27 16 15 27 22 16 22 20 20 20 27 20 21 20 22 15 20 22 19 29 20 29 27 10] | [21 9 20 19 5 16 7 27 16 15 27 22 16 22 20 20 20 27 20 21 20 22 15 20 22 19 29 20 29 27 10]
bellman_ford
minimum: key: [0.749 0.839 0.166 0.617 0.842], initial_trace: 0 trace | min:
0, 2, 2 | 2
minimum
graham_scan: x: [-0.753 -1.02 -0.183 -0.703 -0.044 -1.43 -0.034 -0.674 1.18 -0.031 -1.29 1.28 -1.82 -1.05 -0.278 -0.419 -0.186 0.553 -0.12 1.15 1.08 -1.44 1.02 -0.438 0.888 -1.35 -0.535 1.08], y: [-1.01 -0.105 1.41 -1.35 0.137 -1.25 -0.721 0.593 -0.015 1.95 -1.35 -0.423 0.493 0.477 0.368 -0.727 -1.6 1.05 1.8 0.391 1.23 -1.11 0.154 -1.05 -1.7 -1.15 1.1 -0], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1], [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 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0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 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0], [0 0 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0], [0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0] | [0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0]
graham_scan
graham_scan: x: [-1.82 1.17 -0.75 1.24 1.76 -1.34 -0.015 1.07 -1.5 -1.5 -0.423 0.002], y: [-0.584 0.229 0.111 1.08 -0.311 0.903 1.18 -0.793 0.924 0.263 0.164 -0.923], 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 0 0 1], [0 0 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 0 1 0 0 1 0 0 0 1], [0 1 0 0 1 0 0 1 0 0 0 1], [0 0 0 0 1 0 0 1 0 0 0 1], [0 0 0 1 1 0 0 1 0 0 0 1], [0 0 0 1 1 0 1 1 0 0 0 1], [0 0 0 1 1 0 1 1 0 0 1 1], [0 0 0 1 1 0 1 1 0 0 0 1], [0 0 1 1 1 0 1 1 0 0 0 1], [0 0 0 1 1 0 1 1 0 0 0 1], [0 0 0 1 1 1 1 1 0 0 0 1], [0 0 0 1 1 0 1 1 0 0 0 1], [0 0 0 1 1 0 1 1 1 0 0 1], [0 0 0 1 1 0 1 1 1 1 0 1], [0 0 0 1 1 0 1 1 1 0 0 1] | [1 0 0 1 1 0 1 1 1 0 0 1]
graham_scan
dijkstra: s: 3, A: [[0.926 0 0 0], [0 0.28 0 0], [0 0 0.164 0], [0 0 0 0.367]], initial_trace: [0 1 2 3] trace | pi:
| [0 1 2 3]
dijkstra
bfs: s: 29, A: [[0 1 0 0 0 1 0 1 0 1 0 1 1 0 0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 29 25 26 29 28 29 30] | [9 8 29 2 15 9 29 6 29 29 6 8 6 9 9 29 15 29 17 15 29 2 2 29 29 2 17 29 2 29 15]
bfs
kmp_matcher: string: [0 0 0 0 1], key: [0 2 1 0 1], initial_trace: 0 trace | s:
0, 1 | 2
kmp_matcher
binary_search: key: [0.019 0.055 0.056 0.158 0.162 0.165 0.169 0.192 0.22 0.236 0.261 0.31 0.373 0.407 0.481 0.59 0.608 0.639 0.695 0.757 0.801 0.827 0.833 0.856 0.894 0.912 0.92 0.925 0.944 0.955 0.955], target: 0.449, initial_trace: (0, 30) trace | (low, high):
(0, 15), (8, 15), (12, 15), (14, 15) | (14, 14)
binary_search
mst_prim: s: 3, A: [[0.736 0.348 0 0.428 0 0 0 0 0 0.17 0.483 0 0 0 0 0.305 0 0 0 0.609 0.261 0 0.438 0 0 0 0.613 0], [0.348 0.23 0 0 0.884 0 0 0.883 0.128 0.795 0 0 0 0.875 0 0 0 0 0 0 0 0 0 0 0.638 0 0 0], [0 0 0 0 0 0.087 0.292 0 0 0 0 0 0 0.392 0 0 0 0 0 0 0 0 0 0 0.445 0.704 0 0.321], [0.428 0 0 0 0 0 0.248 0.28 0.083 0.053 0 0 0.729 0 0 0 0.097 0 0 0 0 0.642 0 0.757 0 0.322 0.203 0.093], [0 0.884 0 0 0 0 0 0.54 0 0 0 0 0.399 0 0 0 0 0 0 0 0 0.206 0 0 0 0 0.036 0.362], [0 0 0.087 0 0 0 0 0 0.406 0 0 0.155 0.339 0 0 0 0 0 0 0 0 0.641 0.355 0.54 0 0.113 0 0], [0 0 0.292 0.248 0 0 0 0 0 0 0 0 0 0 0 0.155 0.339 0.428 0.309 0 0 0 0 0.325 0 0 0.384 0.438], [0 0.883 0 0.28 0.54 0 0 0 0 0 0 0 0 0 0.063 0 0 0 0 0 0 0.671 0 0 0 0 0 0], [0 0.128 0 0.083 0 0.406 0 0 0 0.326 0.509 0 0 0.969 0.646 0 0 0.75 0 0 0 0 0 0.342 0.801 0 0 0], [0.17 0.795 0 0.053 0 0 0 0 0.326 0.421 0 0 0 0 0 0.301 0.3 0.107 0 0 0 0.669 0 0.1 0 0 0.807 0], [0.483 0 0 0 0 0 0 0 0.509 0 0.768 0 0 0 0 0 0 0 0 0 0.164 0.174 0 0 0 0.84 0.037 0], [0 0 0 0 0 0.155 0 0 0 0 0 0.697 0 0 0 0 0 0 0 0 0 0.47 0 0.383 0 0.293 0 0], [0 0 0 0.729 0.399 0.339 0 0 0 0 0 0 0 0 0 0.645 0 0 0 0 0 0 0 0 0 0 0.792 0.899], [0 0.875 0.392 0 0 0 0 0 0.969 0 0 0 0 0.724 0 0 0.374 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.063 0.646 0 0 0 0 0 0.249 0 0 0 0 0.303 0 0 0 0 0 0.84 0 0], [0.305 0 0 0 0 0 0.155 0 0 0.301 0 0 0.645 0 0 0.341 0 0 0.723 0 0 0.411 0.228 0 0 0 0 0], [0 0 0 0.097 0 0 0.339 0 0 0.3 0 0 0 0.374 0 0 0.205 0.377 0 0 0 0 0 0 0 0.458 0 0], [0 0 0 0 0 0 0.428 0 0.75 0.107 0 0 0 0 0 0 0.377 0 0 0 0.656 0.793 0 0 0.368 0 0.162 0], [0 0 0 0 0 0 0.309 0 0 0 0 0 0 0 0 0.723 0 0 0 0 0 0 0.841 0 0 0.204 0 0], [0.609 0 0 0 0 0 0 0 0 0 0 0 0 0 0.303 0 0 0 0 0.834 0.675 0 0 0.73 0 0 0 0], [0.261 0 0 0 0 0 0 0 0 0 0.164 0 0 0 0 0 0 0.656 0 0.675 0.161 0 0 0 0.222 0 0 0.219], [0 0 0 0.642 0.206 0.641 0 0.671 0 0.669 0.174 0.47 0 0 0 0.411 0 0.793 0 0 0 0.197 0 0 0.574 0 0.366 0], [0.438 0 0 0 0 0.355 0 0 0 0 0 0 0 0 0 0.228 0 0 0.841 0 0 0 0 0 0.375 0.41 0 0.249], [0 0 0 0.757 0 0.54 0.325 0 0.342 0.1 0 0.383 0 0 0 0 0 0 0 0.73 0 0 0 0 0.318 0 0 0.051], [0 0.638 0.445 0 0 0 0 0 0.801 0 0 0 0 0 0 0 0 0.368 0 0 0.222 0.574 0.375 0.318 0 0 0 0.228], [0 0 0.704 0.322 0 0.113 0 0 0 0 0.84 0.293 0 0 0.84 0 0.458 0 0.204 0 0 0 0.41 0 0 0.045 0.644 0], [0.613 0 0 0.203 0.036 0 0.384 0 0 0.807 0.037 0 0.792 0 0 0 0 0.162 0 0 0 0.366 0 0 0 0.644 0.153 0], [0 0 0.321 0.093 0.362 0 0.438 0 0 0 0 0 0.899 0 0 0 0 0 0 0 0.219 0 0.249 0.051 0.228 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27] trace | pi:
[3 1 2 3 4 5 3 3 3 3 10 11 3 13 14 15 3 17 18 19 20 3 22 3 24 3 3 3], [9 9 2 3 4 5 3 3 3 3 10 11 3 13 14 9 3 9 18 19 20 3 22 9 24 3 3 3], [9 8 2 3 4 8 3 3 3 3 8 11 3 8 8 9 3 9 18 19 20 3 22 9 8 3 3 3], [9 8 27 3 27 8 3 3 3 3 8 11 3 8 8 9 3 9 18 19 27 3 27 27 27 3 3 3], [9 8 27 3 27 8 3 3 3 3 8 23 3 8 8 9 3 9 18 23 27 3 27 27 27 3 3 3], [9 8 27 3 27 8 3 3 3 3 8 23 3 16 8 9 3 9 18 23 27 3 27 27 27 3 3 3], [9 8 27 3 27 8 3 3 3 3 8 23 3 16 8 9 3 9 18 23 27 3 27 27 27 3 17 3], [9 8 27 3 27 8 3 3 3 3 8 23 3 16 8 9 3 9 18 23 27 3 27 27 27 3 17 3], [9 8 27 3 26 8 3 3 3 3 26 23 3 16 8 9 3 9 18 23 27 26 27 27 27 3 17 3], [9 8 27 3 26 8 3 3 3 3 26 23 4 16 8 9 3 9 18 23 27 4 27 27 27 3 17 3], [9 8 27 3 26 8 3 3 3 3 26 23 4 16 8 9 3 9 18 23 10 10 27 27 27 3 17 3], [9 8 27 3 26 8 3 3 3 3 26 23 4 16 8 9 3 9 18 20 10 10 27 27 20 3 17 3], [9 8 27 3 26 8 3 3 3 3 26 23 4 16 8 9 3 9 18 0 10 10 27 27 20 3 17 3], [9 8 27 3 26 8 3 3 3 3 26 23 4 16 8 9 3 9 18 0 10 10 27 27 20 3 17 3], [9 8 27 3 26 8 3 3 3 3 26 23 4 16 8 9 3 9 18 0 10 10 27 27 20 3 17 3], [9 8 6 3 26 8 3 3 3 3 26 23 4 16 8 6 3 9 6 0 10 10 27 27 20 3 17 3], [9 8 6 3 26 8 3 3 3 3 26 23 4 16 8 6 3 9 6 0 10 10 15 27 20 3 17 3], [9 8 6 3 26 22 3 3 3 3 26 23 4 16 8 6 3 9 6 0 10 10 15 27 20 3 17 3], [9 8 6 3 26 22 3 3 3 3 26 23 4 16 7 6 3 9 6 0 10 10 15 27 20 3 17 3], [9 8 6 3 26 22 3 3 3 3 26 23 4 16 7 6 3 9 6 14 10 10 15 27 20 3 17 3], [9 8 6 3 26 2 3 3 3 3 26 23 4 16 7 6 3 9 6 14 10 10 15 27 20 3 17 3], [9 8 6 3 26 2 3 3 3 3 26 5 5 16 7 6 3 9 6 14 10 10 15 27 20 5 17 3], [9 8 6 3 26 2 3 3 3 3 26 5 5 16 7 6 3 9 25 14 10 10 15 27 20 5 17 3], [9 8 6 3 26 2 3 3 3 3 26 5 5 16 7 6 3 9 25 14 10 10 15 27 20 5 17 3], [9 8 6 3 26 2 3 3 3 3 26 5 5 16 7 6 3 9 25 14 10 10 15 27 20 5 17 3], [9 8 6 3 26 2 3 3 3 3 26 5 5 16 7 6 3 9 25 14 10 10 15 27 20 5 17 3], [9 8 6 3 26 2 3 3 3 3 26 5 5 16 7 6 3 9 25 14 10 10 15 27 20 5 17 3] | [9 8 6 3 26 2 3 3 3 3 26 5 5 16 7 6 3 9 25 14 10 10 15 27 20 5 17 3]
mst_prim
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [1 0 2 2 1 0 1 1 2 2 1 0 1 2 3 2 2 2 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 1 | 2
kmp_matcher
minimum: key: [0.111 0.178 0.503 0.327 0.452 0.827 0.999 0.537 0.959 0.551 0.351 0.568 0.431 0.033 0.644 0.693 0.765 0.241 0.55 0.383 0.076 0.215 0.15], initial_trace: 0 trace | min:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 13, 13, 13, 13, 13, 13, 13, 13 | 13
minimum
bfs: s: 0, A: [[0 0 0 0 0], [0 1 0 0 0], [0 0 1 1 0], [0 0 1 0 1], [0 0 0 1 1]], initial_trace: [0 1 2 3 4] trace | pi:
| [0 1 2 3 4]
bfs
bfs: s: 2, A: [[1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1], [1 1 1 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 1 1 1 1 0 1 1 0 0 0], [0 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0], [0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 0], [0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0 1 0 1 1 0], [0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 1 1 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 1 1], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0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13 14 15 16 17 18 19 20 21 22 23 24 25 26 27] trace | pi:
[0 2 2 3 4 5 6 7 2 9 2 11 12 13 14 15 16 17 18 2 20 21 22 23 24 25 2 2], [1 2 2 10 4 1 6 26 2 10 2 1 1 13 19 19 1 1 1 2 1 1 8 1 1 26 2 2] | [1 2 2 10 3 1 12 26 2 10 2 1 1 9 19 19 1 1 1 2 1 1 8 1 1 26 2 2]
bfs
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1], key: [1 0 3 0 2 3 0 3 2 2 0 3 0 3 3 3 0 3 1 3 3 0 3], initial_trace: 0 trace | s:
1, 2, 2, 3, 4, 5, 5, 6, 7, 7, 8, 9, 10, 11, 11, 12, 13, 13, 13, 14, 14, 14 | 14
naive_string_matcher
quicksort: key: [0.772 0.056 0.155 0.809 0.226], initial_trace: [0.772 0.056 0.155 0.809 0.226] trace | pred:
[0.056 0.772 0.155 0.809 0.226], [0.056 0.155 0.772 0.809 0.226], [0.056 0.155 0.772 0.809 0.226], [0.056 0.155 0.226 0.809 0.772], [0.056 0.155 0.226 0.809 0.772], [0.056 0.155 0.226 0.809 0.772], [0.056 0.155 0.226 0.809 0.772] | [0.056 0.155 0.226 0.772 0.809]
quicksort
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 1 1], key: [0 2 2 2 2 1 0 3 3 1 0], initial_trace: 0 trace | s:
0, 0, 0, 1, 2, 3, 4 | 5
kmp_matcher
binary_search: key: [0.088 0.182 0.264 0.306 0.358 0.398 0.404 0.412 0.426 0.46 0.564 0.568 0.602 0.609 0.611 0.619 0.634 0.738 0.753 0.783 0.881 0.906 0.929], target: 0.329, initial_trace: (0, 22) trace | (low, high):
(0, 11), (0, 5), (3, 5), (3, 4) | (4, 4)
binary_search
bellman_ford: s: 15, A: [[0 0 0 0 0 0 0 0 0 0 0 0.584 0.611 0 0 0 0.232 0 0.279], [0 0 0 0.33 0 0.203 0.154 0 0 0 0 0 0.108 0 0 0 0 0.392 0], [0 0 0 0 0 0 0 0 0 0 0 0.496 0 0 0 0 0.259 0 0.559], [0 0.33 0 0.832 0 0.533 0.531 0 0 0 0 0.674 0 0 0 0.505 0 0 0], [0 0 0 0 0.632 0 0 0 0.511 0 0 0.56 0 0.803 0 0 0 0 0], [0 0.203 0 0.533 0 0.694 0 0 0.183 0 0 0.2 0 0.149 0 0 0 0.548 0], [0 0.154 0 0.531 0 0 0 0 0 0 0 0.22 0 0.372 0 0 0.311 0 0.22], [0 0 0 0 0 0 0 0 0.499 0.45 0 0 0 0 0 0.292 0 0 0], [0 0 0 0 0.511 0.183 0 0.499 0 0.226 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.45 0.226 0 0.615 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.615 0 0 0 0 0 0 0 0 0.492], [0.584 0 0.496 0.674 0.56 0.2 0.22 0 0 0 0 0 0 0 0 0 0 0.456 0.285], [0.611 0.108 0 0 0 0 0 0 0 0 0 0 0.101 0 0 0 0 0 0], [0 0 0 0 0.803 0.149 0.372 0 0 0 0 0 0 0 0.956 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.956 0 0 0.316 0 0.066], [0 0 0 0.505 0 0 0 0.292 0 0 0 0 0 0 0 0.148 0 0 0], [0.232 0 0.259 0 0 0 0.311 0 0 0 0 0 0 0 0.316 0 0.308 0 0], [0 0.392 0 0 0 0.548 0 0 0 0 0 0.456 0 0 0 0 0 0.033 0], [0.279 0 0.559 0 0 0 0.22 0 0 0 0.492 0.285 0 0 0.066 0 0 0 0.604]], 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 15 4 5 6 15 8 9 10 11 12 13 14 15 16 17 18], [0 3 2 15 4 3 3 15 7 7 10 3 12 13 14 15 16 17 18], [11 3 11 15 8 8 1 15 7 7 9 3 1 5 14 15 6 1 6], [18 3 16 15 8 8 1 15 7 7 9 5 1 5 18 15 6 1 6] | [18 3 16 15 8 8 1 15 7 7 9 5 1 5 18 15 6 1 6]
bellman_ford
task_scheduling: d: [1 9 2 2 6 10 4 6 3 2], w: [0.644 0.846 0.322 0.051 0.044 0.785 0.594 0.94 0.39 0.849], initial_trace: [0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 1 0 1], [0 1 0 0 0 0 0 1 0 1], [0 1 0 0 0 1 0 1 0 1], [0 1 0 0 0 1 0 1 0 1], [0 1 0 0 0 1 0 1 0 1], [0 1 0 0 0 1 0 1 0 1], [0 1 0 0 0 1 0 1 0 1], [0 1 0 0 0 1 0 1 0 1] | [0 1 0 0 1 1 0 1 0 1]
task_scheduling
dijkstra: s: 13, A: [[0 0.736 0.148 0 0 0.51 0.852 0 0 0 0 0 0 0 0 0 0 0 0], [0.736 0.14 0 0.506 0 0 0 0.208 0.79 0 0 0 0 0 0 0 0 0 0], [0.148 0 0.767 0 0 0.465 0 0 0.563 0 0 0 0 0 0.419 0 0 0 0], [0 0.506 0 0 0.2 0 0 0 0 0 0 0 0 0 0 0 0.371 0 0], [0 0 0 0.2 0.642 0 0 0.605 0 0 0.35 0.641 0 0.599 0 0 0 0 0], [0.51 0 0.465 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.565 0], [0.852 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.741 0.144], [0 0.208 0 0 0.605 0 0 0.59 0 0.242 0.701 0 0 0 0.548 0 0 0 0], [0 0.79 0.563 0 0 0 0 0 0 0.452 0.113 0 0 0 0 0.229 0 0 0], [0 0 0 0 0 0 0 0.242 0.452 0 0.654 0.041 0 0 0 0 0 0 0], [0 0 0 0 0.35 0 0 0.701 0.113 0.654 0 0 0 0 0 0.374 0 0.403 0], [0 0 0 0 0.641 0 0 0 0 0.041 0 0 0 0.505 0 0 0.414 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.507 0 0 0 0], [0 0 0 0 0.599 0 0 0 0 0 0 0.505 0 0.055 0 0 0.259 0.494 0], [0 0 0.419 0 0 0 0 0.548 0 0 0 0 0.507 0 0 0 0.516 0 0], [0 0 0 0 0 0 0 0 0.229 0 0.374 0 0 0 0 0.921 0 0.643 0.342], [0 0 0 0.371 0 0 0 0 0 0 0 0.414 0 0.259 0.516 0 0.84 0.641 0], [0 0 0 0 0 0.565 0.741 0 0 0 0.403 0 0 0.494 0 0.643 0.641 0 0], [0 0 0 0 0 0 0.144 0 0 0 0 0 0 0 0 0.342 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18] trace | pi:
[0 1 2 3 13 5 6 7 8 9 10 13 12 13 14 15 13 13 18], [0 1 2 16 13 5 6 7 8 9 10 13 12 13 16 15 13 13 18], [0 1 2 16 13 17 17 7 8 9 17 13 12 13 16 17 13 13 18], [0 1 2 16 13 17 17 7 8 11 17 13 12 13 16 17 13 13 18], [0 1 2 16 13 17 17 9 9 11 17 13 12 13 16 17 13 13 18], [0 1 2 16 13 17 17 9 9 11 17 13 12 13 16 17 13 13 18], [0 3 2 16 13 17 17 9 9 11 17 13 12 13 16 17 13 13 18], [0 3 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 18], [0 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 18], [0 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 18], [1 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 18], [1 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 18], [5 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 18], [5 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 15], [2 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 15], [2 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 6], [2 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 6], [2 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 6] | [2 7 14 16 13 17 17 9 9 11 17 13 14 13 16 17 13 13 6]
dijkstra
activity_selector: s: [0.441 0.048 0.278 0.419 0.271 0.158 0.149 0.026 0.62 0.087 0.095 0.4 0.056 0.192 0.389 0.122 0.625 0.557 0.577], f: [0.786 0.347 0.284 0.433 0.773 0.162 0.943 0.639 0.928 0.107 0.403 0.912 0.618 0.437 0.823 0.664 0.651 0.86 0.825], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0], [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0] | [0 0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0]
activity_selector
mst_prim: s: 8, A: [[0.126 0 0 0 0 0.247 0 0.534 0 0 0 0 0 0 0], [0 0 0 0.62 0 0 0.039 0 0 0 0 0 0.388 0 0], [0 0 0 0.632 0 0 0 0 0 0 0.033 0 0.384 0 0], [0 0.62 0.632 0 0 0 0 0 0 0.516 0 0 0.256 0 0.219], [0 0 0 0 0.341 0 0.641 0.683 0 0 0 0 0 0 0.377], [0.247 0 0 0 0 0 0 0 0 0 0 0.439 0.67 0 0], [0 0.039 0 0 0.641 0 0 0 0 0.69 0 0 0 0 0], [0.534 0 0 0 0.683 0 0 0.637 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.516 0 0 0.69 0 0 0 0 0 0 0 0], [0 0 0.033 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.439 0 0 0 0 0 0.455 0 0 0.662], [0 0.388 0.384 0.256 0 0.67 0 0 0 0 0 0 0 0.584 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.584 0 0.194], [0 0 0 0.219 0.377 0 0 0 0 0 0 0.662 0 0.194 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 13 14]
mst_prim
bridges: A: [[0 0 0 0], [0 1 0 0], [0 0 1 0], [0 0 0 0]], initial_trace: [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]] trace | is_bridge:
[[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]], [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]] | [[0 -1 -1 -1], [-1 0 -1 -1], [-1 -1 0 -1], [-1 -1 -1 0]]
bridges
activity_selector: s: [0.295 0.164 0.475 0.052 0.039 0.67 0.412 0.238 0.417 0.164 0.013], f: [0.533 0.86 0.906 0.231 0.863 0.83 0.919 0.986 0.813 0.531 0.09], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 1], [0 0 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 1 1], [0 0 0 0 0 0 0 0 0 1 1], [0 0 0 0 0 1 0 0 0 1 1], [0 0 0 0 0 1 0 0 0 1 1], [0 0 0 0 0 1 0 0 0 1 1], [0 0 0 0 0 1 0 0 0 1 1], [0 0 0 0 0 1 0 0 0 1 1] | [0 0 0 0 0 1 0 0 0 1 1]
activity_selector
binary_search: key: [0.089 0.196 0.278 0.279 0.289 0.397 0.579 0.863 0.865 0.914 0.965 0.981], target: 0.938, initial_trace: (0, 11) trace | (low, high):
(6, 11), (9, 11), (9, 10) | (10, 10)
binary_search
find_maximum_subarray_kadane: key: [-0.41 0.588 -0.037 0.665 -0.206 0.067 -0.357 0.109 -0.634 -0.429 -0.336 -0.681 0.628 0.779 0.514 -0.396 -0.782 -0.481 -0.64 0.468 0.828 -0.947 0.26], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (1, 3), (1, 3), (1, 3), (1, 3), (1, 3), (1, 3), (1, 3), (1, 3), (1, 3), (1, 3), (12, 13), (12, 14), (12, 14), (12, 14), (12, 14), (12, 14), (12, 14), (12, 14), (12, 14) | (12, 14)
find_maximum_subarray_kadane
minimum: key: [0.724 0.568 0.092 0.311 0.405 0.387 0.675 0.162 0.295 0.794 0.482 0.833 0.397 0.533 0.321 0.555 0.183 0.285 0.332 0.159 0.814 0.889 0.757 0.302 0.109 0.26 0.18 0.734 0.914 0.026 0.63], initial_trace: 0 trace | min:
1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 29 | 29
minimum
matrix_chain_order: p: [0.326 0.759 0.781 0.768], 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 2], [0 0 0 2], [0 0 0 0]]
matrix_chain_order
strongly_connected_components: A: [[0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 1 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 0 0], [0 1 0 0 0 0 1 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 1 0 0 0 1], [0 0 1 0 0 0 0 1 0 0 0], [1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 1 0 0 0 1], [0 0 0 0 1 0 1 0 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | scc_id:
[0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 1 5 6 7 8 9 10], [0 1 2 3 1 5 6 7 8 1 10], [0 1 2 3 1 5 6 7 8 1 1], [0 1 2 3 1 5 1 7 8 1 1], [0 1 2 3 1 5 1 7 8 1 1], [0 1 2 3 1 5 1 7 8 1 1], [0 1 2 3 1 5 1 7 8 1 1], [0 1 2 3 1 5 1 7 8 1 1], [0 1 2 3 1 5 1 7 8 1 1], [0 1 2 3 1 5 1 7 8 1 1], [0 1 2 3 1 5 1 7 8 1 1], [0 1 2 3 1 5 1 7 0 1 1] | [0 1 2 3 1 5 1 7 0 1 1]
strongly_connected_components
find_maximum_subarray_kadane: key: [0.09 0.762 -0.301 -0.522 -0.794 -0.381 0.704 0.33 -0.455 0.981 -0.021 0.863 0.906 -0.213 -0.863], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (6, 7), (6, 7), (6, 9), (6, 9), (6, 11), (6, 12), (6, 12) | (6, 12)
find_maximum_subarray_kadane
activity_selector: s: [0.214 0.006 0.973 0.325], f: [0.777 0.874 0.993 0.821], initial_trace: [0 0 0 0] trace | selected:
[1 0 0 0], [1 0 0 0], [1 0 0 0] | [1 0 1 0]
activity_selector
kmp_matcher: string: [0 0 0 0 0 0 0 0 1 1], key: [3 0 2 0 3 1 0 2 3 0], initial_trace: 0 trace | s:
0, 0 | 0
kmp_matcher
task_scheduling: d: [11 14 22 7 3 19 9 13 19 23 3 25 25 9 10 16 8 6 21 24 14 9 28 25 3 24 12 12], w: [0.154 0.029 0.653 0.958 0.127 0.715 0.517 0.698 0.169 0.627 0.035 0.413 0.032 0.9 0.976 0.432 0.949 0.591 0.148 0.922 0.39 0.262 0.069 0.497 0.836 0.354 0.101 0.504], 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 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 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 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0 1 1 1 0 1 0 1 1 1 1 0 1 1 1 0 0 1 0 1 0 1], [0 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 1 0 1 1 1 0 0 1 0 1 0 1], [0 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 0 1], [0 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 0 1], [0 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 1 0 1 1 1 0 1 1 0 1 0 1] | [0 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 1 0 1 1 1 0 1 1 0 1 0 1]
task_scheduling
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: [2 1 1 2 3 2 2 3 1 3 1 0 2 2 3 3 1 1 3 2 3 0 3 1 0 2 2 3], initial_trace: 0 trace | s:
1, 1, 2, 2, 3, 4, 5, 6, 7, 8, 8, 9, 10, 10, 10, 10 | 10
naive_string_matcher
find_maximum_subarray_kadane: key: [-0.571 -0.562 -0.75 0.996 -0.62 -0.646 -0.695 -0.329 -0.639 -0.874 0.763 0.303 0.658 -0.749 0.803 -0.985 -0.511 0.018 0.042], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (3, 3), (10, 11), (10, 12), (10, 12), (10, 14), (10, 14), (10, 14), (10, 14) | (10, 14)
find_maximum_subarray_kadane
quickselect: key: [0.227 0.736 0.056 0.504 0.442 0.875 0.514 0.588 0.467 0.355], initial_trace: 9 trace | pivot:
9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1, 8, 8, 8, 8, 8, 3, 3 | 3
quickselect
minimum: key: [0.942 0.525 0.471 0.708 0.186 0.893 0.299 0.505 0.042 0.712 0.719 0.034 0.964 0.806 0.702 0.143 0.123 0.949 0.771 0.407 0.586 0.214 0.704], initial_trace: 0 trace | min:
1, 2, 2, 4, 4, 4, 4, 8, 8, 8, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11 | 11
minimum
binary_search: key: [0.096 0.131 0.133 0.303 0.327 0.331 0.334 0.469 0.513 0.564 0.68 0.695 0.7 0.863 0.91], target: 0.472, initial_trace: (0, 14) trace | (low, high):
(8, 14), (8, 11), (8, 9) | (8, 8)
binary_search