question
stringlengths 65
3.42k
| answer
stringlengths 3
5.8k
| algo_name
stringclasses 30
values |
---|---|---|
task_scheduling:
d: [17 7 13 15 12 17 20 21 5 7 3 6 2 2 22 12 19 8 7 14 16 6 18], w: [0.223 0.406 0.937 0.607 0.816 0.525 0.526 0.007 0.653 0.213 0.79 0.077 0.652 0.59 0.191 0.313 0.715 0.582 0.95 0.416 0.599 0.298 0.311], 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 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 1 0 0 0 0 0 0 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 0 0 0 1 0 0 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], [0 0 1 0 1 0 0 0 1 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 0 0 0 0 1 0 1 0 0 0 0], [0 0 1 1 1 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0], [0 0 1 1 1 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 0], [0 0 1 1 1 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 1 0 0], [0 0 1 1 1 0 0 0 1 0 0 0 0 0 0 0 1 1 1 0 1 0 0], [0 0 1 1 1 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 1 0 0], [0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 0 1 1 1 0 1 0 0], [0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0], [0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0], [0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 0], [0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 1], [0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 1], [1 0 1 1 1 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 1], [1 0 1 1 1 1 1 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 1], [1 0 1 1 1 1 1 0 1 0 0 0 0 0 1 1 1 1 1 1 1 0 1], [1 0 1 1 1 1 1 0 1 0 0 0 0 0 1 1 1 1 1 1 1 0 1] | [1 0 1 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 0 1]
| task_scheduling |
matrix_chain_order:
p: [0.506 0.275 0.448 0.154 0.784], 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 |
minimum:
key: [0.378 0.297 0.779 0.395 0.516 0.676 0.253 0.099 0.91 0.276 0.836 0.376 0.815 0.554 0.91 0.14 0.362 0.352 0.093 0.033 0.346 0.614 0.951 0.783 0.938 0.366 0.742 0.568], initial_trace: 0
trace | min:
| 1, 1, 1, 1, 1, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 18, 19, 19, 19, 19, 19, 19, 19, 19 | 19
| minimum |
dag_shortest_paths:
s: 2, A: [[0 0 0 0 0 0 0 0 0.275 0 0 0 0 0 0 0 0 0 0], [0.869 0 0.943 0 0 0.123 0 0 0 0 0 0 0 0.267 0 0 0 0 0.213], [0.0342 0 0 0 0 0 0 0 0 0 0 0.391 0 0.929 0 0 0 0 0], [0 0.38 0 0 0 0.726 0 0.642 0 0.414 0 0 0.481 0 0.949 0 0.562 0.689 0.733], [0.166 0.051 0 0 0 0 0 0 0 0 0 0 0 0.065 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.658 0.856 0 0 0 0 0 0 0 0 0 0 0.779 0 0 0 0.673 0], [0 0.121 0.705 0 0 0 0 0 0.683 0 0 0.201 0 0.247 0 0 0 0 0.542], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.0315 0.642 0.857 0 0.528 0 0 0 0 0 0 0.881 0.64 0.924 0 0 0 0 0.803], [0.277 0.269 0 0 0.49 0.641 0 0.521 0 0 0 0 0.444 0.572 0 0 0 0 0.287], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.0455 0 0 0 0 0 0 0 0 0 0.332 0 0 0 0 0 0 0.842], [0.383 0 0 0 0 0 0 0 0.616 0 0 0 0 0 0 0 0 0 0.158], [0.945 0 0.17 0 0 0 0 0.86 0.754 0.537 0 0.826 0 0.136 0 0 0 0 0], [0.69 0 0.456 0.798 0 0.956 0 0.866 0.762 0 0.419 0 0.175 0 0.677 0 0.862 0 0.133], [0 0 0 0 0 0.946 0 0.667 0 0.347 0 0.353 0.794 0.601 0 0 0 0 0.398], [0.161 0.0112 0.834 0 0 0.695 0 0 0 0 0.568 0.158 0 0 0 0 0 0 0], [0.337 0 0 0 0 0 0 0 0.205 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]
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], [2 1 2 3 4 5 6 7 8 9 10 2 12 2 14 15 16 17 18], [2 1 2 3 4 5 6 7 13 9 10 2 12 2 14 15 16 17 13], [2 1 2 3 4 5 6 7 18 9 10 2 12 2 14 15 16 17 13], [2 1 2 3 4 5 6 7 18 9 10 2 12 2 14 15 16 17 13] | [2 1 2 3 4 5 6 7 0 9 10 2 12 2 14 15 16 17 13]
| dag_shortest_paths |
jarvis_march:
x: [0.343 1.69 1.87 1.5], y: [-1.35 0.866 0.538 -0.655], 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 0 1], [1 0 0 1], [1 0 0 1], [1 0 0 1], [1 0 0 1], [1 0 1 1], [1 0 1 1], [1 0 1 1], [1 0 1 1], [1 0 1 1], [1 1 1 1], [1 1 1 1], [1 1 1 1], [1 1 1 1] | [1 1 1 1]
| jarvis_march |
articulation_points:
A: [[1 1 0 0 1], [1 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [1 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], [1 0 0 0 0], [1 0 0 0 0], [1 0 0 0 0], [1 0 0 0 0], [1 0 0 0 0], [1 0 0 0 0] | [1 0 0 0 0]
| articulation_points |
bridges:
A: [[0 0 0 0], [0 0 0 0], [0 0 0 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 |
strongly_connected_components:
A: [[1 0 0 1 0 0 0 0 0 0 0 0 0 0 1], [0 1 1 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 1 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 1 0 0 0 0 0 1 0], [0 0 0 0 0 1 1 0 0 1 0 1 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 1 0 0], [0 0 0 0 0 1 1 1 0 1 0 1 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 1 0 0], [0 0 0 0 0 1 1 1 0 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 1 0 0 0 1 0 0], [0 0 0 0 0 1 1 0 0 1 0 1 0 1 0], [0 0 0 0 0 0 1 0 0 0 1 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 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 8 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 8 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 8 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 8 13 14], [0 1 2 3 1 5 6 7 8 9 10 11 8 13 14], [0 1 2 3 1 6 6 7 8 9 10 11 8 13 14], [0 1 2 3 1 6 6 6 8 9 10 11 8 13 14], [0 1 2 3 1 6 6 6 8 6 10 11 8 13 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 13 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14], [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14] | [0 1 2 3 1 6 6 6 8 6 10 6 8 6 14]
| strongly_connected_components |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [0 3 1 0 2 3 0 1 0 0 2 3 1 0 2], initial_trace: 0
trace | s:
| 1, 2, 2 | 2
| naive_string_matcher |
bellman_ford:
s: 11, A: [[0 0 0 0 0 0 0.472 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.213], [0 0 0.969 0 0 0.534 0 0 0 0 0 0], [0 0 0 0.623 0 0 0 0.592 0.485 0 0 0], [0 0 0 0 0 0 0 0 0.791 0 0 0], [0 0 0.534 0 0 0 0 0 0 0 0 0.323], [0.472 0 0 0 0 0 0 0.309 0 0 0 0.616], [0 0 0 0.592 0 0 0.309 0.896 0 0.165 0 0], [0 0 0 0.485 0.791 0 0 0 0.936 0.317 0 0], [0 0 0 0 0 0 0 0.165 0.317 0.814 0 0], [0 0 0 0 0 0 0 0 0 0 0.678 0], [0 0.213 0 0 0 0.323 0.616 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | pi:
| [0 11 2 3 4 11 11 7 8 9 10 11], [6 11 5 3 4 11 11 6 8 9 10 11], [6 11 5 7 4 11 11 6 8 7 10 11], [6 11 5 7 4 11 11 6 9 7 10 11] | [6 11 5 7 8 11 11 6 9 7 10 11]
| bellman_ford |
task_scheduling:
d: [6 16 8 7 14 8 16 2 14 15 13 17 17 7 19 4 19 5 9], w: [0.047 0.504 0.571 0.001 0.575 0.803 0.41 0.208 0.375 0.989 0.189 0.984 0.085 0.892 0.67 0.101 0.528 0.866 0.199], 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 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 1 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 1 0 1 0 1 1 0 0 1 0], [0 0 0 0 1 1 0 0 0 1 0 1 0 1 1 0 0 1 0], [0 0 1 0 1 1 0 0 0 1 0 1 0 1 1 0 0 1 0], [0 0 1 0 1 1 0 0 0 1 0 1 0 1 1 0 1 1 0], [0 1 1 0 1 1 0 0 0 1 0 1 0 1 1 0 1 1 0], [0 1 1 0 1 1 1 0 0 1 0 1 0 1 1 0 1 1 0], [0 1 1 0 1 1 1 0 1 1 0 1 0 1 1 0 1 1 0], [0 1 1 0 1 1 1 0 1 1 0 1 0 1 1 0 1 1 0], [0 1 1 0 1 1 1 0 1 1 0 1 0 1 1 0 1 1 0], [0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 1 0], [0 1 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 1 0], [0 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 0], [0 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 0] | [0 1 1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 0]
| task_scheduling |
insertion_sort:
key: [0.693 0.278 0.992 0.563 0.94 0.899 0.979 0.444 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], initial_trace: [0.693 0.278 0.992 0.563 0.94 0.899 0.979 0.444 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965]
trace | pred:
| [0.278 0.693 0.992 0.563 0.94 0.899 0.979 0.444 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.278 0.693 0.992 0.563 0.94 0.899 0.979 0.444 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.278 0.563 0.693 0.992 0.94 0.899 0.979 0.444 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.278 0.563 0.693 0.94 0.992 0.899 0.979 0.444 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.278 0.563 0.693 0.899 0.94 0.992 0.979 0.444 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.278 0.563 0.693 0.899 0.94 0.979 0.992 0.444 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.278 0.444 0.563 0.693 0.899 0.94 0.979 0.992 0.565 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.278 0.444 0.563 0.565 0.693 0.899 0.94 0.979 0.992 0.188 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.188 0.278 0.444 0.563 0.565 0.693 0.899 0.94 0.979 0.992 0.013 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.013 0.188 0.278 0.444 0.563 0.565 0.693 0.899 0.94 0.979 0.992 0.491 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.013 0.188 0.278 0.444 0.491 0.563 0.565 0.693 0.899 0.94 0.979 0.992 0.296 0.209 0.871 0.114 0.376 0.04 0.965], [0.013 0.188 0.278 0.296 0.444 0.491 0.563 0.565 0.693 0.899 0.94 0.979 0.992 0.209 0.871 0.114 0.376 0.04 0.965], [0.013 0.188 0.209 0.278 0.296 0.444 0.491 0.563 0.565 0.693 0.899 0.94 0.979 0.992 0.871 0.114 0.376 0.04 0.965], [0.013 0.188 0.209 0.278 0.296 0.444 0.491 0.563 0.565 0.693 0.871 0.899 0.94 0.979 0.992 0.114 0.376 0.04 0.965], [0.013 0.114 0.188 0.209 0.278 0.296 0.444 0.491 0.563 0.565 0.693 0.871 0.899 0.94 0.979 0.992 0.376 0.04 0.965], [0.013 0.114 0.188 0.209 0.278 0.296 0.376 0.444 0.491 0.563 0.565 0.693 0.871 0.899 0.94 0.979 0.992 0.04 0.965], [0.013 0.04 0.114 0.188 0.209 0.278 0.296 0.376 0.444 0.491 0.563 0.565 0.693 0.871 0.899 0.94 0.979 0.992 0.965] | [0.013 0.04 0.114 0.188 0.209 0.278 0.296 0.376 0.444 0.491 0.563 0.565 0.693 0.871 0.899 0.94 0.965 0.979 0.992]
| insertion_sort |
find_maximum_subarray_kadane:
key: [0.972 -0.727 -0.129 -0.771 0.683 -0.993 -0.972 0.684 0.577 -0.602 -0.274 0.975], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (7, 8), (7, 8), (7, 8) | (7, 11)
| find_maximum_subarray_kadane |
optimal_bst:
p: [0.069 0.072 0.166 0.15 0], q: [0.083 0.125 0.017 0.163 0.156], 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 | root:
| [[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 2 0], [0 0 0 2 3], [0 0 0 0 3], [0 0 0 0 0]], [[0 0 0 2 0], [0 0 1 2 2], [0 0 0 2 3], [0 0 0 0 3], [0 0 0 0 0]] | [[0 0 0 2 2], [0 0 1 2 2], [0 0 0 2 3], [0 0 0 0 3], [0 0 0 0 0]]
| optimal_bst |
bellman_ford:
s: 0, A: [[0.702 0 0 0.486 0], [0 0 0 0 0.212], [0 0 0.49 0 0.164], [0.486 0 0 0 0.68], [0 0.212 0.164 0.68 0.667]], initial_trace: [0 1 2 3 4]
trace | pi:
| [0 1 2 0 4], [0 1 2 0 3] | [0 4 4 0 3]
| bellman_ford |
dijkstra:
s: 1, A: [[0 0 0 0 0 0 0 0 0 0.348 0.411 0 0 0 0 0 0 0 0], [0 0.06 0.517 0.84 0 0 0 0.056 0.67 0.83 0 0 0 0 0.611 0.927 0 0 0], [0 0.517 0.104 0.64 0 0.926 0 0 0 0 0 0 0 0 0 0.402 0 0 0], [0 0.84 0.64 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.405], [0 0 0 0 0.268 0 0 0 0 0 0 0 0.425 0.081 0.429 0 0 0 0.555], [0 0 0.926 0 0 0 0 0.654 0.447 0 0 0.268 0.535 0.215 0 0.31 0 0 0.964], [0 0 0 0 0 0 0.661 0 0.831 0 0.502 0.712 0.231 0 0.179 0 0.634 0 0.092], [0 0.056 0 0 0 0.654 0 0.84 0 0 0 0 0.545 0.561 0 0 0 0.413 0.314], [0 0.67 0 0 0 0.447 0.831 0 0.167 0 0 0 0 0.419 0.058 0.627 0.665 0 0], [0.348 0.83 0 0 0 0 0 0 0 0.797 0 0 0 0 0 0 0.549 0.806 0.307], [0.411 0 0 0 0 0 0.502 0 0 0 0.224 0 0 0.654 0.687 0 0 0.669 0], [0 0 0 0 0 0.268 0.712 0 0 0 0 0.192 0.424 0 0.411 0 0.666 0.535 0.477], [0 0 0 0 0.425 0.535 0.231 0.545 0 0 0 0.424 0.516 0 0 0 0 0 0.466], [0 0 0 0 0.081 0.215 0 0.561 0.419 0 0.654 0 0 0.243 0.481 0 0 0 0], [0 0.611 0 0 0.429 0 0.179 0 0.058 0 0.687 0.411 0 0.481 0 0 0.23 0 0], [0 0.927 0.402 0 0 0.31 0 0 0.627 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.634 0 0.665 0.549 0 0.666 0 0 0.23 0 0.427 0.427 0], [0 0 0 0 0 0 0 0.413 0 0.806 0.669 0.535 0 0 0 0 0.427 0 0], [0 0 0 0.405 0.555 0.964 0.092 0.314 0 0.307 0 0.477 0.466 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]
trace | pi:
| [0 1 1 1 4 5 6 1 1 1 10 11 12 13 1 1 16 17 18], [0 1 1 1 4 7 6 1 1 1 10 11 7 7 1 1 16 7 7], [0 1 1 18 18 7 18 1 1 18 10 18 7 7 1 1 16 7 7], [0 1 1 18 18 7 18 1 1 18 6 18 7 7 1 1 6 7 7], [0 1 1 18 18 7 18 1 1 18 6 18 7 7 1 1 17 7 7], [0 1 1 18 18 7 18 1 1 18 6 18 7 7 1 2 17 7 7], [0 1 1 18 18 7 18 1 1 18 6 18 7 7 1 2 17 7 7], [0 1 1 18 18 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [0 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [0 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7], [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7] | [9 1 1 18 13 7 18 1 14 18 6 18 7 7 1 2 14 7 7]
| dijkstra |
mst_prim:
s: 8, A: [[0.202 0 0.258 0 0 0 0.738 0 0 0 0.69 0], [0 0.539 0 0.606 0 0 0 0 0 0.199 0 0], [0.258 0 0.129 0 0 0 0 0 0 0.377 0 0], [0 0.606 0 0 0.462 0 0 0 0.715 0 0 0], [0 0 0 0.462 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.206 0 0 0 0 0 0.159], [0.738 0 0 0 0 0 0.34 0 0.515 0 0 0], [0 0 0 0 0 0 0 0 0 0.158 0.639 0], [0 0 0 0.715 0 0 0.515 0 0 0 0 0], [0 0.199 0.377 0 0 0 0 0.158 0 0.358 0 0.362], [0.69 0 0 0 0 0 0 0.639 0 0 0.274 0], [0 0 0 0 0 0.159 0 0 0 0.362 0 0.261]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | pi:
| [0 1 2 8 4 5 8 7 8 9 10 11], [6 1 2 8 4 5 8 7 8 9 10 11], [6 3 2 8 3 5 8 7 8 9 10 11], [6 3 2 8 3 5 8 7 8 9 10 11], [6 3 2 8 3 5 8 7 8 1 10 11], [6 3 9 8 3 5 8 9 8 1 10 9], [6 3 9 8 3 5 8 9 8 1 7 9], [6 3 9 8 3 11 8 9 8 1 7 9], [6 3 9 8 3 11 8 9 8 1 7 9], [2 3 9 8 3 11 8 9 8 1 7 9], [2 3 9 8 3 11 8 9 8 1 7 9] | [2 3 9 8 3 11 8 9 8 1 7 9]
| mst_prim |
articulation_points:
A: [[1 0 0 0 0 0 0 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0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [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 |
minimum:
key: [0.908 0.116 0.045 0.006 0.439 0.808 0.584 0.27 0.636 0.412 0.921 0.775 0.949 0.358 0.42], initial_trace: 0
trace | min:
| 1, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 | 3
| minimum |
mst_prim:
s: 0, A: [[0.636 0.663 0 0 0.073 0 0 0.548 0.089 0 0 0.435 0 0.152 0 0 0.534 0.088 0.388], [0.663 0.227 0 0 0.569 0.715 0 0 0.503 0 0.051 0 0.958 0 0 0 0.733 0 0], [0 0 0.757 0 0.176 0.482 0 0 0 0 0 0.223 0 0 0 0.801 0 0 0.311], [0 0 0 0.977 0 0 0 0 0.426 0 0 0 0 0.047 0 0 0.649 0 0.912], [0.073 0.569 0.176 0 0 0.769 0 0 0 0 0 0 0 0 0 0.834 0 0 0], [0 0.715 0.482 0 0.769 0 0 0 0 0 0 0 0.685 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.661 0 0 0.677 0.484 0 0 0 0.261], [0.548 0 0 0 0 0 0 0 0 0 0 0 0.148 0 0 0.293 0 0 0.317], [0.089 0.503 0 0.426 0 0 0 0 0 0 0.781 0 0 0 0 0.374 0.345 0.527 0], [0 0 0 0 0 0 0 0 0 0 0 0.325 0 0 0.464 0 0 0 0], [0 0.051 0 0 0 0 0.661 0 0.781 0 0 0 0.379 0.19 0 0 0 0 0], [0.435 0 0.223 0 0 0 0 0 0 0.325 0 0.924 0 0 0 0 0.795 0.664 0.393], [0 0.958 0 0 0 0.685 0 0.148 0 0 0.379 0 0 0.262 0 0 0 0 0], [0.152 0 0 0.047 0 0 0.677 0 0 0 0.19 0 0.262 0.983 0.406 0 0 0.537 0.245], [0 0 0 0 0 0 0.484 0 0 0.464 0 0 0 0.406 0 0.49 0 0 0], [0 0 0.801 0 0.834 0 0 0.293 0.374 0 0 0 0 0 0.49 0 0 0.402 0], [0.534 0.733 0 0.649 0 0 0 0 0.345 0 0 0.795 0 0 0 0 0 0 0], [0.088 0 0 0 0 0 0 0 0.527 0 0 0.664 0 0.537 0 0.402 0 0 0], [0.388 0 0.311 0.912 0 0 0.261 0.317 0 0 0 0.393 0 0.245 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18]
trace | pi:
| [0 0 2 3 0 5 6 0 0 9 10 0 12 0 14 15 0 0 0], [0 4 4 3 0 4 6 0 0 9 10 0 12 0 14 4 0 0 0], [0 4 4 3 0 4 6 0 0 9 10 0 12 0 14 17 0 0 0], [0 8 4 8 0 4 6 0 0 9 8 0 12 0 14 8 8 0 0], [0 8 4 13 0 4 13 0 0 9 13 0 13 0 13 8 8 0 13], [0 8 4 13 0 4 13 0 0 9 13 0 13 0 13 8 8 0 13], [0 8 4 13 0 2 13 0 0 9 13 2 13 0 13 8 8 0 13], [0 10 4 13 0 2 10 0 0 9 13 2 13 0 13 8 8 0 13], [0 10 4 13 0 2 10 0 0 9 13 2 13 0 13 8 8 0 13], [0 10 4 13 0 2 10 0 0 11 13 2 13 0 13 8 8 0 13], [0 10 4 13 0 2 18 18 0 11 13 2 13 0 13 8 8 0 13], [0 10 4 13 0 2 18 18 0 11 13 2 13 0 13 8 8 0 13], [0 10 4 13 0 2 18 12 0 11 13 2 13 0 13 8 8 0 13], [0 10 4 13 0 2 18 12 0 11 13 2 13 0 13 7 8 0 13], [0 10 4 13 0 2 18 12 0 11 13 2 13 0 13 7 8 0 13], [0 10 4 13 0 2 18 12 0 11 13 2 13 0 13 7 8 0 13], [0 10 4 13 0 2 18 12 0 11 13 2 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1 0 0 1 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 1 1 1 1 0 1 0 0 0 0 1 0 1 0 1 0 0 0 0 1 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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], 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], 22, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 22 21 22], 20, [0 1 2 3 4 5 20 7 8 9 10 11 12 13 14 15 16 17 18 19 22 21 22], 6, [0 1 2 3 4 5 20 7 8 9 10 11 12 13 14 15 16 17 18 19 22 21 22], 6, [0 1 2 3 4 5 20 7 8 9 10 11 12 13 14 15 16 17 18 19 22 21 22], 6, [0 1 2 3 4 5 20 7 8 9 10 11 12 13 14 15 16 6 18 19 22 21 22], 17, [0 1 2 3 4 5 20 7 8 9 17 11 12 13 14 15 16 6 18 19 22 21 22], 10, [0 1 2 3 4 10 20 7 8 9 17 11 12 13 14 15 16 6 18 19 22 21 22], 5, [0 1 2 3 4 10 20 7 8 9 17 11 12 13 14 15 16 6 18 19 22 21 22], 5, [0 1 2 3 4 10 20 7 8 9 17 5 12 13 14 15 16 6 18 19 22 21 22], 11, [0 1 2 3 4 10 20 7 8 9 17 5 12 13 14 15 16 6 18 19 22 21 22], 11, [0 1 2 3 4 10 20 7 8 9 17 5 12 13 14 11 16 6 18 19 22 21 22], 15, [0 1 15 3 4 10 20 7 8 9 17 5 12 13 14 11 16 6 18 19 22 21 22], 2, [0 1 15 3 4 10 20 7 8 9 17 5 12 13 14 11 16 6 18 19 22 21 22], 2, [0 1 15 3 4 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 12, [12 1 15 3 4 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 0, [12 1 15 3 4 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 0, [12 1 15 3 4 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 0, [12 1 15 3 4 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 0, [12 1 15 3 0 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 4, [12 1 15 3 0 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 4, [12 1 15 3 0 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 4, [12 1 15 4 0 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 3, [12 1 15 4 0 10 20 7 8 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 3, [12 1 15 4 0 10 20 7 3 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 8, [12 1 15 4 0 10 20 7 3 9 17 5 2 13 14 11 16 6 18 19 22 21 22], 8, [12 1 15 4 0 10 20 7 3 8 17 5 2 13 14 11 16 6 18 19 22 21 22], 9, [12 1 15 4 0 10 20 9 3 8 17 5 2 13 14 11 16 6 18 19 22 21 22], 7, [12 7 15 4 0 10 20 9 3 8 17 5 2 13 14 11 16 6 18 19 22 21 22], 1, [12 7 15 4 0 10 20 9 3 8 17 5 2 13 14 11 16 6 18 19 22 21 22], 1, [12 7 15 4 0 10 20 9 3 8 17 5 2 13 14 11 16 6 18 19 22 21 22], 1, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 14 11 16 6 18 19 22 21 22], 13, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 14 11 16 6 18 19 22 21 22], 13, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 14 11 16 6 18 19 22 21 22], 13, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 16 6 18 19 22 21 22], 14, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 16 6 18 19 22 21 22], 14, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 16 6 18 19 22 21 22], 14, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 16 6 18 19 22 21 22], 14, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 16 6 18 14 22 21 22], 19, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 16 6 18 14 22 21 22], 19, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 16 6 18 14 22 19 22], 21, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 21 6 18 14 22 19 22], 16, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 21 6 18 14 22 19 22], 16, [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 21 6 18 14 22 19 22], 16 | [12 7 15 4 0 10 20 9 3 8 17 5 2 1 13 11 21 6 16 14 22 19 22], 18
| topological_sort |
topological_sort:
A: [[0 0 0 1 0 1 0 0 0 0 1 1], [0 0 0 0 0 0 0 0 0 0 0 0], [1 1 0 0 0 1 0 0 0 0 0 1], [0 1 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 1 0 0 0 0 0 0], [0 0 1 0 1 0 1 0 0 1 0 0], [1 1 1 0 1 0 0 0 0 1 1 0], [1 1 0 0 0 1 0 0 0 0 1 0], [0 1 0 0 1 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11], 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], 1, [0 1 2 3 4 5 6 7 8 9 10 11], 1, [0 1 2 3 1 5 6 7 8 9 10 11], 4, [0 1 2 4 1 5 6 7 8 9 10 11], 3, [0 1 2 4 1 5 6 7 8 9 10 11], 3, [0 1 2 4 1 3 6 7 8 9 10 11], 5, [0 1 2 4 1 3 6 7 8 9 10 11], 5, [0 1 2 4 1 3 6 7 8 9 5 11], 10, [0 1 2 4 1 3 6 7 8 9 5 11], 10, [0 1 2 4 1 3 6 7 8 9 5 10], 11, [11 1 2 4 1 3 6 7 8 9 5 10], 0, [11 1 2 4 1 3 6 7 8 9 5 10], 0, [11 1 2 4 1 3 6 7 8 9 5 10], 0, [11 1 0 4 1 3 6 7 8 9 5 10], 2, [11 1 0 4 1 3 6 7 8 9 5 10], 2, [11 1 0 4 1 3 6 7 8 9 5 10], 2, [11 1 0 4 1 3 2 7 8 9 5 10], 6, [11 1 0 4 1 3 2 7 8 9 5 10], 6, [11 1 0 4 1 3 2 7 8 9 5 10], 6, [11 1 0 4 1 3 2 7 8 9 5 10], 6, [11 1 0 4 1 3 2 7 8 6 5 10], 9, [11 1 0 4 1 3 2 9 8 6 5 10], 7, [11 1 0 4 1 3 2 9 8 6 5 10], 7, [11 1 0 4 1 3 2 9 8 6 5 10], 7 | [11 1 0 4 1 3 2 9 7 6 5 10], 8
| topological_sort |
find_maximum_subarray_kadane:
key: [0.542 0.587 -0.7 0.898 -0.923 0.228 0.684 -0.917 -0.206 0.945 -0.014 -0.622], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 1), (0, 1), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3) | (0, 3)
| find_maximum_subarray_kadane |
minimum:
key: [0.93 0.908 0.985 0.686 0.859 0.817 0.899 0.535 0.869 0.477 0.184 0.193 0.822 0.971 0.982], initial_trace: 0
trace | min:
| 1, 1, 3, 3, 3, 3, 7, 7, 9, 10, 10, 10, 10 | 10
| minimum |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 1 1], key: [2 2 1 2 2 1 3 1 1 2 1], initial_trace: 0
trace | s:
| 0, 1 | 1
| naive_string_matcher |
find_maximum_subarray_kadane:
key: [0.721 -0.007 -0.723 0.805 -0.66 0.219 0.996 0.215 -0.852 0.481 0.834 0.254 0.972 -0.788 0.877 -0.079 -0.941 0.047 0.79 0.423 -0.183 -0.526 0.448 -0.733 -0.436 -0.468 0.995 0.146], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 0), (0, 0), (3, 3), (3, 3), (3, 3), (3, 6), (3, 7), (3, 7), (3, 7), (3, 10), (3, 11), (3, 12), (3, 12), (3, 14), (3, 14), (3, 14), (3, 14), (3, 14), (3, 19), (3, 19), (3, 19), (3, 19), (3, 19), (3, 19), (3, 19), (3, 19) | (3, 19)
| find_maximum_subarray_kadane |
segments_intersect:
x: [0.107 0.454 0.019 0.692], y: [0.668 0.667 0.321 0.972]
intersect:
| 1
| segments_intersect |
activity_selector:
s: [0.122 0.036 0.509 0.228 0.611 0.158 0.755 0.278 0.057 0.301 0.45 0.516 0.089 0.222 0.706], f: [0.251 0.718 0.68 0.808 0.672 0.954 0.778 0.437 0.456 0.842 0.622 0.91 0.504 0.364 0.73], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
trace | selected:
| [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 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 1 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 1 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 1 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 1 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 1 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 1 0 0 1 0 0 0 1], [1 0 0 0 0 0 1 1 0 0 1 0 0 0 1], [1 0 0 0 0 0 1 1 0 0 1 0 0 0 1], [1 0 0 0 0 0 1 1 0 0 1 0 0 0 1], [1 0 0 0 0 0 1 1 0 0 1 0 0 0 1] | [1 0 0 0 0 0 1 1 0 0 1 0 0 0 1]
| activity_selector |
kmp_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [3 3 1 1 2 2 1 3 2 0 1 2 2 0 1], initial_trace: 0
trace | s:
| 0, 0, 0, 0, 0, 1, 2, 3, 3, 4, 4, 5, 6, 7 | 8
| kmp_matcher |
dag_shortest_paths:
s: 3, A: [[0 0 0 0.731 0.939 0.948 0 0 0.791 0 0 0.838], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0.362 0 0 0 0.288 0.841 0 0 0.403 0 0.495], [0 0 0 0 0.175 0 0 0.346 0 0.168 0.727 0.374], [0 0 0 0 0 0 0 0.752 0 0 0 0], [0 0 0 0 0.205 0 0 0 0.363 0 0.0793 0], [0 0 0 0 0.413 0 0 0.64 0.316 0.619 0.693 0.752], [0 0.5 0 0 0 0 0 0 0 0 0 0.163], [0 0 0 0 0 0 0 0.974 0 0 0 0], [0 0.0302 0 0 0 0 0 0.905 0 0 0 0.865], [0 0 0 0 0 0 0 0.885 0 0.104 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]
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 3 5 6 3 8 3 3 3], [0 1 2 3 3 5 6 3 8 3 3 3], [0 9 2 3 3 5 6 3 8 3 3 3], [0 9 2 3 3 5 6 3 8 3 3 3], [0 9 2 3 3 5 6 3 8 3 3 3] | [0 9 2 3 3 5 6 3 8 3 3 3]
| dag_shortest_paths |
find_maximum_subarray_kadane:
key: [-0.412 0.24 -0.124 0.395 0.416 -0.785 -0.951 -0.968 -0.092 0.084], initial_trace: (0, 0)
trace | (best_low, best_high):
| (1, 1), (1, 1), (1, 3), (1, 4), (1, 4), (1, 4), (1, 4), (1, 4) | (1, 4)
| find_maximum_subarray_kadane |
strongly_connected_components:
A: [[0 1 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], [1 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 0 0 1 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 1], [0 1 1 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 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 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 1], [0 0 0 0 0 0 0 1 0 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 0 0 0 0 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14]
trace | scc_id:
| [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 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 5], [0 1 2 3 4 5 6 7 8 9 10 11 5 13 5], [0 1 2 3 4 5 6 7 8 9 10 11 5 13 5], [0 1 2 3 4 5 6 7 8 9 10 11 5 13 5], [0 1 2 3 4 5 6 7 8 9 10 11 5 13 5], [0 1 2 3 4 5 6 7 8 9 10 11 5 13 5], [0 1 2 3 4 5 6 7 8 9 10 11 5 13 5], [0 0 2 3 4 5 6 7 8 9 10 11 5 13 5], [0 0 2 0 4 5 6 7 8 9 10 11 5 13 5], [0 0 0 0 4 5 6 7 8 9 10 11 5 13 5], [0 0 0 0 4 5 0 7 8 9 10 11 5 13 5], [0 0 0 0 4 5 0 7 8 9 10 11 5 13 5], [0 0 0 0 4 5 0 7 8 9 10 11 5 13 5], [0 0 0 0 0 5 0 7 8 9 10 11 5 13 5], [0 0 0 0 0 5 0 7 8 9 10 11 5 13 5], [0 0 0 0 0 5 0 7 8 9 10 11 5 13 5] | [0 0 0 0 0 5 0 7 8 9 10 11 5 13 5]
| strongly_connected_components |
mst_prim:
s: 2, A: [[0.381 0 0 0 0.485 0 0 0.907 0 0 0 0], [0 0 0 0.631 0 0 0 0 0 0 0 0], [0 0 0.347 0 0 0 0 0.37 0 0.269 0 0.555], [0 0.631 0 0.492 0 0 0 0 0 0.173 0 0], [0.485 0 0 0 0 0 0 0 0.415 0 0.378 0], [0 0 0 0 0 0.647 0 0 0 0 0.171 0], [0 0 0 0 0 0 0 0 0 0.408 0 0], [0.907 0 0.37 0 0 0 0 0.865 0.448 0.144 0 0], [0 0 0 0 0.415 0 0 0.448 0 0 0.228 0], [0 0 0.269 0.173 0 0 0.408 0.144 0 0 0 0.492], [0 0 0 0 0.378 0.171 0 0 0.228 0 0.138 0], [0 0 0.555 0 0 0 0 0 0 0.492 0 0.773]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | pi:
| [0 1 2 3 4 5 6 2 8 2 10 2], [0 1 2 9 4 5 9 9 8 2 10 9], [7 1 2 9 4 5 9 9 7 2 10 9], [7 3 2 9 4 5 9 9 7 2 10 9], [7 3 2 9 4 5 9 9 7 2 10 9], [7 3 2 9 8 5 9 9 7 2 8 9], [7 3 2 9 10 10 9 9 7 2 8 9], [7 3 2 9 10 10 9 9 7 2 8 9], [4 3 2 9 10 10 9 9 7 2 8 9], [4 3 2 9 10 10 9 9 7 2 8 9], [4 3 2 9 10 10 9 9 7 2 8 9] | [4 3 2 9 10 10 9 9 7 2 8 9]
| mst_prim |
mst_kruskal:
A: [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]], initial_trace: [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]]
trace | in_mst:
| | [[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 0 1 1 1 0 1 1 0 1 1 0 1 1], [1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 0 0 0 1], [0 1 0 1 1 1 1 1 0 0 0 1 0 1 0 0 0 0 1], [1 1 1 1 1 0 1 1 0 1 0 0 0 0 1 0 0 1 0], [1 1 0 0 0 0 1 0 0 0 1 0 1 1 1 0 1 1 0], [0 0 1 1 1 0 1 1 0 1 1 1 0 0 0 0 1 0 0], [1 0 1 1 1 0 0 1 1 1 0 1 1 1 0 1 1 1 0], [0 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 0 1 0], [0 0 1 1 0 0 1 1 1 0 0 0 0 1 0 0 1 0 1], [0 1 1 1 1 0 0 0 1 1 0 0 1 1 0 1 1 1 1], [0 1 0 0 0 0 0 1 0 1 1 0 1 1 0 0 1 0 1], [1 0 0 1 1 1 1 1 0 1 0 0 1 1 1 1 1 0 1], [1 0 0 1 0 1 0 1 1 0 1 1 1 1 1 1 1 1 1], [1 0 0 0 0 1 1 1 0 0 0 0 0 1 0 1 1 0 1], [0 1 0 1 0 1 0 1 1 1 0 0 0 0 1 1 0 1 1], [1 0 1 1 1 0 0 1 0 1 0 0 1 1 1 1 0 0 0], [1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 1 1 1 1 1 1 0 0 0 1 1 1 0 1 1 1], [0 0 1 0 1 1 1 0 1 1 0 0 0 0 1 0 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18]
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 2 0 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 3 4 5 6 1 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 3 4 5 6 1 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 3 7 5 6 1 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 3 7 5 6 1 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 3 7 5 4 1 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 3 7 5 4 1 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 6 7 5 4 1 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 6 7 5 4 1 8 9 10 11 12 13 14 15 16 17 18], [0 2 0 6 7 5 4 1 8 3 10 11 12 13 14 15 16 17 18], [0 2 0 6 7 5 4 1 8 3 10 11 12 13 14 15 16 17 18], [0 2 0 6 7 5 4 1 9 3 10 11 12 13 14 15 16 17 18], [0 2 0 6 7 5 4 1 9 3 10 11 12 13 14 15 16 17 18], [0 2 0 6 7 5 4 1 9 3 10 11 12 8 14 15 16 17 18], [0 2 0 6 7 5 4 1 9 3 10 11 12 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 10 11 12 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 10 11 12 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 11 12 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 11 12 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 11 10 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 11 10 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 14 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 15 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 16 17 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 16 14 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 16 14 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 18], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17], [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17] | [0 2 0 6 7 13 4 1 9 3 5 12 10 8 11 14 17 14 17]
| dfs |
graham_scan:
x: [-0.779 -0.994 0.132 1.07 -0.228 -1.71 -0.36 -0.743 0.665 -1.57 0.601 0.296 0.797 1.69 1.4 -0.901 -0.067 -0.291 -1.59 -0.37 0.418 0.06 0.901 0.668 0.08 -1.53 -0.236 -0.125], y: [0.445 -1.03 -1.8 -0.082 0.529 1.02 -1.63 -1.43 0.519 -0.787 -0.671 -0.875 -1.8 0.243 1.07 -1.23 -1.86 0.474 -0.223 -0.719 -1.05 -0.031 -0.749 0.171 -0.107 -0.364 1.77 0.982], 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 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 1 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 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0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 1 1 1 0 1 0 1 0 0 0 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 0 1 0 1 0 0 0 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 0 0 0 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 0 1 0 1 0 0 0 0 0 0 1 1 0], [0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 0 1 0 1 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 1 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 1 0] | [0 0 0 0 0 1 0 1 0 1 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 1 0]
| graham_scan |
minimum:
key: [0.914 0.82 0.574 0.3 0.144 0.641 0.356 0.99 0.425 0.126 0.178 0.066], initial_trace: 0
trace | min:
| 1, 2, 3, 4, 4, 4, 4, 4, 9, 9 | 11
| minimum |
segments_intersect:
x: [0.542 0.131 0.098 0.048], y: [0.15 0.454 0.761 0.514]
intersect:
| 0
| segments_intersect |
insertion_sort:
key: [0.223 0.626 0.05 0.276 0.668 0.994 0.515 0.561 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], initial_trace: [0.223 0.626 0.05 0.276 0.668 0.994 0.515 0.561 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991]
trace | pred:
| [0.223 0.626 0.05 0.276 0.668 0.994 0.515 0.561 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.05 0.223 0.626 0.276 0.668 0.994 0.515 0.561 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.05 0.223 0.276 0.626 0.668 0.994 0.515 0.561 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.05 0.223 0.276 0.626 0.668 0.994 0.515 0.561 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.05 0.223 0.276 0.626 0.668 0.994 0.515 0.561 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.05 0.223 0.276 0.515 0.626 0.668 0.994 0.561 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.05 0.223 0.276 0.515 0.561 0.626 0.668 0.994 0.037 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.223 0.276 0.515 0.561 0.626 0.668 0.994 0.079 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.223 0.276 0.515 0.561 0.626 0.668 0.994 0.914 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.223 0.276 0.515 0.561 0.626 0.668 0.914 0.994 0.158 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.158 0.223 0.276 0.515 0.561 0.626 0.668 0.914 0.994 0.358 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.158 0.223 0.276 0.358 0.515 0.561 0.626 0.668 0.914 0.994 0.268 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.158 0.223 0.268 0.276 0.358 0.515 0.561 0.626 0.668 0.914 0.994 0.798 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.158 0.223 0.268 0.276 0.358 0.515 0.561 0.626 0.668 0.798 0.914 0.994 0.621 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.158 0.223 0.268 0.276 0.358 0.515 0.561 0.621 0.626 0.668 0.798 0.914 0.994 0.194 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.158 0.194 0.223 0.268 0.276 0.358 0.515 0.561 0.621 0.626 0.668 0.798 0.914 0.994 0.113 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.113 0.158 0.194 0.223 0.268 0.276 0.358 0.515 0.561 0.621 0.626 0.668 0.798 0.914 0.994 0.404 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.113 0.158 0.194 0.223 0.268 0.276 0.358 0.404 0.515 0.561 0.621 0.626 0.668 0.798 0.914 0.994 0.415 0.326 0.824 0.991], [0.037 0.05 0.079 0.113 0.158 0.194 0.223 0.268 0.276 0.358 0.404 0.415 0.515 0.561 0.621 0.626 0.668 0.798 0.914 0.994 0.326 0.824 0.991], [0.037 0.05 0.079 0.113 0.158 0.194 0.223 0.268 0.276 0.326 0.358 0.404 0.415 0.515 0.561 0.621 0.626 0.668 0.798 0.914 0.994 0.824 0.991], [0.037 0.05 0.079 0.113 0.158 0.194 0.223 0.268 0.276 0.326 0.358 0.404 0.415 0.515 0.561 0.621 0.626 0.668 0.798 0.824 0.914 0.994 0.991] | [0.037 0.05 0.079 0.113 0.158 0.194 0.223 0.268 0.276 0.326 0.358 0.404 0.415 0.515 0.561 0.621 0.626 0.668 0.798 0.824 0.914 0.991 0.994]
| insertion_sort |
quickselect:
key: [0.656 0.039 0.892 0.397 0.878 0.393 0.501 0.946 0.439 0.97 0.197 0.76], initial_trace: 11
trace | pivot:
| 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 0, 0, 0, 0 | 0
| quickselect |
activity_selector:
s: [0.476 0.161 0.271 0.223], f: [0.724 0.58 0.591 0.777], initial_trace: [0 0 0 0]
trace | selected:
| [0 1 0 0], [0 1 0 0], [0 1 0 0] | [0 1 0 0]
| activity_selector |
quickselect:
key: [0.318 0.34 0.668 0.874 0.682 0.29 0.825 0.135 0.943 0.706 0.562 0.209], initial_trace: 11
trace | pivot:
| 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 10, 10 | 2
| quickselect |
quicksort:
key: [0.239 0.897 0.916 0.748 0.61], initial_trace: [0.239 0.897 0.916 0.748 0.61]
trace | pred:
| [0.239 0.897 0.916 0.748 0.61], [0.239 0.897 0.916 0.748 0.61], [0.239 0.897 0.916 0.748 0.61], [0.239 0.61 0.916 0.748 0.897], [0.239 0.61 0.916 0.748 0.897], [0.239 0.61 0.748 0.916 0.897] | [0.239 0.61 0.748 0.897 0.916]
| quicksort |
dfs:
A: [[0 0 1 1 1 1 1 1 1 0 0 1 1 0 1], [0 1 1 1 0 1 1 0 1 1 0 0 1 1 1], [1 0 0 0 1 0 0 0 1 1 0 0 1 0 0], [0 0 1 0 0 0 0 0 1 0 0 1 1 0 1], [0 1 1 1 0 0 1 0 1 0 1 1 1 0 0], [0 1 0 1 0 1 1 1 1 1 1 0 1 1 1], [1 0 0 1 1 1 1 1 1 1 0 1 0 1 0], [0 1 0 1 0 1 1 1 1 0 0 0 1 0 0], [1 0 1 1 0 1 0 1 0 0 1 0 0 0 0], [1 0 1 1 1 0 0 0 1 1 0 0 1 1 0], [1 0 0 0 0 0 0 1 0 0 0 1 0 0 0], [0 1 0 1 1 1 1 0 0 0 0 1 1 0 0], [0 1 1 1 0 0 0 1 0 0 1 1 0 1 1], [1 0 0 0 1 1 1 0 1 0 0 0 1 0 0], [1 0 0 0 1 1 1 1 1 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 1 0 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 0 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 0 3 2 5 6 7 8 9 10 11 12 13 14], [0 1 0 3 2 5 6 7 8 9 10 11 12 13 14], [0 4 0 3 2 5 6 7 8 9 10 11 12 13 14], [0 4 0 3 2 5 6 7 8 9 10 11 12 13 14], [0 4 0 1 2 5 6 7 8 9 10 11 12 13 14], [0 4 0 1 2 5 6 7 8 9 10 11 12 13 14], [0 4 0 1 2 5 6 7 3 9 10 11 12 13 14], [0 4 0 1 2 5 6 7 3 9 10 11 12 13 14], [0 4 0 1 2 8 6 7 3 9 10 11 12 13 14], [0 4 0 1 2 8 6 7 3 9 10 11 12 13 14], [0 4 0 1 2 8 5 7 3 9 10 11 12 13 14], [0 4 0 1 2 8 5 7 3 9 10 11 12 13 14], [0 4 0 1 2 8 5 6 3 9 10 11 12 13 14], [0 4 0 1 2 8 5 6 3 9 10 11 12 13 14], [0 4 0 1 2 8 5 6 3 9 10 11 7 13 14], [0 4 0 1 2 8 5 6 3 9 10 11 7 13 14], [0 4 0 1 2 8 5 6 3 9 12 11 7 13 14], [0 4 0 1 2 8 5 6 3 9 12 11 7 13 14], [0 4 0 1 2 8 5 6 3 9 12 10 7 13 14], [0 4 0 1 2 8 5 6 3 9 12 10 7 13 14], [0 4 0 1 2 8 5 6 3 9 12 10 7 13 14], [0 4 0 1 2 8 5 6 3 9 12 10 7 13 14], [0 4 0 1 2 8 5 6 3 9 12 10 7 12 14], [0 4 0 1 2 8 5 6 3 9 12 10 7 12 14], [0 4 0 1 2 8 5 6 3 9 12 10 7 12 14], [0 4 0 1 2 8 5 6 3 9 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 9 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 9 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 9 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 9 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12], [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12] | [0 4 0 1 2 8 5 6 3 6 12 10 7 12 12]
| dfs |
mst_prim:
s: 5, A: [[0.253 0 0 0 0 0 0 0.901 0 0 0], [0 0.162 0 0 0 0 0 0 0 0.107 0], [0 0 0.397 0 0 0 0 0.649 0 0 0], [0 0 0 0.76 0 0 0 0.596 0.575 0 0], [0 0 0 0 0.915 0 0 0.465 0 0.579 0], [0 0 0 0 0 0.523 0 0.137 0 0.641 0], [0 0 0 0 0 0 0.141 0.403 0 0 0.53], [0.901 0 0.649 0.596 0.465 0.137 0.403 0.287 0 0 0], [0 0 0 0.575 0 0 0 0 0.678 0 0], [0 0.107 0 0 0.579 0.641 0 0 0 0.053 0.177], [0 0 0 0 0 0 0.53 0 0 0.177 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10]
trace | pi:
| [0 1 2 3 4 5 6 5 8 5 10], [7 1 7 7 7 5 7 5 8 5 10], [7 1 7 7 7 5 7 5 8 5 6], [7 1 7 7 7 5 7 5 8 4 6], [7 1 7 7 7 5 7 5 8 10 6], [7 9 7 7 7 5 7 5 8 10 6], [7 9 7 7 7 5 7 5 8 10 6], [7 9 7 7 7 5 7 5 3 10 6], [7 9 7 7 7 5 7 5 3 10 6], [7 9 7 7 7 5 7 5 3 10 6] | [7 9 7 7 7 5 7 5 3 10 6]
| mst_prim |
dijkstra:
s: 7, A: [[0 0 0 0 0 0 0 0.434 0 0 0.644 0], [0 0 0 0 0 0 0 0 0 0 0 0.652], [0 0 0.38 0 0 0.198 0 0 0 0 0 0], [0 0 0 0.318 0 0 0 0 0 0 0 0], [0 0 0 0 0.57 0 0 0.205 0 0 0 0], [0 0 0.198 0 0 0.316 0 0 0.21 0 0 0], [0 0 0 0 0 0 0.949 0.653 0 0 0 0], [0.434 0 0 0 0.205 0 0.653 0 0.148 0 0 0.314], [0 0 0 0 0 0.21 0 0.148 0.205 0 0 0.304], [0 0 0 0 0 0 0 0 0 0 0 0], [0.644 0 0 0 0 0 0 0 0 0 0.253 0], [0 0.652 0 0 0 0 0 0.314 0.304 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | pi:
| [7 1 2 3 7 5 7 7 7 9 10 7], [7 1 2 3 7 8 7 7 7 9 10 7], [7 1 2 3 7 8 7 7 7 9 10 7], [7 11 2 3 7 8 7 7 7 9 10 7], [7 11 5 3 7 8 7 7 7 9 10 7], [7 11 5 3 7 8 7 7 7 9 0 7], [7 11 5 3 7 8 7 7 7 9 0 7], [7 11 5 3 7 8 7 7 7 9 0 7], [7 11 5 3 7 8 7 7 7 9 0 7] | [7 11 5 3 7 8 7 7 7 9 0 7]
| dijkstra |
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: [2 1 3 0 2 3 3 2 3 0 1 3 0 3 0 2 3 1 1 2 3 2 2 1 1 2 3 2], initial_trace: 0
trace | s:
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 | 17
| kmp_matcher |
floyd_warshall:
A: [[0.615 0 0 0], [0 0 0 0.472], [0 0 0 0], [0 0.472 0 0.603]], 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 |
dijkstra:
s: 6, A: [[0.722 0 0 0 0 0 0 0.777 0.675 0.343 0.233 0 0 0 0 0.12 0 0 0], [0 0 0.413 0 0 0 0 0 0 0 0 0 0 0.28 0 0 0.288 0 0], [0 0.413 0 0 0 0 0 0 0 0 0 0 0.272 0 0 0 0 0 0], [0 0 0 0.565 0 0 0 0 0.073 0 0 0 0 0.564 0 0 0.267 0 0], [0 0 0 0 0.474 0.655 0 0 0 0.78 0 0.194 0 0 0 0 0 0 0], [0 0 0 0 0.655 0.314 0 0 0 0 0 0.293 0.481 0 0 0.197 0 0 0], [0 0 0 0 0 0 0 0.423 0 0.611 0.375 0 0 0.395 0 0.866 0.666 0 0], [0.777 0 0 0 0 0 0.423 0.109 0 0 0 0.579 0 0.261 0 0.574 0 0 0], [0.675 0 0 0.073 0 0 0 0 0 0 0 0 0 0 0 0 0 0.622 0], [0.343 0 0 0 0.78 0 0.611 0 0 0 0.557 0 0.408 0 0 0.759 0 0 0], [0.233 0 0 0 0 0 0.375 0 0 0.557 0.758 0 0 0 0.3 0.64 0 0 0], [0 0 0 0 0.194 0.293 0 0.579 0 0 0 0.939 0 0.687 0 0.513 0 0 0], [0 0 0.272 0 0 0.481 0 0 0 0.408 0 0 0 0 0.434 0 0 0 0], [0 0.28 0 0.564 0 0 0.395 0.261 0 0 0 0.687 0 0.746 0 0.369 0 0.75 0.214], [0 0 0 0 0 0 0 0 0 0 0.3 0 0.434 0 0 0 0.529 0 0], [0.12 0 0 0 0 0.197 0.866 0.574 0 0.759 0.64 0.513 0 0.369 0 0.964 0 0.513 0], [0 0.288 0 0.267 0 0 0.666 0 0 0 0 0 0 0 0.529 0 0.924 0 0], [0 0 0 0 0 0 0 0 0.622 0 0 0 0 0.75 0 0.513 0 0 0.369], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.214 0 0 0 0.369 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 6 8 6 6 11 12 6 14 6 6 17 18], [10 1 2 3 4 5 6 6 8 6 6 11 12 6 10 6 6 17 18], [10 13 2 13 4 5 6 6 8 6 6 13 12 6 10 13 6 13 13], [10 13 2 13 4 5 6 6 8 6 6 7 12 6 10 13 6 13 13], [10 13 2 13 4 5 6 6 0 6 6 7 12 6 10 0 6 13 13], [10 13 2 13 4 5 6 6 0 6 6 7 12 6 10 0 6 18 13], [10 13 2 13 9 5 6 6 0 6 6 7 9 6 10 0 6 18 13], [10 13 2 16 9 5 6 6 0 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 9 5 6 6 0 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 9 5 6 6 0 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 9 15 6 6 0 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 9 15 6 6 0 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 9 15 6 6 3 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 9 15 6 6 3 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 11 15 6 6 3 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 11 15 6 6 3 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 11 15 6 6 3 6 6 7 9 6 10 0 6 18 13], [10 13 1 16 11 15 6 6 3 6 6 7 9 6 10 0 6 18 13] | [10 13 1 16 11 15 6 6 3 6 6 7 9 6 10 0 6 18 13]
| dijkstra |
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 2 3 1 0 2 1 2 1 3 2 1 3 2 0 2 0 0 1 2 1 3 2], initial_trace: 0
trace | s:
| 1, 1, 2, 3, 4, 5, 5, 5, 6, 7, 7, 7 | 7
| naive_string_matcher |
heapsort:
key: [0.078 0.806 0.75 0.733], initial_trace: [0.078 0.806 0.75 0.733]
trace | pred:
| [0.078 0.806 0.75 0.733], [0.078 0.806 0.75 0.733], [0.078 0.806 0.75 0.733], [0.806 0.078 0.75 0.733], [0.806 0.733 0.75 0.078], [0.806 0.733 0.75 0.078], [0.078 0.733 0.75 0.806], [0.75 0.733 0.078 0.806], [0.75 0.733 0.078 0.806], [0.078 0.733 0.75 0.806], [0.733 0.078 0.75 0.806], [0.733 0.078 0.75 0.806], [0.078 0.733 0.75 0.806] | [0.078 0.733 0.75 0.806]
| heapsort |
graham_scan:
x: [-1.65 -1.87 -0.902 -0.523 0.267 1.34 -0.164 0.459 -0.509 0.631 -1.28 -0.609 0.424 -1.06 0.59 0.628 1.38 0.187 -1.06 -0.209 0.663 -1.42 -0.762 0.972 -0.738 -0.606 1.17 -0.792 -1.14 1.18 1.88], y: [0.905 -0.25 -1.48 1.61 0.82 0.144 -1.88 -0.156 -1.27 1.74 -0.504 -0.958 0.873 -1.11 0.862 -1.15 0.838 1.81 -1.07 -0.911 0.916 -0.713 0.707 -0.016 -0.234 1.68 0.659 -1.33 1.04 0.322 -0.45], 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 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 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 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 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 1 0 0 0 0 0 0 0 0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_connected_components:
A: [[1 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 1 0 1 0 0 0 1 1], [0 0 1 0 0 0 0 0 0 0 0 1 0 0 0], [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 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 0 1], [0 0 0 1 0 0 1 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 1 0 0 0 1 1], [0 0 0 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 1 0 0 0 1 1], [1 0 0 0 0 0 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 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 1 0 1 0 0 0 1 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 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 3 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 3 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 3 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 3 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 3 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 12 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 12 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 5 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 7 6 7 3 9 10 2 2 13 14], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 14], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 10 2 2 13 7], [0 1 2 3 4 7 6 7 3 7 0 2 2 13 7] | [0 1 2 3 4 7 6 7 3 7 0 2 2 13 7]
| strongly_connected_components |
task_scheduling:
d: [14 7 11 6 10 17 15 4 18 15 9 14 2 6 9 6 15 18 8], w: [0.73 0.685 0.683 0.198 0.577 0.636 0.849 0.492 0.545 0.554 0.848 0.308 0.514 0.772 0.607 0.056 0.39 0.259 0.676], 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 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0], [1 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1], [1 1 1 0 0 1 1 0 0 0 1 0 0 1 0 0 0 0 1], [1 1 1 0 0 1 1 0 0 0 1 0 0 1 1 0 0 0 1], [1 1 1 0 1 1 1 0 0 0 1 0 0 1 1 0 0 0 1], [1 1 1 0 1 1 1 0 0 1 1 0 0 1 1 0 0 0 1], [1 1 1 0 1 1 1 0 1 1 1 0 0 1 1 0 0 0 1], [1 1 1 0 1 1 1 0 1 1 1 0 0 1 1 0 0 0 1], [1 1 1 0 1 1 1 0 1 1 1 0 0 1 1 0 0 0 1], [1 1 1 0 1 1 1 0 1 1 1 0 0 1 1 0 1 0 1], [1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 0 1], [1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 1 1], [1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 1 1] | [1 1 1 0 1 1 1 0 1 1 1 1 0 1 1 0 1 1 1]
| task_scheduling |
jarvis_march:
x: [1.27 -0.021 -1.69 1.41 -0.326 0.986 1.18 -1.02 1.39 -0.86], y: [1.04 0.704 0.36 0.432 1.38 0.886 0.343 -1.53 0.672 -0.999], initial_trace: [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 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 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 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [0 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 0 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 0 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0], [1 0 1 1 1 0 0 1 1 0] | [1 0 1 1 1 0 0 1 1 0]
| jarvis_march |
graham_scan:
x: [0.883 1.21 -0.564 -1.28 1.42 -1.01 1.64 0.653 -1.42 -0.621 0.644 -1.45], y: [1.5 -1.12 1.5 -0.82 1.08 1.04 -0.491 -1.35 -0.509 0.178 -0.869 -1.17], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0]
trace | in_hull:
| [0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0], [0 1 0 0 0 0 0 1 0 0 0 0], [0 1 0 0 0 0 1 1 0 0 0 0], [0 1 0 0 1 0 1 1 0 0 0 0], [1 1 0 0 1 0 1 1 0 0 0 0], [1 1 0 0 1 0 1 1 0 0 1 0], [1 1 0 0 1 0 1 1 0 0 0 0], [1 1 1 0 1 0 1 1 0 0 0 0], [1 1 1 0 1 1 1 1 0 0 0 0], [1 1 1 0 1 1 1 1 0 1 0 0], [1 1 1 0 1 1 1 1 0 0 0 0], [1 1 1 0 1 1 1 1 1 0 0 0], [1 1 1 1 1 1 1 1 1 0 0 0], [1 1 1 0 1 1 1 1 1 0 0 0] | [1 1 1 0 1 1 1 1 1 0 0 1]
| graham_scan |
mst_prim:
s: 14, A: [[0 0 0 0 0 0 0 0 0.304 0 0 0.533 0.894 0 0], [0 0.572 0 0 0 0 0.198 0.368 0 0 0 0.247 0 0 0], [0 0 0.709 0.207 0.385 0 0 0 0 0 0 0 0.446 0 0.288], [0 0 0.207 0 0 0 0 0.788 0 0 0 0 0 0.695 0], [0 0 0.385 0 0.534 0 0.411 0 0 0 0.094 0 0.447 0 0], [0 0 0 0 0 0 0 0 0.37 0 0.709 0 0.401 0 0], [0 0.198 0 0 0.411 0 0.916 0.635 0 0 0.507 0 0 0 0], [0 0.368 0 0.788 0 0 0.635 0 0 0 0 0.457 0.873 0 0], [0.304 0 0 0 0 0.37 0 0 0 0.459 0 0.56 0 0.544 0], [0 0 0 0 0 0 0 0 0.459 0 0 0 0 0.33 0.311], [0 0 0 0 0.094 0.709 0.507 0 0 0 0.142 0.494 0.213 0 0.199], [0.533 0.247 0 0 0 0 0 0.457 0.56 0 0.494 0.057 0 0 0.266], [0.894 0 0.446 0 0.447 0.401 0 0.873 0 0 0.213 0 0.182 0.246 0], [0 0 0 0.695 0 0 0 0 0.544 0.33 0 0 0.246 0 0], [0 0 0.288 0 0 0 0 0 0 0.311 0.199 0.266 0 0 0.595]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14]
trace | pi:
| [0 1 14 3 4 5 6 7 8 14 14 14 12 13 14], [0 1 14 3 10 10 10 7 8 14 14 14 10 13 14], [0 1 14 3 10 10 4 7 8 14 14 14 10 13 14], [12 1 14 3 10 12 4 12 8 14 14 14 10 12 14], [12 1 14 13 10 12 4 12 13 14 14 14 10 12 14], [11 11 14 13 10 12 4 11 13 14 14 14 10 12 14], [11 11 14 13 10 12 1 1 13 14 14 14 10 12 14], [11 11 14 13 10 12 1 1 13 14 14 14 10 12 14], [11 11 14 2 10 12 1 1 13 14 14 14 10 12 14], [11 11 14 2 10 12 1 1 13 14 14 14 10 12 14], [11 11 14 2 10 12 1 1 9 14 14 14 10 12 14], [11 11 14 2 10 12 1 1 9 14 14 14 10 12 14], [11 11 14 2 10 12 1 1 5 14 14 14 10 12 14], [8 11 14 2 10 12 1 1 5 14 14 14 10 12 14] | [8 11 14 2 10 12 1 1 5 14 14 14 10 12 14]
| mst_prim |
quicksort:
key: [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], initial_trace: [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006]
trace | pred:
| [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], [0.586 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.006], [0.006 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.586], [0.006 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.586], [0.006 0.655 0.846 0.559 0.52 0.263 0.76 0.766 0.623 0.586], [0.006 0.559 0.846 0.655 0.52 0.263 0.76 0.766 0.623 0.586], [0.006 0.559 0.52 0.655 0.846 0.263 0.76 0.766 0.623 0.586], [0.006 0.559 0.52 0.263 0.846 0.655 0.76 0.766 0.623 0.586], [0.006 0.559 0.52 0.263 0.846 0.655 0.76 0.766 0.623 0.586], [0.006 0.559 0.52 0.263 0.846 0.655 0.76 0.766 0.623 0.586], [0.006 0.559 0.52 0.263 0.846 0.655 0.76 0.766 0.623 0.586], [0.006 0.559 0.52 0.263 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.559 0.52 0.263 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.559 0.52 0.263 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.655 0.76 0.766 0.623 0.846], [0.006 0.263 0.52 0.559 0.586 0.623 0.76 0.766 0.655 0.846], [0.006 0.263 0.52 0.559 0.586 0.623 0.76 0.766 0.655 0.846], [0.006 0.263 0.52 0.559 0.586 0.623 0.76 0.766 0.655 0.846], [0.006 0.263 0.52 0.559 0.586 0.623 0.655 0.766 0.76 0.846], [0.006 0.263 0.52 0.559 0.586 0.623 0.655 0.766 0.76 0.846] | [0.006 0.263 0.52 0.559 0.586 0.623 0.655 0.76 0.766 0.846]
| quicksort |
graham_scan:
x: [0.361 -1.19 0.014 -0.003 1.46 -1.34 -1.89 -0.767 1.05 -0.901 -0.913 -1.31 -0.468 -0.924 0.304 1.75 -0.193 -0.278 0.388 1.04 -0.525 -1.36 1.11 1.33 -0.404 -0.633 0.25 -0.777], y: [-0.234 0.392 1.62 0.85 1.13 -1.33 0.229 -1.34 -0.239 1.15 -0.506 -1.46 -1.01 -0.144 -0.69 -0.493 1.4 -1.53 -0.183 -0.342 -0.759 -0.155 -1.05 1.38 -0.817 1.17 1.17 -0.622], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0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0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 1], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 1 1 1 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 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 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0], [0 0 1 0 1 0 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0], [0 0 1 0 1 0 1 1 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0], [0 0 1 0 1 0 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0], [0 0 1 0 1 1 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0], [0 0 1 0 1 0 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0] | [0 0 1 0 1 0 1 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0]
| graham_scan |
find_maximum_subarray_kadane:
key: [0.973 0.141 0.083 0.453 0.02 0.134 0.964 0.833 -0.943 0.707 -0.096 0.006 -0.843 -0.381 -0.545 -0.188 0.741 0.047 -0.12], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 1), (0, 2), (0, 3), (0, 4), (0, 5), (0, 6), (0, 7), (0, 7), (0, 7), (0, 7), (0, 7), (0, 7), (0, 7), (0, 7), (0, 7), (0, 7), (0, 7) | (0, 7)
| find_maximum_subarray_kadane |
quicksort:
key: [0.033 0.603 0.073 0.998 0.737], initial_trace: [0.033 0.603 0.073 0.998 0.737]
trace | pred:
| [0.033 0.603 0.073 0.998 0.737], [0.033 0.603 0.073 0.998 0.737], [0.033 0.603 0.073 0.998 0.737], [0.033 0.603 0.073 0.737 0.998], [0.033 0.603 0.073 0.737 0.998], [0.033 0.603 0.073 0.737 0.998] | [0.033 0.073 0.603 0.737 0.998]
| quicksort |
find_maximum_subarray_kadane:
key: [-0.391 -0.928 -0.873 0.65 0.348 -0.538 0.48 -0.223 -0.73 0.122 0.736 -0.701 -0.791 0.171 0.468], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 0), (0, 0), (3, 3), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4) | (3, 4)
| find_maximum_subarray_kadane |
naive_string_matcher:
string: [0 0 0 0 1], key: [0 3 3 0 0], initial_trace: 0
trace | s:
| | 0
| naive_string_matcher |
bellman_ford:
s: 1, A: [[0.807 0 0 0.538 0 0 0 0 0 0 0.708 0.27 0 0 0 0.798 0 0.352 0], [0 0.053 0 0.49 0 0 0 0.361 0.886 0 0.191 0 0 0 0 0 0.931 0 0], [0 0 0.898 0 0 0 0 0.169 0 0.624 0 0 0.197 0 0 0 0 0 0.2], [0.538 0.49 0 0.829 0 0 0 0 0.165 0 0.559 0 0.732 0 0 0 0 0 0], [0 0 0 0 0.92 0 0 0.833 0 0.335 0.143 0 0.638 0 0 0 0 0 0], [0 0 0 0 0 0 0.134 0 0 0 0.099 0 0.712 0 0 0.709 0 0 0], [0 0 0 0 0 0.134 0.037 0 0 0.571 0 0.316 0 0.551 0 0.179 0.243 0 0], [0 0.361 0.169 0 0.833 0 0 0 0 0 0 0 0 0 0 0.776 0 0.59 0], [0 0.886 0 0.165 0 0 0 0 0.51 0 0 0 0 0 0 0 0 0 0], [0 0 0.624 0 0.335 0 0.571 0 0 0.281 0 0.499 0.316 0 0 0 0 0.09 0], [0.708 0.191 0 0.559 0.143 0.099 0 0 0 0 0.306 0 0.534 0.677 0 0 0 0 0], [0.27 0 0 0 0 0 0.316 0 0 0.499 0 0.332 0 0 0 0 0 0 0], [0 0 0.197 0.732 0.638 0.712 0 0 0 0.316 0.534 0 0 0.494 0 0 0 0 0.828], [0 0 0 0 0 0 0.551 0 0 0 0.677 0 0.494 0 0 0.285 0.525 0.795 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.257 0 0 0.437], [0.798 0 0 0 0 0.709 0.179 0.776 0 0 0 0 0 0.285 0.257 0.687 0.392 0 0], [0 0.931 0 0 0 0 0.243 0 0 0 0 0 0 0.525 0 0.392 0 0 0], [0.352 0 0 0 0 0 0 0.59 0 0.09 0 0 0 0.795 0 0 0 0.054 0], [0 0 0.2 0 0 0 0 0 0 0 0 0 0.828 0 0.437 0 0 0 0.726]], 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 1 4 5 6 1 1 9 1 11 12 13 14 15 1 17 18], [10 1 7 1 10 10 16 1 3 9 1 11 10 10 14 7 1 7 18], [10 1 7 1 10 10 5 1 3 4 1 0 10 10 15 5 1 7 2], [10 1 7 1 10 10 5 1 3 4 1 6 10 10 18 6 6 9 2] | [10 1 7 1 10 10 5 1 3 4 1 6 10 10 15 6 6 9 2]
| bellman_ford |
find_maximum_subarray_kadane:
key: [0.657 0.785 -0.981 0.817 -0.616 -0.982 0.33 0.009 -0.729 -0.332 0.987 -0.83 0.214 -0.611 0.168], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1), (0, 1) | (0, 1)
| find_maximum_subarray_kadane |
dfs:
A: [[1 0 1 0 0 1 1 1 1 1], [0 1 0 0 0 1 1 0 1 1], [0 0 1 0 0 0 0 1 0 1], [0 0 1 0 1 0 0 0 0 1], [1 0 0 1 1 1 0 0 0 1], [0 1 0 0 0 1 0 0 1 0], [1 0 1 1 0 1 1 1 0 1], [0 1 1 1 0 0 0 0 0 1], [1 0 1 1 1 0 1 0 0 1], [1 0 1 0 1 0 1 0 0 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 1 0 3 4 5 6 7 8 9], [0 1 0 3 4 5 6 7 8 9], [0 1 0 3 4 5 6 2 8 9], [0 1 0 3 4 5 6 2 8 9], [0 7 0 3 4 5 6 2 8 9], [0 7 0 3 4 5 6 2 8 9], [0 7 0 3 4 1 6 2 8 9], [0 7 0 3 4 1 6 2 8 9], [0 7 0 3 4 1 6 2 5 9], [0 7 0 3 4 1 6 2 5 9], [0 7 0 8 4 1 6 2 5 9], [0 7 0 8 4 1 6 2 5 9], [0 7 0 8 3 1 6 2 5 9], [0 7 0 8 3 1 6 2 5 9], [0 7 0 8 3 1 6 2 5 4], [0 7 0 8 3 1 6 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4], [0 7 0 8 3 1 9 2 5 4] | [0 7 0 8 3 1 9 2 5 4]
| dfs |
bubble_sort:
key: [0.4 0.547 0.496 0.374], initial_trace: [0.4 0.547 0.496 0.374]
trace | pred:
| [0.4 0.547 0.374 0.496], [0.4 0.374 0.547 0.496], [0.374 0.4 0.547 0.496], [0.374 0.4 0.496 0.547], [0.374 0.4 0.496 0.547] | [0.374 0.4 0.496 0.547]
| bubble_sort |
minimum:
key: [0.749 0.598 0.027 0.664 0.694 0.785 0.977 0.488 0.582 0.729 0.317 0.099], initial_trace: 0
trace | min:
| 1, 2, 2, 2, 2, 2, 2, 2, 2, 2 | 2
| minimum |
dfs:
A: [[1 0 0 0 0 0 1 1 1 1 0 0 0 1 0 0 0 0 0], [0 1 1 0 1 0 0 1 1 0 0 0 1 0 0 0 0 0 0], [0 1 1 1 0 1 1 0 0 0 1 1 0 0 0 1 1 0 1], [1 0 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 1 0], [0 1 0 1 1 0 1 0 1 0 0 1 1 0 0 1 0 0 0], [0 0 0 1 1 0 1 0 1 1 0 0 1 0 1 0 1 1 1], [1 1 1 1 1 1 0 0 1 1 0 1 0 0 0 0 0 1 1], [0 1 1 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0], [0 0 0 1 1 1 1 0 1 1 0 1 1 1 1 1 0 1 0], [0 1 0 1 1 0 1 0 0 0 1 1 1 0 1 0 0 1 1], [1 1 1 0 1 0 0 0 0 0 0 1 0 1 1 0 1 1 1], [1 0 1 1 0 0 0 1 0 1 1 0 0 1 1 0 1 0 0], [1 0 1 0 0 0 0 1 1 0 1 0 1 0 0 0 1 0 1], [1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 1 1 1], [1 1 0 0 0 1 1 0 1 0 1 0 0 1 1 1 0 1 1], [1 1 0 1 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1], [1 0 1 0 1 0 1 0 0 1 0 1 0 0 0 0 1 1 0], [0 1 1 1 0 1 1 1 1 0 0 1 0 0 0 1 1 1 1], [1 0 0 1 0 0 1 1 0 0 1 1 1 1 1 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 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 1 2 3 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 2 3 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 2 3 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 1 3 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 1 3 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 5 0 7 8 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 5 0 7 4 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 5 0 7 4 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 7 4 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 7 4 9 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 7 4 5 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 7 4 5 10 11 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 7 4 5 9 11 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 7 4 5 9 11 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 7 4 5 9 10 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 7 4 5 9 10 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 12 13 14 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 12 13 7 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 12 13 7 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 12 14 7 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 12 14 7 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 15 16 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 15 12 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 15 12 17 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 15 12 16 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 15 12 16 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 18], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15], [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15] | [0 6 1 2 3 8 0 11 4 5 9 10 13 14 7 17 12 16 15]
| dfs |
topological_sort:
A: [[0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0], [1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 1 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 1 1 0 0 1 1 1 0 0 1 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 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 1 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0], [1 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 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 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 1 1 1 0 1 0 1 0 0 1 0 0 0 0], [1 0 1 1 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 1 1 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0], [0 0 0 1 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0], [1 0 1 0 0 1 0 1 0 0 0 0 1 1 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], 0
trace | topo, topo_head:
| [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 9, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 9, [0 1 2 3 4 5 6 7 8 9 10 9 12 13 14 15 16 17 18], 11, [11 1 2 3 4 5 6 7 8 9 10 9 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 8 9 10 9 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 8 9 10 9 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 8 9 10 9 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 6 7 8 9 10 9 12 13 14 15 16 17 18], 0, [11 1 2 3 4 5 0 7 8 9 10 9 12 13 14 15 16 17 18], 6, [11 1 2 6 4 5 0 7 8 9 10 9 12 13 14 15 16 17 18], 3, [11 1 2 6 4 5 0 7 8 9 10 9 12 13 14 15 16 17 18], 3, [11 1 2 6 4 5 0 7 8 9 10 9 12 13 14 15 16 17 18], 3, [11 1 2 6 4 3 0 7 8 9 10 9 12 13 14 15 16 17 18], 5, [11 1 2 6 4 3 0 7 8 9 5 9 12 13 14 15 16 17 18], 10, [11 1 2 6 4 3 0 7 8 9 5 9 12 13 14 15 16 17 18], 10, [11 1 2 6 4 3 0 7 8 9 5 9 12 13 14 15 16 17 18], 10, [11 1 2 6 4 3 0 7 8 9 5 9 12 13 14 15 16 17 18], 10, [11 1 2 6 4 3 0 7 8 9 5 9 10 13 14 15 16 17 18], 12, [11 1 12 6 4 3 0 7 8 9 5 9 10 13 14 15 16 17 18], 2, [11 1 12 6 4 3 0 7 8 9 5 9 10 13 14 2 16 17 18], 15, [11 15 12 6 4 3 0 7 8 9 5 9 10 13 14 2 16 17 18], 1, [11 15 12 6 4 3 0 7 8 9 5 9 10 13 14 2 16 17 18], 1, [11 15 12 6 4 3 0 7 8 9 5 9 10 13 14 2 16 17 18], 1, [11 15 12 6 4 3 0 7 8 9 5 9 10 13 14 2 16 17 18], 1, [11 15 12 6 4 3 0 7 8 9 5 9 10 13 1 2 16 17 18], 14, [11 15 12 6 14 3 0 7 8 9 5 9 10 13 1 2 16 17 18], 4, [11 15 12 6 14 3 0 7 8 9 5 9 10 13 1 2 16 17 18], 4, [11 15 12 6 14 3 0 7 8 9 5 9 10 13 1 2 16 17 18], 4, [11 15 12 6 14 3 0 4 8 9 5 9 10 13 1 2 16 17 18], 7, [11 15 12 6 14 3 0 4 8 9 5 9 10 13 1 2 16 17 18], 7, [11 15 12 6 14 3 0 4 8 9 5 9 10 13 1 2 16 17 18], 7, [11 15 12 6 14 3 0 4 8 9 5 9 10 13 1 2 16 17 18], 7, [11 15 12 6 14 3 0 4 8 9 5 9 10 13 1 2 7 17 18], 16, [11 15 12 6 14 3 0 4 8 9 5 9 10 13 1 2 7 17 18], 16, [11 15 12 6 14 3 0 4 8 9 5 9 10 13 1 2 7 17 18], 16, [11 15 12 6 14 3 0 4 8 9 5 9 10 16 1 2 7 17 18], 13, [11 15 12 6 14 3 0 4 8 9 5 9 10 16 1 2 7 13 18], 17, [11 15 12 6 14 3 0 4 8 9 5 9 10 16 1 2 7 13 18], 17, [11 15 12 6 14 3 0 4 8 9 5 9 10 16 1 2 7 13 17], 18 | [11 15 12 6 14 3 0 4 18 9 5 9 10 16 1 2 7 13 17], 8
| topological_sort |
bellman_ford:
s: 10, A: [[0.584 0 0.198 0.052 0.767 0 0 0.125 0 0 0 0 0 0.344 0.77 0 0 0 0], [0 0.222 0 0.366 0 0 0 0 0.325 0 0 0 0 0.273 0.687 0 0.225 0 0], [0.198 0 0.036 0.214 0 0 0.442 0.043 0 0 0 0 0 0.51 0 0 0 0 0], [0.052 0.366 0.214 0.499 0 0 0 0 0 0.538 0.224 0.154 0.306 0 0 0.6 0 0 0.35], [0.767 0 0 0 0 0 0 0.196 0 0 0 0 0.281 0.162 0.271 0 0 0 0], [0 0 0 0 0 0 0.701 0.38 0 0 0 0 0 0.497 0.452 0 0 0 0], [0 0 0.442 0 0 0.701 0 0 0.732 0 0 0.328 0 0 0.196 0 0.032 0 0], [0.125 0 0.043 0 0.196 0.38 0 0 0 0 0.365 0 0 0.488 0 0 0 0 0], [0 0.325 0 0 0 0 0.732 0 0 0 0 0 0.479 0 0 0 0 0 0], [0 0 0 0.538 0 0 0 0 0 0.061 0.322 0 0 0 0 0.541 0 0 0], [0 0 0 0.224 0 0 0 0.365 0 0.322 0.492 0 0 0 0 0 0 0.867 0], [0 0 0 0.154 0 0 0.328 0 0 0 0 0.662 0 0 0 0 0 0.176 0.412], [0 0 0 0.306 0.281 0 0 0 0.479 0 0 0 0.325 0 0 0 0 0.382 0], [0.344 0.273 0.51 0 0.162 0.497 0 0.488 0 0 0 0 0 0 0.766 0 0 0 0.551], [0.77 0.687 0 0 0.271 0.452 0.196 0 0 0 0 0 0 0.766 0.212 0 0 0 0], [0 0 0 0.6 0 0 0 0 0 0.541 0 0 0 0 0 0.824 0 0 0], [0 0.225 0 0 0 0 0.032 0 0 0 0 0 0 0 0 0 0.674 0 0], [0 0 0 0 0 0 0 0 0 0 0.867 0.176 0.382 0 0 0 0 0.075 0], [0 0 0 0.35 0 0 0 0 0 0 0 0.412 0 0.551 0 0 0 0 0.24]], 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 10 4 5 6 10 8 10 10 11 12 13 14 15 16 10 18], [3 3 7 10 7 7 6 10 8 10 10 3 3 7 14 3 16 10 3], [3 3 7 10 7 7 11 10 1 10 10 3 3 0 4 3 1 11 3] | [3 3 7 10 7 7 11 10 1 10 10 3 3 0 4 3 6 11 3]
| bellman_ford |
activity_selector:
s: [0.131 0.095 0.334 0.218 0.409 0.404 0.037 0.329 0.532 0.52 0.424 0.766 0.074 0.226 0.004], f: [0.543 0.197 0.389 0.568 0.439 0.492 0.327 0.768 0.804 0.557 0.575 0.949 0.299 0.653 0.217], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
trace | selected:
| [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 0 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 0 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 0 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 1 0 0 0 0 0] | [0 1 1 0 1 0 0 0 0 1 0 1 0 0 0]
| activity_selector |
task_scheduling:
d: [15 15 26 10 16 27 25 11 25 1 28 11 9 27 16 19 10 9 10 2 29 17 12 23 31 8 28 11 6 25 21], w: [0.547 0.177 0.393 0.474 0.849 0.203 0.368 0.919 0.363 0.546 0.521 0.914 0.947 0.284 0.604 0.739 0.047 0.752 0.39 0.65 0.394 0.192 0.656 0.057 0.571 0.525 0.022 0.674 0.497 0.247 0.536], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
trace | selected:
| [0 0 0 0 0 0 0 0 0 0 0 0 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 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 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 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 1 0 0 0 1 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 1 0 0 0 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 0 1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 1 1 1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1], [1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1], [1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1], [1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1], [1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 0 1 1 1 0 0 1 0 1 1], [1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 0 1 1 1 0 0 1 0 1 1] | [1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 0 1 1 1 0 1 1 0 1 1]
| task_scheduling |
insertion_sort:
key: [0.159 0.863 0.583 0.145 0.826 0.774 0.638 0.67 0.411 0.153], initial_trace: [0.159 0.863 0.583 0.145 0.826 0.774 0.638 0.67 0.411 0.153]
trace | pred:
| [0.159 0.863 0.583 0.145 0.826 0.774 0.638 0.67 0.411 0.153], [0.159 0.583 0.863 0.145 0.826 0.774 0.638 0.67 0.411 0.153], [0.145 0.159 0.583 0.863 0.826 0.774 0.638 0.67 0.411 0.153], [0.145 0.159 0.583 0.826 0.863 0.774 0.638 0.67 0.411 0.153], [0.145 0.159 0.583 0.774 0.826 0.863 0.638 0.67 0.411 0.153], [0.145 0.159 0.583 0.638 0.774 0.826 0.863 0.67 0.411 0.153], [0.145 0.159 0.583 0.638 0.67 0.774 0.826 0.863 0.411 0.153], [0.145 0.159 0.411 0.583 0.638 0.67 0.774 0.826 0.863 0.153] | [0.145 0.153 0.159 0.411 0.583 0.638 0.67 0.774 0.826 0.863]
| insertion_sort |
quickselect:
key: [0.453 0.228 0.873 0.356 0.104], initial_trace: 4
trace | pivot:
| 4, 4, 4, 4, 0, 0, 0, 0, 3 | 3
| quickselect |
mst_prim:
s: 3, A: [[0 0.257 0 0 0 0 0 0 0 0 0 0.205 0 0 0 0 0 0 0 0 0 0.629 0], [0.257 0.835 0 0 0.247 0 0.718 0 0 0.1 0 0.451 0 0 0 0.373 0.374 0 0 0 0 0 0], [0 0 0.957 0 0 0 0.497 0 0 0.877 0 0.169 0.124 0 0 0 0 0.057 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.573 0 0.923 0.442 0 0 0.744 0.42 0 0.921 0 0 0 0 0.37], [0 0.247 0 0 0.496 0.736 0 0 0 0 0 0 0.564 0 0 0 0 0.514 0 0 0.508 0 0.791], [0 0 0 0 0.736 0.686 0.367 0 0.107 0 0 0 0 0 0 0.61 0 0 0 0 0.263 0 0.111], [0 0.718 0.497 0 0 0.367 0.882 0 0 0 0.204 0 0 0 0 0 0 0 0.185 0 0 0.256 0], [0 0 0 0 0 0 0 0.199 0 0 0.128 0 0.246 0 0 0 0.038 0.704 0 0.507 0 0 0.123], [0 0 0 0.573 0 0.107 0 0 0 0 0 0 0 0.443 0 0 0.135 0 0 0 0 0 0], [0 0.1 0.877 0 0 0 0 0 0 0 0.541 0 0 0 0 0.292 0.582 0 0 0 0 0 0.709], [0 0 0 0.923 0 0 0.204 0.128 0 0.541 0 0 0 0.935 0 0 0 0 0.604 0 0 0 0], [0.205 0.451 0.169 0.442 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.044 0 0 0 0], [0 0 0.124 0 0.564 0 0 0.246 0 0 0 0 0 0 0 0 0 0.195 0.348 0 0 0.336 0], [0 0 0 0 0 0 0 0 0.443 0 0.935 0 0 0.746 0 0 0 0 0 0 0.438 0 0], [0 0 0 0.744 0 0 0 0 0 0 0 0 0 0 0.745 0 0.185 0 0 0 0.227 0 0], [0 0.373 0 0.42 0 0.61 0 0 0 0.292 0 0 0 0 0 0.989 0 0.085 0 0 0.775 0 0], [0 0.374 0 0 0 0 0 0.038 0.135 0.582 0 0 0 0 0.185 0 0.959 0.909 0 0 0.335 0.217 0], [0 0 0.057 0.921 0.514 0 0 0.704 0 0 0 0 0.195 0 0 0.085 0.909 0 0.118 0 0 0 0], [0 0 0 0 0 0 0.185 0 0 0 0.604 0.044 0.348 0 0 0 0 0.118 0.936 0 0 0 0], [0 0 0 0 0 0 0 0.507 0 0 0 0 0 0 0 0 0 0 0 0 0.463 0 0.429], [0 0 0 0 0.508 0.263 0 0 0 0 0 0 0 0.438 0.227 0.775 0.335 0 0 0.463 0.498 0 0], [0.629 0 0 0 0 0 0.256 0 0 0 0 0 0.336 0 0 0 0.217 0 0 0 0 0 0], [0 0 0 0.37 0.791 0.111 0 0.123 0 0.709 0 0 0 0 0 0 0 0 0 0.429 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22]
trace | pi:
| [0 1 2 3 4 5 6 7 3 9 3 3 12 13 3 3 16 3 18 19 20 21 3], [0 1 2 3 22 22 6 22 3 22 3 3 12 13 3 3 16 3 18 22 20 21 3], [0 1 2 3 5 22 5 22 5 22 3 3 12 13 3 3 16 3 18 22 5 21 3], [0 1 2 3 5 22 5 22 5 22 3 3 12 8 3 3 8 3 18 22 5 21 3], [0 1 2 3 5 22 5 22 5 22 7 3 7 8 3 3 7 7 18 22 5 21 3], [0 16 2 3 5 22 5 22 5 16 7 3 7 8 16 3 7 7 18 22 5 16 3], [0 16 2 3 5 22 10 22 5 10 7 3 7 8 16 3 7 7 10 22 5 16 3], [0 16 2 3 5 22 10 22 5 10 7 3 7 8 16 3 7 7 10 22 14 16 3], [0 16 6 3 5 22 10 22 5 10 7 3 7 8 16 3 7 7 6 22 14 16 3], [0 16 6 3 5 22 10 22 5 10 7 18 7 8 16 3 7 18 6 22 14 16 3], [11 16 11 3 5 22 10 22 5 10 7 18 7 8 16 3 7 18 6 22 14 16 3], [11 16 17 3 17 22 10 22 5 10 7 18 17 8 16 17 7 18 6 22 14 16 3], [11 16 17 3 17 22 10 22 5 10 7 18 2 8 16 17 7 18 6 22 14 16 3], [11 15 17 3 17 22 10 22 5 15 7 18 2 8 16 17 7 18 6 22 14 16 3], [11 15 17 3 17 22 10 22 5 15 7 18 2 8 16 17 7 18 6 22 14 16 3], [11 0 17 3 17 22 10 22 5 15 7 18 2 8 16 17 7 18 6 22 14 16 3], [11 0 17 3 17 22 10 22 5 15 7 18 2 8 16 17 7 18 6 22 14 16 3], [11 0 17 3 20 22 10 22 5 15 7 18 2 20 16 17 7 18 6 22 14 16 3], [11 0 17 3 1 22 10 22 5 1 7 18 2 20 16 17 7 18 6 22 14 16 3], [11 0 17 3 1 22 10 22 5 1 7 18 2 20 16 17 7 18 6 22 14 16 3], [11 0 17 3 1 22 10 22 5 1 7 18 2 20 16 17 7 18 6 22 14 16 3], [11 0 17 3 1 22 10 22 5 1 7 18 2 20 16 17 7 18 6 22 14 16 3] | [11 0 17 3 1 22 10 22 5 1 7 18 2 20 16 17 7 18 6 22 14 16 3]
| mst_prim |
dijkstra:
s: 2, A: [[0 0 0.889 0], [0 0 0 0], [0.889 0 0.278 0], [0 0 0 0]], initial_trace: [0 1 2 3]
trace | pi:
| [2 1 2 3] | [2 1 2 3]
| dijkstra |
task_scheduling:
d: [3 4 15 12 5 8 20 23 6 31 8 3 26 1 15 2 17 31 27 14 22 13 27 26 5 17 29 12 13 19 31], w: [0.232 0.966 0.696 0.625 0.748 0.626 0.222 0.724 0.069 0.328 0.573 0.898 0.371 0.535 0.215 0.815 0.539 0.766 0.801 0.169 0.599 0.907 0.767 0.118 0.973 0.742 0.197 0.298 0.516 0.272 0.406], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
trace | selected:
| [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0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 0 0.378 0 0 0 0.488 0 0 0 0.601 0], [0.409 0 0 0 0 0 0 0 0 0 0 0 0.304 0.403 0 0.057 0 0 0.431 0 0 0 0.282 0 0 0 0 0], [0 0 0 0 0 0.563 0.724 0 0 0 0.173 0 0 0 0 0 0 0 0 0 0 0.438 0 0 0.253 0 0 0], [0 0 0.537 0.71 0 0.724 0.613 0.79 0 0 0 0 0 0 0 0 0 0.404 0 0 0.151 0 0 0 0 0 0.612 0], [0.759 0 0 0 0 0 0.79 0.332 0 0 0 0.696 0 0 0.976 0.564 0 0.428 0 0.087 0.441 0 0 0 0 0.266 0 0.39], [0 0 0 0 0 0 0 0 0.219 0 0 0 0.776 0 0 0 0 0 0 0 0.824 0 0 0.61 0 0.577 0.618 0], [0 0 0 0.417 0 0 0 0 0 0.587 0.196 0 0.043 0.43 0 0.579 0.18 0.136 0 0 0 0 0.19 0 0 0 0 0.581], [0 0.076 0 0 0 0.173 0 0 0 0.196 0.886 0.203 0 0 0 0 0.577 0.378 0 0 0.207 0 0 0.338 0 0 0.554 0], [0 0 0 0 0 0 0 0.696 0 0 0.203 0.858 0 0 0.333 0 0 0 0.323 0 0 0 0.799 0 0.793 0.839 0 0.411], [0 0 0.843 0 0.304 0 0 0 0.776 0.043 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.365 0 0 0.478], [0.785 0 0 0 0.403 0 0 0 0 0.43 0 0 0 0.801 0.622 0 0.168 0 0 0 0.133 0 0 0 0.492 0.364 0 0], [0 0.438 0 0 0 0 0 0.976 0 0 0 0.333 0 0.622 0.562 0 0 0 0 0 0 0 0.957 0 0 0 0 0], [0 0 0 0 0.057 0 0 0.564 0 0.579 0 0 0 0 0 0 0 0 0.067 0 0.467 0 0.557 0.448 0 0 0 0.203], [0 0.27 0.35 0 0 0 0 0 0 0.18 0.577 0 0 0.168 0 0 0 0.343 0 0.727 0.673 0 0 0 0 0 0 0], [0 0 0.309 0 0 0 0.404 0.428 0 0.136 0.378 0 0 0 0 0 0.343 0.553 0 0 0 0.196 0.69 0.116 0 0 0.965 0], [0.31 0 0 0.378 0.431 0 0 0 0 0 0 0.323 0 0 0 0.067 0 0 0.61 0 0 0 0 0 0 0.264 0 0], [0.696 0 0 0 0 0 0 0.087 0 0 0 0 0 0 0 0 0.727 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.151 0.441 0.824 0 0.207 0 0 0.133 0 0.467 0.673 0 0 0 0.94 0.131 0.414 0 0 0.197 0 0.31], [0 0 0 0 0 0.438 0 0 0 0 0 0 0 0 0 0 0 0.196 0 0 0.131 0.348 0 0 0.193 0 0 0], [0 0 0.514 0.488 0.282 0 0 0 0 0.19 0 0.799 0 0 0.957 0.557 0 0.69 0 0 0.414 0 0 0 0 0 0.807 0], [0 0 0 0 0 0 0 0 0.61 0 0.338 0 0 0 0 0.448 0 0.116 0 0 0 0 0 0 0 0 0 0], [0 0 0.654 0 0 0.253 0 0 0 0 0 0.793 0.365 0.492 0 0 0 0 0 0 0 0.193 0 0 0.238 0 0 0], [0 0 0.688 0 0 0 0 0.266 0.577 0 0 0.839 0 0.364 0 0 0 0 0.264 0 0.197 0 0 0 0 0.982 0 0], [0.723 0 0 0.601 0 0 0.612 0 0.618 0 0.554 0 0 0 0 0 0 0.965 0 0 0 0 0.807 0 0 0 0.864 0], [0 0 0.471 0 0 0 0 0.39 0 0.581 0 0.411 0.478 0 0 0.203 0 0 0 0 0.31 0 0 0 0 0 0 0.3]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27]
trace | pi:
| [0 1 2 3 4 5 5 7 8 9 5 11 12 13 14 15 16 17 18 19 20 5 22 23 5 25 26 27], [0 10 2 3 4 5 5 7 8 10 5 10 12 13 14 15 10 10 18 19 10 5 22 10 5 25 10 27], [1 10 2 3 4 5 5 7 8 10 5 10 12 13 1 15 1 10 18 19 10 5 22 10 5 25 10 27], [1 10 2 9 4 5 5 7 8 10 5 10 9 9 1 9 9 9 18 19 10 5 9 10 5 25 10 9], [1 10 12 9 12 5 5 7 12 10 5 10 9 9 1 9 9 9 18 19 10 5 9 10 5 25 10 12], [1 10 17 9 12 5 17 17 12 10 5 10 9 9 1 9 9 9 18 19 10 17 9 17 5 25 10 12], [1 10 17 9 12 5 17 17 23 10 5 10 9 9 1 23 9 9 18 19 10 17 9 17 5 25 10 12], [1 10 17 9 12 5 17 17 23 10 5 10 9 16 1 23 9 9 18 16 10 17 9 17 5 25 10 12], [13 10 17 9 12 5 17 17 23 10 5 10 9 16 1 23 9 9 18 16 13 17 9 17 5 13 10 12], [13 10 17 9 12 5 20 17 23 10 5 10 9 16 1 23 9 9 18 16 13 20 9 17 5 20 10 20], [13 10 17 9 12 5 20 17 23 10 5 10 9 16 1 23 9 9 18 16 13 20 9 17 21 20 10 20], [13 10 17 9 12 5 20 17 23 10 5 10 9 16 1 23 9 9 18 16 13 20 9 17 21 20 10 20], [13 10 17 9 22 5 20 17 23 10 5 10 9 16 1 23 9 9 18 16 13 20 9 17 21 20 10 20], [13 10 17 9 22 5 20 17 23 10 5 10 9 16 1 23 9 9 18 16 13 20 9 17 21 20 10 20], [13 10 17 9 22 5 20 25 25 10 5 10 9 16 1 23 9 9 25 16 13 20 9 17 21 20 10 20], [13 10 17 9 22 5 20 25 25 10 5 10 9 16 11 23 9 9 25 16 13 20 9 17 21 20 10 20], [18 10 17 18 22 5 20 25 25 10 5 10 9 16 11 18 9 9 25 16 13 20 9 17 21 20 10 20], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 16 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 16 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 16 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 7 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 7 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 7 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 7 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 7 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 7 13 20 9 17 21 20 10 15], [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 7 13 20 9 17 21 20 10 15] | [18 10 17 18 15 5 20 25 25 10 5 10 9 16 11 18 9 9 25 7 13 20 9 17 21 20 10 15]
| mst_prim |
find_maximum_subarray_kadane:
key: [-0.428 -0.427 -0.482 -0.476 -0.041 0.873 0.448 0.352 0.744 -0.162 -0.999], initial_trace: (0, 0)
trace | (best_low, best_high):
| (1, 1), (1, 1), (1, 1), (4, 4), (5, 5), (5, 6), (5, 7), (5, 8), (5, 8) | (5, 8)
| find_maximum_subarray_kadane |
bfs:
s: 9, A: [[0 0 0 0 1 0 0 1 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 1 1 0 0 1 0 0 0], [0 1 1 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 1 0 0 0 0], [0 0 1 0 0 0 1 0 0 1], [1 0 0 1 1 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9]
trace | pi:
| [0 1 2 3 4 5 9 9 8 9], [7 1 6 7 7 5 9 9 8 9] | [7 3 6 7 7 5 9 9 8 9]
| bfs |
segments_intersect:
x: [0.909 0.636 0.712 0.252], y: [0.91 0.831 0.483 0.783]
intersect:
| 0
| segments_intersect |
topological_sort:
A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0], [1 1 0 1 0 1 0 0 0 1 1 0 1 1 0 0 0 1 0], [1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1], [1 0 0 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 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 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 1 0 1 0 1 1 0 1 0 0 0 1 0 0 1 1 1], [1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1], [1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 1 0], [0 1 0 1 1 1 1 0 0 1 1 0 0 1 0 0 0 1 1], [1 0 0 0 1 1 1 1 0 1 0 0 1 0 0 0 1 0 0], [0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 1 0 0 1 1 1 1 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0
trace | topo, topo_head:
| [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], 6, [0 1 2 3 4 5 0 7 8 9 10 11 12 13 14 15 16 17 18], 6, [0 1 2 3 4 5 0 7 6 9 10 11 12 13 14 15 16 17 18], 8, [0 1 2 3 4 5 0 7 6 9 10 11 12 13 14 15 16 17 18], 8, [0 1 2 3 4 5 0 7 6 9 10 11 12 13 14 15 16 17 18], 8, [0 1 2 3 4 5 0 7 6 9 10 11 12 13 14 15 16 17 18], 8, [0 1 2 3 4 5 0 7 6 9 10 11 12 13 14 15 16 17 18], 8, [0 1 2 3 4 5 0 7 6 9 10 11 12 13 14 15 16 17 8], 18, [0 1 2 18 4 5 0 7 6 9 10 11 12 13 14 15 16 17 8], 3, [0 1 2 18 4 5 0 7 6 9 10 11 12 13 14 15 16 17 8], 3, [0 1 2 18 4 5 0 3 6 9 10 11 12 13 14 15 16 17 8], 7, [0 1 2 18 4 5 0 3 6 9 10 11 12 13 14 15 16 17 8], 7, [0 1 2 18 4 5 0 3 6 9 10 11 7 13 14 15 16 17 8], 12, [0 1 2 18 12 5 0 3 6 9 10 11 7 13 14 15 16 17 8], 4, [0 1 2 18 12 5 0 3 6 9 10 11 7 13 14 15 16 17 8], 4, [0 1 2 18 12 5 0 3 6 9 10 11 7 13 14 15 16 17 8], 4, [0 1 2 18 12 5 0 3 6 9 4 11 7 13 14 15 16 17 8], 10, [0 1 2 18 12 5 0 3 6 9 4 11 7 13 14 15 10 17 8], 16, [0 1 2 18 12 5 0 3 6 9 4 11 7 13 14 15 10 17 8], 16, [0 1 2 18 12 5 0 3 6 9 4 11 7 13 14 15 10 17 8], 16, [0 1 2 18 12 5 0 3 6 16 4 11 7 13 14 15 10 17 8], 9, [0 1 2 18 12 5 0 3 6 16 4 11 7 13 14 15 10 9 8], 17, [0 1 2 18 12 5 0 3 6 16 4 11 7 17 14 15 10 9 8], 13, [0 13 2 18 12 5 0 3 6 16 4 11 7 17 14 15 10 9 8], 1, [0 13 2 18 12 5 0 3 6 16 4 11 7 17 14 15 10 9 8], 1, [0 13 2 18 12 5 0 3 6 16 4 11 7 17 14 15 10 9 8], 1, [0 13 2 18 12 5 0 3 6 16 4 11 7 17 14 15 10 9 8], 1, [0 13 2 18 12 1 0 3 6 16 4 11 7 17 14 15 10 9 8], 5, [0 13 5 18 12 1 0 3 6 16 4 11 7 17 14 15 10 9 8], 2, [0 13 5 18 12 1 0 3 6 16 4 11 7 17 14 15 10 9 8], 2, [0 13 5 18 12 1 0 3 6 16 4 11 7 17 14 15 10 9 8], 2, [0 13 5 18 12 1 0 3 6 16 4 2 7 17 14 15 10 9 8], 11, [0 13 5 18 12 1 0 3 6 16 4 2 7 17 14 15 10 9 8], 11, [0 13 5 18 12 1 0 3 6 16 4 2 7 17 14 15 10 9 8], 11, [0 13 5 18 12 1 0 3 6 16 4 2 7 17 11 15 10 9 8], 14, [0 13 5 18 12 1 0 3 6 16 4 2 7 17 11 15 10 9 8], 14, [0 13 5 18 12 1 0 3 6 16 4 2 7 17 11 15 10 9 8], 14 | [0 13 5 18 12 1 0 3 6 16 4 2 7 17 11 14 10 9 8], 15
| topological_sort |
insertion_sort:
key: [0.681 0.879 0.491 0.472 0.603 0.271 0.782 0.113 0.998 0.737 0.106 0.94], initial_trace: [0.681 0.879 0.491 0.472 0.603 0.271 0.782 0.113 0.998 0.737 0.106 0.94]
trace | pred:
| [0.681 0.879 0.491 0.472 0.603 0.271 0.782 0.113 0.998 0.737 0.106 0.94], [0.491 0.681 0.879 0.472 0.603 0.271 0.782 0.113 0.998 0.737 0.106 0.94], [0.472 0.491 0.681 0.879 0.603 0.271 0.782 0.113 0.998 0.737 0.106 0.94], [0.472 0.491 0.603 0.681 0.879 0.271 0.782 0.113 0.998 0.737 0.106 0.94], [0.271 0.472 0.491 0.603 0.681 0.879 0.782 0.113 0.998 0.737 0.106 0.94], [0.271 0.472 0.491 0.603 0.681 0.782 0.879 0.113 0.998 0.737 0.106 0.94], [0.113 0.271 0.472 0.491 0.603 0.681 0.782 0.879 0.998 0.737 0.106 0.94], [0.113 0.271 0.472 0.491 0.603 0.681 0.782 0.879 0.998 0.737 0.106 0.94], [0.113 0.271 0.472 0.491 0.603 0.681 0.737 0.782 0.879 0.998 0.106 0.94], [0.106 0.113 0.271 0.472 0.491 0.603 0.681 0.737 0.782 0.879 0.998 0.94] | [0.106 0.113 0.271 0.472 0.491 0.603 0.681 0.737 0.782 0.879 0.94 0.998]
| insertion_sort |
dfs:
A: [[1 0 1 1 0], [0 0 1 0 0], [1 1 0 0 0], [1 1 1 0 1], [0 1 0 1 1]], initial_trace: [0 1 2 3 4]
trace | pi:
| [0 1 2 3 4], [0 1 0 3 4], [0 1 0 3 4], [0 2 0 3 4], [0 2 0 3 4], [0 2 0 3 4], [0 2 0 3 4], [0 2 0 0 4], [0 2 0 0 4], [0 2 0 0 3], [0 2 0 0 3], [0 2 0 0 3], [0 2 0 0 3] | [0 2 0 0 3]
| dfs |
quickselect:
key: [0.037 0.4 0.884 0.879 0.86 0.899 0.755 0.592 0.394 0.348 0.021 0.643 0.566 0.542 0.583 0.361 0.424 0.544 0.78 0.14 0.013 0.009 0.117], initial_trace: 22
trace | pivot:
| 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 16, 16, 16, 16, 16, 16 | 13
| quickselect |
minimum:
key: [0.099 0.356 0.319 0.924 0.252 0.769 0.243 0.398 0.429 0.223 0.942 0.219 0.273 0.24 0.809 0.273 0.741 0.496 0.123 0.869 0.782 0.141 0.339], initial_trace: 0
trace | min:
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 | 0
| minimum |
find_maximum_subarray_kadane:
key: [-0.552 0.653 -0.934 0.952 0.985 0.024 -0.693 0.313 -0.549 -0.522 0.038], initial_trace: (0, 0)
trace | (best_low, best_high):
| (1, 1), (1, 1), (3, 3), (3, 4), (3, 5), (3, 5), (3, 5), (3, 5), (3, 5) | (3, 5)
| find_maximum_subarray_kadane |
bfs:
s: 0, A: [[0 0 0 0 1 0 0 1 0 1 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 1 0 0 0 0], [0 0 0 1 0 0 0 0 0 1 1 0], [1 0 1 0 1 0 0 1 1 1 0 0], [0 1 0 0 0 0 0 1 1 0 0 0], [0 0 0 0 0 0 1 0 0 1 0 1], [1 0 1 0 1 1 0 1 0 0 0 0], [0 0 0 0 1 1 0 0 1 0 0 0], [1 0 0 1 1 0 1 0 0 0 1 1], [0 0 0 1 0 0 0 0 0 1 1 0], [0 0 0 0 0 0 1 0 0 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | pi:
| [0 1 2 3 0 5 6 0 8 0 10 11], [0 1 4 9 0 7 9 0 4 0 9 9] | [0 5 4 9 0 7 9 0 4 0 9 9]
| bfs |
jarvis_march:
x: [0.124 -1.42 -0.444 0.287 -0.98 0.859 0.887 0.029 0.989 -1.07 -1.16 -0.657], y: [1.11 -0.377 -0.06 0.205 -1.1 -1.09 -1.77 1.38 0.677 0.947 0.592 0.755], initial_trace: [0 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 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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1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 0 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0], [0 1 0 0 1 0 1 1 1 1 0 0] | [0 1 0 0 1 0 1 1 1 1 0 0]
| jarvis_march |
activity_selector:
s: [0.914 0.505 0.311 0.384 0.435 0.377 0.019 0.274 0.139 0.012 0.826 0.136 0.105 0.191 0.414 0.156 0.215 0.242 0.412 0.683 0.515 0.183 0.14], f: [0.938 0.562 0.638 0.77 0.723 0.546 0.907 0.892 0.877 0.157 0.91 0.277 0.349 0.47 0.938 0.162 0.545 0.343 0.489 0.929 0.613 0.805 0.157], 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 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 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 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 1 0 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 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 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], [0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 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 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1]
| activity_selector |
segments_intersect:
x: [0.553 0.186 0.803 0.572], y: [0.888 0.293 0.148 0.96]
intersect:
| 0
| segments_intersect |
strongly_connected_components:
A: [[1 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 1]], initial_trace: [0 1 2 3]
trace | scc_id:
| [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 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 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 3] | [0 1 2 3]
| strongly_connected_components |
dag_shortest_paths:
s: 1, A: [[0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.511 0 0 0 0 0 0 0.61 0 0], [0.76 0 0 0 0 0 0 0 0 0 0 0], [0.0888 0.133 0.299 0 0 0 0 0 0 0 0 0], [0.69 0.503 0 0.958 0 0.829 0 0 0 0.977 0.0126 0], [0 0 0 0 0 0 0 0 0 0.306 0 0], [0.35 0.655 0.187 0 0 0 0 0.0857 0 0 0.503 0.0739], [0.0391 0 0 0.295 0.165 0 0 0 0 0.938 0.653 0.58], [0.918 0 0.0174 0 0.141 0.846 0.709 0 0 0 0.373 0], [0.497 0 0 0 0 0 0 0 0 0 0 0], [0.632 0 0.35 0 0 0 0 0 0 0 0 0], [0 0.389 0 0.0648 0 0 0 0 0 0 0.795 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 1 3 4 5 6 7 8 1 10 11], [9 1 1 3 4 5 6 7 8 1 10 11] | [9 1 1 3 4 5 6 7 8 1 10 11]
| dag_shortest_paths |
task_scheduling:
d: [4 3 3 1 1], w: [0.78 0.579 0.29 0.14 0.087], initial_trace: [0 0 0 0 0]
trace | selected:
| [1 0 0 0 0], [1 1 0 0 0], [1 1 1 0 0], [1 1 1 0 0] | [1 1 1 0 0]
| task_scheduling |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 0 1 1], key: [0 2 1 3 0 3 3 0 1 2 0 2], initial_trace: 0
trace | s:
| | 0
| naive_string_matcher |
strongly_connected_components:
A: [[0 1 1 0 0 0 1 0 1 0 0 0 0 0 0], [0 0 1 0 0 0 1 0 0 0 1 0 0 0 0], [0 1 0 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 1 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 1 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14]
trace | scc_id:
| [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 4 13 14], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 14], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 14], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 14], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 14], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 14], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 14], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 2 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 1 3 4 5 6 7 8 9 10 4 4 13 3], [0 1 1 3 4 5 1 7 8 9 10 4 4 13 3], [0 1 1 3 4 5 1 7 8 9 1 4 4 13 3], [0 1 1 3 4 5 1 7 8 9 1 4 4 13 3], [0 1 1 3 4 5 1 7 8 9 1 4 4 13 3], [0 1 1 3 4 5 1 7 8 9 1 4 4 13 3], [0 1 1 3 4 5 1 7 8 9 1 4 4 13 3], [0 1 1 3 4 5 1 7 8 9 1 4 4 13 3] | [0 1 1 3 4 5 1 7 8 9 1 4 4 13 3]
| strongly_connected_components |
find_maximum_subarray_kadane:
key: [0.646 -0.584 -0.429 0.176], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 0), (0, 0) | (0, 0)
| find_maximum_subarray_kadane |
bfs:
s: 5, A: [[1 0 0 0 1 1 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0 0 1 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 1 1 0], [0 0 1 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 1 1 1 1 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0], [1 0 0 1 0 1 1 0 1 1 0 0 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0], [1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 1 1 0 1 0], [0 0 1 0 1 0 1 1 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 1 1], [0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0], [0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 1 0 0 1 1 1 0 0], [1 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 1 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 0 0 0 0 0 1 0 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