question
stringlengths 65
3.42k
| answer
stringlengths 3
5.8k
| algo_name
stringclasses 30
values |
---|---|---|
find_maximum_subarray_kadane:
key: [0.935 0.654 0.244 -0.905 0.087 0.635 -0.435 -0.563 0.324 0.849 -0.911 -0.516 0.833 0.865 -0.923 -0.142 -0.027 -0.13 -0.579 -0.549 -0.237 0.721 -0.066], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 1), (0, 2), (0, 2), (0, 2), (0, 2), (0, 2), (0, 2), (0, 2), (0, 2), (0, 2), (0, 2), (0, 2), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13) | (0, 13)
| find_maximum_subarray_kadane |
optimal_bst:
p: [0.03 0.051 0.012 0.052 0.033 0.016 0.038 0.01 0.095 0.038 0], q: [0.113 0.019 0.064 0.005 0.093 0.047 0.024 0.113 0.03 0.094 0.024], initial_trace: [[0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0]]
trace | root:
| [[0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0], [0 0 0 2 0 0 0 0 0 0 0], [0 0 0 0 3 0 0 0 0 0 0], [0 0 0 0 0 4 0 0 0 0 0], [0 0 0 0 0 0 5 0 0 0 0], [0 0 0 0 0 0 0 6 0 0 0], [0 0 0 0 0 0 0 0 7 0 0], [0 0 0 0 0 0 0 0 0 8 0], [0 0 0 0 0 0 0 0 0 0 9], [0 0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0 0], [0 0 1 1 0 0 0 0 0 0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 0 2 3 3 3 4 4 6 6], [0 0 0 0 3 4 4 4 6 6 6], [0 0 0 0 0 4 4 6 6 6 6], [0 0 0 0 0 0 5 6 6 8 8], [0 0 0 0 0 0 0 6 6 8 8], [0 0 0 0 0 0 0 0 7 8 8], [0 0 0 0 0 0 0 0 0 8 8], [0 0 0 0 0 0 0 0 0 0 9], [0 0 0 0 0 0 0 0 0 0 0]]
| optimal_bst |
binary_search:
key: [0.21 0.333 0.396 0.442 0.702], target: 0.101, initial_trace: (0, 4)
trace | (low, high):
| (0, 2), (0, 1) | (0, 0)
| binary_search |
mst_prim:
s: 0, A: [[0.605 0 0.248 0], [0 0 0 0], [0.248 0 0.194 0], [0 0 0 0.949]], initial_trace: [0 1 2 3]
trace | pi:
| [0 1 0 3] | [0 1 0 3]
| mst_prim |
articulation_points:
A: [[1 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 1]], initial_trace: [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]
| articulation_points |
kmp_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1], key: [0 2 0 2 3 1 3 1 1 1 0 3 0 1 2 0 3 0 1 1 0 2 2 1 1 0 2 3 1 3 1], initial_trace: 0
trace | s:
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 | 2
| kmp_matcher |
binary_search:
key: [0.045 0.071 0.082 0.094 0.115 0.138 0.186 0.264 0.292 0.342 0.347 0.37 0.42 0.428 0.452 0.551 0.7 0.705 0.722 0.732 0.734 0.749 0.763 0.781 0.785 0.8 0.847 0.857 0.876 0.934 0.941], target: 0.492, initial_trace: (0, 30)
trace | (low, high):
| (0, 15), (8, 15), (12, 15), (14, 15) | (15, 15)
| binary_search |
binary_search:
key: [0.019 0.144 0.158 0.165 0.195 0.213 0.316 0.353 0.367 0.371 0.387 0.393 0.437 0.447 0.523 0.547 0.56 0.595 0.637 0.656 0.663 0.715 0.717 0.758 0.773 0.817 0.858 0.858 0.866 0.886 0.956], target: 0.461, initial_trace: (0, 30)
trace | (low, high):
| (0, 15), (8, 15), (12, 15), (14, 15) | (14, 14)
| binary_search |
find_maximum_subarray_kadane:
key: [-0.054 0.073 -0.576 0.071 0.456 -0.021 -0.154 -0.576 -0.684 0.417 -0.134 0.904 0.804 0.098 0.787 0.432 -0.433 -0.281 -0.793 0.396 0.522 -0.863 -0.703 -0.573 0.677 0.767 0.247 0.969], initial_trace: (0, 0)
trace | (best_low, best_high):
| (1, 1), (1, 1), (1, 1), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (3, 4), (9, 11), (9, 12), (9, 13), (9, 14), (9, 15), (9, 15), (9, 15), (9, 15), (9, 15), (9, 15), (9, 15), (9, 15), (9, 15), (9, 15), (9, 15), (9, 15) | (9, 15)
| find_maximum_subarray_kadane |
kmp_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [1 0 2 3 2 1 0 2 2 2 3 2 1 0 2], initial_trace: 0
trace | s:
| 0, 0, 0, 0 | 0
| kmp_matcher |
bfs:
s: 1, A: [[0 0 1 1], [0 1 0 0], [1 0 0 0], [1 0 0 1]], initial_trace: [0 1 2 3]
trace | pi:
| | [0 1 2 3]
| bfs |
binary_search:
key: [0.029 0.077 0.15 0.159 0.159 0.169 0.206 0.399 0.459 0.508 0.601 0.635 0.636 0.673 0.675 0.734 0.736 0.739 0.793 0.836 0.872 0.892 0.986], target: 0.192, initial_trace: (0, 22)
trace | (low, high):
| (0, 11), (6, 11), (6, 8), (6, 7) | (6, 6)
| binary_search |
task_scheduling:
d: [4 1 5 4 1 9 12 11 3 5 10 7], w: [0.575 0.259 0.263 0.19 0.657 0.951 0.095 0.794 0.096 0.944 0.378 0.381], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0]
trace | selected:
| [0 0 0 0 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 0 1 0 1 0 0], [0 0 0 0 0 1 0 1 0 1 0 0], [1 0 0 0 0 1 0 1 0 1 0 0], [1 0 0 0 0 1 0 1 0 1 0 1], [1 0 0 0 0 1 0 1 0 1 1 1], [1 0 0 0 0 1 0 1 0 1 1 1], [1 0 0 0 0 1 0 1 0 1 1 1], [1 0 0 0 0 1 0 1 0 1 1 1], [1 0 0 0 0 1 0 1 0 1 1 1] | [1 0 0 0 0 1 1 1 0 1 1 1]
| task_scheduling |
graham_scan:
x: [-0.669 0.853 -0.537 0.067 -0.779 -0.729 -1.33 1.08 -0.92 1.42 -0.097 1.22 0.39 -1.52 -0.782 0.549 -1.45 1.39 1.54 0.174 -1.87 0.283 -0.889 -0.884 1.63 -0.999 -1.86 -0.93 -0.761 0.306 -1.13], y: [0.518 -0.781 0.219 -1.8 0.572 1.64 -1.3 0.966 1.12 -1.21 1.23 0.134 0.305 0.026 -1.11 0.981 0.681 0.203 0.26 -1.14 0.654 -1.05 1.47 0.154 -1.1 0.996 -0.456 0.637 1.53 -1.75 -1.25], 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 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 0 0 1 0], [0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0], [0 1 0 1 0 0 0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0 0 0 0 0 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22]
trace | pi:
| [0 1 2 3 4 5 11 11 11 9 10 11 12 11 14 15 16 11 11 19 20 21 22], [6 13 2 7 8 5 11 11 11 7 6 11 8 11 14 8 13 11 11 8 20 21 22] | [6 13 0 7 8 12 11 11 11 7 6 11 8 11 9 8 13 11 11 8 0 3 9]
| bfs |
naive_string_matcher:
string: [0 0 0 0 1], key: [0 2 1 2 0], initial_trace: 0
trace | s:
| | 0
| naive_string_matcher |
task_scheduling:
d: [1 4 3 4], w: [0.842 0.285 0.435 0.893], initial_trace: [0 0 0 0]
trace | selected:
| [0 0 0 1], [0 0 0 1], [0 0 1 1] | [0 1 1 1]
| task_scheduling |
segments_intersect:
x: [0.244 0.742 0.27 0.461], y: [0.808 0.277 0.022 0.84]
intersect:
| 1
| segments_intersect |
activity_selector:
s: [0.149 0.473 0.203 0.024 0.849], f: [0.296 0.659 0.939 0.58 0.959], initial_trace: [0 0 0 0 0]
trace | selected:
| [1 0 0 0 0], [1 0 0 0 0], [1 1 0 0 0], [1 1 0 0 0] | [1 1 0 0 1]
| activity_selector |
jarvis_march:
x: [-1.74 -0.339 1.18 0.713 -1.09 -0.882 -1.18 -0.133 1.66 -0.538], y: [-0.349 1.2 0.372 -1.25 -1.01 0.063 -0.551 -0.38 -0.693 -0.157], initial_trace: [0 0 0 0 0 0 0 0 0 0]
trace | in_hull:
| [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 1 0], [0 0 0 1 0 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 1 1 0 0 0 1 0], [1 1 1 1 1 0 0 0 1 0], [1 1 1 1 1 0 0 0 1 0], [1 1 1 1 1 0 0 0 1 0] | [1 1 1 1 1 0 0 0 1 0]
| jarvis_march |
matrix_chain_order:
p: [0.384 0.129 0.037 0.771 0.406 0.463 0.681 0.41 0.444 0.387], initial_trace: [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]]
trace | s:
| [[0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0], [0 0 0 2 0 0 0 0 0 0], [0 0 0 0 3 0 0 0 0 0], [0 0 0 0 0 4 0 0 0 0], [0 0 0 0 0 0 5 0 0 0], [0 0 0 0 0 0 0 6 0 0], [0 0 0 0 0 0 0 0 7 0], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 2 0 0 0 0 0], [0 0 0 2 2 3 0 0 0 0], [0 0 0 0 3 4 4 0 0 0], [0 0 0 0 0 4 4 5 0 0], [0 0 0 0 0 0 5 5 6 0], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 2 2 2 4 4 0], [0 0 0 2 2 2 2 4 4 5], [0 0 0 0 3 4 5 5 5 5], [0 0 0 0 0 4 4 4 4 5], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 2 2 2 2 2 2], [0 0 0 2 2 2 2 2 2 2], [0 0 0 0 3 4 5 6 7 6], [0 0 0 0 0 4 4 4 4 4], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 2 2 2 2 2 2], [0 0 0 2 2 2 2 2 2 2], [0 0 0 0 3 4 5 6 7 7], [0 0 0 0 0 4 4 4 4 4], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 2 2 2 2 2 2], [0 0 0 2 2 2 2 2 2 2], [0 0 0 0 3 4 5 6 7 8], [0 0 0 0 0 4 4 4 4 4], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]] | [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 2 2 2 2 2 2], [0 0 0 2 2 2 2 2 2 2], [0 0 0 0 3 4 5 6 7 8], [0 0 0 0 0 4 4 4 4 4], [0 0 0 0 0 0 5 5 7 7], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]]
| matrix_chain_order |
dijkstra:
s: 1, A: [[0.226 0 0.29 0.391 0], [0 0 0 0 0.698], [0.29 0 0.954 0 0.104], [0.391 0 0 0.412 0], [0 0.698 0.104 0 0]], initial_trace: [0 1 2 3 4]
trace | pi:
| [0 1 2 3 1], [0 1 4 3 1], [2 1 4 3 1], [2 1 4 0 1] | [2 1 4 0 1]
| dijkstra |
quickselect:
key: [0.657 0.705 0.067 0.079 0.58 0.663 0.22 0.549 0.26 0.933 0.099 0.066], initial_trace: 11
trace | pivot:
| 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 10, 10, 10, 10, 4, 4, 4, 4, 8, 8, 8 | 7
| quickselect |
jarvis_march:
x: [0.182 -0.08 1.06 1 0.228 -0.884 -1.18 0.454 -1.53 -1.08 0.275 -0.062], y: [-0.689 -0.752 1.2 -0.295 -0.256 -1.65 0.924 -1.17 -0.267 -0.428 1.28 1.05], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0]
trace | in_hull:
| [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 0 1 0 1 0 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 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0], [0 0 1 1 0 1 1 1 1 0 1 0] | [0 0 1 1 0 1 1 1 1 0 1 0]
| jarvis_march |
jarvis_march:
x: [-0.752 -0.55 -1.37 1.28 1.24], y: [0.301 -1.02 1.19 0.295 -0.772], initial_trace: [0 0 0 0 0]
trace | in_hull:
| [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 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 0 0 1], [0 1 0 1 1], [0 1 0 1 1], [0 1 0 1 1], [0 1 0 1 1], [0 1 0 1 1], [0 1 0 1 1], [0 1 1 1 1], [0 1 1 1 1], [0 1 1 1 1], [0 1 1 1 1], [0 1 1 1 1] | [0 1 1 1 1]
| jarvis_march |
minimum:
key: [0.966 0.531 0.791 0.073 0.803 0.564 0.282 0.172 0.924 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 0 0 0 1 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0] | [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0]
| articulation_points |
kmp_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1], key: [3 3 0 2 3 2 1 2 0 3 3 0 3 3 0 2 1 0 0 0 0 0 2 3 0 0 0 0 0 2 3], initial_trace: 0
trace | s:
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 16, 17 | 18
| kmp_matcher |
articulation_points:
A: [[0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 1 1 0 0 0], [0 0 0 0 0 0 0 1 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]], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0]
trace | is_cut:
| [0 0 0 0 0 0 0 0 0 0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 0 0 0]
| articulation_points |
heapsort:
key: [0.789 0.846 0.023 0.745 0.425 0.465 0.551 0.271 0.792 0.986], initial_trace: [0.789 0.846 0.023 0.745 0.425 0.465 0.551 0.271 0.792 0.986]
trace | pred:
| [0.789 0.846 0.023 0.745 0.425 0.465 0.551 0.271 0.792 0.986], [0.789 0.846 0.023 0.745 0.425 0.465 0.551 0.271 0.792 0.986], [0.789 0.846 0.023 0.745 0.425 0.465 0.551 0.271 0.792 0.986], [0.789 0.846 0.023 0.745 0.425 0.465 0.551 0.271 0.792 0.986], [0.789 0.846 0.023 0.745 0.425 0.465 0.551 0.271 0.792 0.986], [0.789 0.846 0.023 0.745 0.986 0.465 0.551 0.271 0.792 0.425], [0.789 0.846 0.023 0.745 0.986 0.465 0.551 0.271 0.792 0.425], [0.789 0.846 0.023 0.792 0.986 0.465 0.551 0.271 0.745 0.425], [0.789 0.846 0.023 0.792 0.986 0.465 0.551 0.271 0.745 0.425], [0.789 0.846 0.551 0.792 0.986 0.465 0.023 0.271 0.745 0.425], [0.789 0.846 0.551 0.792 0.986 0.465 0.023 0.271 0.745 0.425], [0.789 0.986 0.551 0.792 0.846 0.465 0.023 0.271 0.745 0.425], [0.789 0.986 0.551 0.792 0.846 0.465 0.023 0.271 0.745 0.425], [0.986 0.789 0.551 0.792 0.846 0.465 0.023 0.271 0.745 0.425], [0.986 0.846 0.551 0.792 0.789 0.465 0.023 0.271 0.745 0.425], [0.986 0.846 0.551 0.792 0.789 0.465 0.023 0.271 0.745 0.425], [0.425 0.846 0.551 0.792 0.789 0.465 0.023 0.271 0.745 0.986], [0.846 0.425 0.551 0.792 0.789 0.465 0.023 0.271 0.745 0.986], [0.846 0.792 0.551 0.425 0.789 0.465 0.023 0.271 0.745 0.986], [0.846 0.792 0.551 0.745 0.789 0.465 0.023 0.271 0.425 0.986], [0.846 0.792 0.551 0.745 0.789 0.465 0.023 0.271 0.425 0.986], [0.425 0.792 0.551 0.745 0.789 0.465 0.023 0.271 0.846 0.986], [0.792 0.425 0.551 0.745 0.789 0.465 0.023 0.271 0.846 0.986], [0.792 0.789 0.551 0.745 0.425 0.465 0.023 0.271 0.846 0.986], [0.792 0.789 0.551 0.745 0.425 0.465 0.023 0.271 0.846 0.986], [0.271 0.789 0.551 0.745 0.425 0.465 0.023 0.792 0.846 0.986], [0.789 0.271 0.551 0.745 0.425 0.465 0.023 0.792 0.846 0.986], [0.789 0.745 0.551 0.271 0.425 0.465 0.023 0.792 0.846 0.986], [0.789 0.745 0.551 0.271 0.425 0.465 0.023 0.792 0.846 0.986], [0.023 0.745 0.551 0.271 0.425 0.465 0.789 0.792 0.846 0.986], [0.745 0.023 0.551 0.271 0.425 0.465 0.789 0.792 0.846 0.986], [0.745 0.425 0.551 0.271 0.023 0.465 0.789 0.792 0.846 0.986], [0.745 0.425 0.551 0.271 0.023 0.465 0.789 0.792 0.846 0.986], [0.465 0.425 0.551 0.271 0.023 0.745 0.789 0.792 0.846 0.986], [0.551 0.425 0.465 0.271 0.023 0.745 0.789 0.792 0.846 0.986], [0.551 0.425 0.465 0.271 0.023 0.745 0.789 0.792 0.846 0.986], [0.023 0.425 0.465 0.271 0.551 0.745 0.789 0.792 0.846 0.986], [0.465 0.425 0.023 0.271 0.551 0.745 0.789 0.792 0.846 0.986], [0.465 0.425 0.023 0.271 0.551 0.745 0.789 0.792 0.846 0.986], [0.271 0.425 0.023 0.465 0.551 0.745 0.789 0.792 0.846 0.986], [0.425 0.271 0.023 0.465 0.551 0.745 0.789 0.792 0.846 0.986], [0.425 0.271 0.023 0.465 0.551 0.745 0.789 0.792 0.846 0.986], [0.023 0.271 0.425 0.465 0.551 0.745 0.789 0.792 0.846 0.986], [0.271 0.023 0.425 0.465 0.551 0.745 0.789 0.792 0.846 0.986], [0.271 0.023 0.425 0.465 0.551 0.745 0.789 0.792 0.846 0.986], [0.023 0.271 0.425 0.465 0.551 0.745 0.789 0.792 0.846 0.986] | [0.023 0.271 0.425 0.465 0.551 0.745 0.789 0.792 0.846 0.986]
| heapsort |
kmp_matcher:
string: [0 0 0 1], key: [0 1 2 1], initial_trace: 0
trace | s:
| 0 | 1
| kmp_matcher |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 0 1 1], key: [3 3 3 3 0 0 3 1 3 0 1 3], initial_trace: 0
trace | s:
| 1, 2, 3, 4, 5, 6, 7 | 7
| naive_string_matcher |
articulation_points:
A: [[0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1], [0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 1]], initial_trace: [0 0 0 0 0 0 0 0 0 0]
trace | is_cut:
| [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 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 |
insertion_sort:
key: [0.186 0.274 0.032 0.551 0.636 0.419 0.983 0.414 0.508 0.785 0.25], initial_trace: [0.186 0.274 0.032 0.551 0.636 0.419 0.983 0.414 0.508 0.785 0.25]
trace | pred:
| [0.186 0.274 0.032 0.551 0.636 0.419 0.983 0.414 0.508 0.785 0.25], [0.032 0.186 0.274 0.551 0.636 0.419 0.983 0.414 0.508 0.785 0.25], [0.032 0.186 0.274 0.551 0.636 0.419 0.983 0.414 0.508 0.785 0.25], [0.032 0.186 0.274 0.551 0.636 0.419 0.983 0.414 0.508 0.785 0.25], [0.032 0.186 0.274 0.419 0.551 0.636 0.983 0.414 0.508 0.785 0.25], [0.032 0.186 0.274 0.419 0.551 0.636 0.983 0.414 0.508 0.785 0.25], [0.032 0.186 0.274 0.414 0.419 0.551 0.636 0.983 0.508 0.785 0.25], [0.032 0.186 0.274 0.414 0.419 0.508 0.551 0.636 0.983 0.785 0.25], [0.032 0.186 0.274 0.414 0.419 0.508 0.551 0.636 0.785 0.983 0.25] | [0.032 0.186 0.25 0.274 0.414 0.419 0.508 0.551 0.636 0.785 0.983]
| insertion_sort |
activity_selector:
s: [0.211 0.159 0.437 0.265 0.205 0.064 0.071 0.37 0.158 0.833 0.063 0.699 0.6 0.106 0.027 0.149 0.136 0.236 0.142 0.218 0.904 0.341 0.277 0.397 0.054 0.196 0.434 0.338], f: [0.687 0.813 0.444 0.415 0.519 0.174 0.667 0.567 0.986 0.989 0.925 0.958 0.724 0.222 0.664 0.609 0.157 0.725 0.871 0.652 0.928 0.346 0.918 0.852 0.931 0.69 0.719 0.9], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
trace | selected:
| [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 1 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 1 1 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 1 1 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 1 1 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 1 1 0 0 0 0 0 0]
| activity_selector |
dijkstra:
s: 6, A: [[0 0.108 0.497 0.368 0 0 0 0.295 0 0.268 0], [0.108 0 0 0 0 0.496 0 0 0 0 0.376], [0.497 0 0 0 0.277 0 0 0 0 0 0], [0.368 0 0 0 0 0 0.452 0 0.722 0 0], [0 0 0.277 0 0 0 0 0.538 0 0.075 0], [0 0.496 0 0 0 0.856 0 0 0 0 0], [0 0 0 0.452 0 0 0 0.808 0.264 0 0], [0.295 0 0 0 0.538 0 0.808 0 0 0.569 0], [0 0 0 0.722 0 0 0.264 0 0.23 0 0], [0.268 0 0 0 0.075 0 0 0.569 0 0 0], [0 0.376 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10]
trace | pi:
| [0 1 2 6 4 5 6 6 6 9 10], [0 1 2 6 4 5 6 6 6 9 10], [3 1 2 6 4 5 6 6 6 9 10], [3 1 2 6 7 5 6 6 6 7 10], [3 0 0 6 7 5 6 6 6 0 10], [3 0 0 6 7 1 6 6 6 0 1], [3 0 0 6 9 1 6 6 6 0 1], [3 0 0 6 9 1 6 6 6 0 1], [3 0 0 6 9 1 6 6 6 0 1], [3 0 0 6 9 1 6 6 6 0 1] | [3 0 0 6 9 1 6 6 6 0 1]
| dijkstra |
minimum:
key: [0.259 0.206 0.75 0.297 0.699 0.143 0.941 0.822 0.325 0.334 0.835], initial_trace: 0
trace | min:
| 1, 1, 1, 1, 5, 5, 5, 5, 5 | 5
| minimum |
bfs:
s: 2, A: [[0 1 1 0 0 0 0 0 0 0 0 0], [1 1 1 0 1 0 1 1 0 0 0 1], [1 1 0 0 0 0 0 0 1 1 0 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 0 0 1 0 1 0 0 1 0 0], [0 1 0 0 0 1 1 0 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 0 0 1 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 1 0 0 0 0 1 0 1 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | pi:
| [2 2 2 3 4 5 6 7 2 2 10 11] | [2 2 2 3 1 9 1 1 2 2 10 1]
| bfs |
quickselect:
key: [0.542 0.021 0.146 0.967 0.902 0.019 0.011 0.636 0.888 0.202 0.129 0.064 0.922 0.469 0.768 0.719 0.573 0.247 0.757 0.605 0.185 0.052 0.468 0.618 0.643 0.419 0.184 0.974], initial_trace: 27
trace | pivot:
| 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 16, 16, 16, 16, 16, 16, 22, 22, 22, 0 | 0
| quickselect |
minimum:
key: [0.229 0.381 0.917 0.173 0.765 0.51 0.365 0.941 0.028 0.074 0.661], initial_trace: 0
trace | min:
| 0, 0, 3, 3, 3, 3, 3, 8, 8 | 8
| minimum |
insertion_sort:
key: [0.013 0.22 0.653 0.661 0.495 0.953 0.481 0.314 0.848 0.259 0.604], initial_trace: [0.013 0.22 0.653 0.661 0.495 0.953 0.481 0.314 0.848 0.259 0.604]
trace | pred:
| [0.013 0.22 0.653 0.661 0.495 0.953 0.481 0.314 0.848 0.259 0.604], [0.013 0.22 0.653 0.661 0.495 0.953 0.481 0.314 0.848 0.259 0.604], [0.013 0.22 0.653 0.661 0.495 0.953 0.481 0.314 0.848 0.259 0.604], [0.013 0.22 0.495 0.653 0.661 0.953 0.481 0.314 0.848 0.259 0.604], [0.013 0.22 0.495 0.653 0.661 0.953 0.481 0.314 0.848 0.259 0.604], [0.013 0.22 0.481 0.495 0.653 0.661 0.953 0.314 0.848 0.259 0.604], [0.013 0.22 0.314 0.481 0.495 0.653 0.661 0.953 0.848 0.259 0.604], [0.013 0.22 0.314 0.481 0.495 0.653 0.661 0.848 0.953 0.259 0.604], [0.013 0.22 0.259 0.314 0.481 0.495 0.653 0.661 0.848 0.953 0.604] | [0.013 0.22 0.259 0.314 0.481 0.495 0.604 0.653 0.661 0.848 0.953]
| insertion_sort |
topological_sort:
A: [[0 0 0 0 1 0 0 0 0 1 1 1 0 0 0], [1 0 0 0 1 0 0 0 1 0 0 0 0 0 0], [1 1 0 0 0 1 0 1 0 0 0 0 0 1 0], [0 1 0 0 1 1 0 1 0 1 0 1 0 1 1], [0 0 0 0 0 0 0 0 0 1 1 0 0 0 0], [1 0 0 0 1 0 0 1 1 1 0 1 0 0 0], [1 1 0 0 1 0 0 0 0 0 1 1 0 0 0], [1 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 1 0 0 0 0], [0 1 1 0 0 1 0 0 0 0 1 0 0 0 0], [1 0 0 0 1 0 1 1 1 1 0 1 0 0 0], [0 0 1 0 1 0 1 1 0 1 1 1 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0
trace | topo, topo_head:
| [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 9, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 9, [0 1 2 3 4 5 6 7 8 9 9 11 12 13 14], 10, [0 1 2 3 10 5 6 7 8 9 9 11 12 13 14], 4, [0 1 2 3 10 5 6 7 8 9 9 11 12 13 14], 4, [0 1 2 3 10 5 6 7 8 9 9 4 12 13 14], 11, [11 1 2 3 10 5 6 7 8 9 9 4 12 13 14], 0, [11 1 2 3 10 5 6 7 8 9 9 4 12 13 14], 0, [11 1 2 3 10 5 6 7 8 9 9 4 12 13 14], 0, [11 1 2 3 10 5 6 7 8 9 9 4 12 13 14], 0, [11 1 2 3 10 5 6 7 0 9 9 4 12 13 14], 8, [11 8 2 3 10 5 6 7 0 9 9 4 12 13 14], 1, [11 8 2 3 10 5 6 7 0 9 9 4 12 13 14], 1, [11 8 2 3 10 5 6 7 0 9 9 4 12 13 14], 1, [11 8 2 3 10 5 6 7 0 9 9 4 12 13 14], 1, [11 8 2 3 10 5 6 7 0 9 9 4 12 13 14], 1, [11 8 2 3 10 5 6 1 0 9 9 4 12 13 14], 7, [11 8 2 3 10 7 6 1 0 9 9 4 12 13 14], 5, [11 8 2 3 10 7 6 1 0 9 9 4 12 13 14], 5, [11 8 2 3 10 7 6 1 0 9 9 4 12 13 14], 5, [11 8 2 3 10 7 5 1 0 9 9 4 12 13 14], 6, [11 8 2 3 10 7 5 1 0 9 9 4 12 6 14], 13, [11 8 13 3 10 7 5 1 0 9 9 4 12 6 14], 2, [11 8 13 3 10 7 5 1 0 9 9 4 12 6 14], 2, [11 8 13 3 10 7 5 1 0 9 9 4 12 6 14], 2, [11 8 13 3 10 7 5 1 0 9 9 4 12 6 14], 2, [11 8 13 3 10 7 5 1 0 9 9 4 12 6 14], 2, [11 8 13 3 10 7 5 1 0 9 9 4 2 6 14], 12, [11 8 13 3 10 7 5 1 0 9 9 4 2 6 12], 14 | [11 8 13 14 10 7 5 1 0 9 9 4 2 6 12], 3
| topological_sort |
find_maximum_subarray_kadane:
key: [-0.339 -0.126 0.158 0.923 0.982 -0.981 -0.732 0.488 -0.999 0.454 0.676 -0.891 -0.967 0.283 -0.285 -0.132 -0.864 0.432 -0.774 0.508 0.441 -0.586 0.799 -0.359 -0.193 -0.266 -0.058 0.088 0.685 0.188 0.584], initial_trace: (0, 0)
trace | (best_low, best_high):
| (1, 1), (2, 2), (2, 3), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4), (2, 4) | (2, 4)
| find_maximum_subarray_kadane |
graham_scan:
x: [1.05 1.46 0.441 -0.932 1.37 0.451 0.416 1.02 1.63 -1.36 0.059 -0.004 -0.139 -0.688 1.11 1.02 0.163 -0.697 0.593], y: [-0.904 -0.618 -0.237 0.323 0.019 -0.878 -1.38 0.108 -0.426 -1.27 1.55 1.35 1.78 0.986 1.16 -0.351 0.276 -1.52 0.836], initial_trace: [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 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 1 0 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 0], [0 1 0 1 0 0 1 0 1 0 0 0 1 1 1 0 0 1 0] | [0 1 0 1 0 0 1 0 1 1 0 0 1 1 1 0 0 1 0]
| graham_scan |
dag_shortest_paths:
s: 4, A: [[0 0 0 0 0], [0 0 0 0 0], [0.785 0 0 0 0], [0.352 0 0 0 0], [0.738 0 0 0 0]], initial_trace: [0 1 2 3 4]
trace | pi:
| [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4] | [4 1 2 3 4]
| dag_shortest_paths |
dag_shortest_paths:
s: 4, A: [[0 0.623 0 0.635 0.03 0 0 0.724 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0.407 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0.0154 0.34 0.33 0 0 0 0], [0 0 0 0.603 0 0 0.472 0 0 0], [0 0.267 0.56 0.207 0 0 0 0.0923 0 0], [0 0.243 0.379 0 0.0023 0 0.742 0.267 0.615 0]], 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 2 3 4 5 6 7 8 9] | [0 1 2 3 4 5 6 7 8 9]
| dag_shortest_paths |
insertion_sort:
key: [0.286 0.297 0.222 0.093], initial_trace: [0.286 0.297 0.222 0.093]
trace | pred:
| [0.286 0.297 0.222 0.093], [0.222 0.286 0.297 0.093] | [0.093 0.222 0.286 0.297]
| insertion_sort |
dijkstra:
s: 0, A: [[0.974 0 0 0.224], [0 0.745 0 0], [0 0 0 0], [0.224 0 0 0]], initial_trace: [0 1 2 3]
trace | pi:
| [0 1 2 0] | [0 1 2 0]
| dijkstra |
task_scheduling:
d: [22 18 8 2 9 11 14 10 20 5 8 5 16 12 5 12 16 9 4 12 19 2 19], w: [0.383 0.254 0.638 0.319 0.215 0.367 0.664 0.84 0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 1 1 1 1 1 0 0 1 0 0 0 1 1 0 1 1 0 1], [1 1 1 0 0 1 1 1 1 1 0 0 1 0 0 0 1 1 0 1 1 0 1], [1 1 1 0 0 1 1 1 1 1 0 0 1 0 0 0 1 1 0 1 1 0 1] | [1 1 1 0 0 1 1 1 1 1 0 0 1 0 0 0 1 1 0 1 1 0 1]
| task_scheduling |
bridges:
A: [[0 0 0 0 0], [0 0 0 0 0], [0 0 1 0 1], [0 0 0 1 0], [0 0 1 0 0]], initial_trace: [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]]
trace | is_bridge:
| [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 0], [-1 -1 -1 0 -1], [-1 -1 0 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 1], [-1 -1 -1 0 -1], [-1 -1 1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 1], [-1 -1 -1 0 -1], [-1 -1 1 -1 0]], [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 1], [-1 -1 -1 0 -1], [-1 -1 1 -1 0]] | [[0 -1 -1 -1 -1], [-1 0 -1 -1 -1], [-1 -1 0 -1 1], [-1 -1 -1 0 -1], [-1 -1 1 -1 0]]
| bridges |
binary_search:
key: [0.133 0.269 0.272 0.457 0.522 0.584 0.681 0.688 0.694 0.757 0.855 0.928], target: 0.688, initial_trace: (0, 11)
trace | (low, high):
| (6, 11), (6, 8), (6, 7) | (7, 7)
| binary_search |
topological_sort:
A: [[0 1 0 1 0 1 0 1 1 1 0 1 0 0 0 1 0 0 1 1 0 1 1], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 0 0 1], [0 1 1 0 0 0 1 1 1 0 1 1 0 1 1 0 0 1 0 1 0 0 1], [0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 1 1 0 0 0 0 0 0], [0 0 1 0 1 0 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 0 1], [0 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 0 1 0 1 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 0 0 0 0 0], [0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 1 0 1 1 1 1], [0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 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 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 0], [0 1 0 1 0 1 0 1 0 0 0 0 1 1 1 1 1 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 1 0 0 1 0 0 0 1 0 1 0 1 1 1 1 0 1 0 1 0 1 1], [0 0 0 0 0 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 1 1 0 1 0 1 1 1 1 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], 11, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 1, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 1, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 1, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 1, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 1, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], 1, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 17 18 19 20 21 22], 16, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 17 18 19 20 21 22], 16, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 17 18 16 20 21 22], 19, [0 11 2 3 4 5 6 7 8 9 10 11 12 13 14 19 1 17 18 16 20 21 22], 15, [0 11 2 3 4 5 6 15 8 9 10 11 12 13 14 19 1 17 18 16 20 21 22], 7, [0 11 2 3 4 5 6 15 8 9 10 11 12 13 14 19 1 17 18 16 20 21 22], 7, [0 11 2 3 4 5 6 15 8 9 10 11 12 13 14 19 1 17 18 16 20 21 22], 7, [0 11 2 3 4 5 6 15 8 9 10 11 12 13 14 19 1 17 18 16 20 21 22], 7, [0 11 2 3 4 5 6 15 8 9 10 11 7 13 14 19 1 17 18 16 20 21 22], 12, [0 11 2 3 4 5 6 15 8 9 10 11 7 13 14 19 1 12 18 16 20 21 22], 17, [0 11 2 3 4 5 6 15 8 9 17 11 7 13 14 19 1 12 18 16 20 21 22], 10, [0 11 2 3 4 5 6 15 8 9 17 11 7 13 14 19 1 12 18 16 20 21 22], 10, [0 11 2 3 4 5 6 15 8 9 17 11 7 13 14 19 1 12 18 16 20 21 22], 10, [0 11 2 3 4 5 6 15 10 9 17 11 7 13 14 19 1 12 18 16 20 21 22], 8, [0 11 2 3 4 5 6 15 10 9 17 11 7 13 8 19 1 12 18 16 20 21 22], 14, [0 11 2 3 4 5 6 15 10 9 17 11 7 13 8 19 1 12 18 16 20 21 22], 14, [0 11 2 3 4 5 6 15 10 9 17 11 7 13 8 19 1 12 18 16 20 21 22], 14, [0 11 2 3 14 5 6 15 10 9 17 11 7 13 8 19 1 12 18 16 20 21 22], 4, [0 11 2 3 14 5 6 15 10 9 17 11 7 13 8 19 1 12 18 16 20 21 22], 4, [0 11 2 3 14 5 6 15 10 9 17 11 7 4 8 19 1 12 18 16 20 21 22], 13, [0 11 2 3 14 5 6 15 10 9 17 11 7 4 8 19 1 12 18 16 20 21 13], 22, [0 11 22 3 14 5 6 15 10 9 17 11 7 4 8 19 1 12 18 16 20 21 13], 2, [0 11 22 3 14 5 6 15 10 9 17 11 7 4 8 19 1 12 18 16 20 21 13], 2, [0 11 22 3 14 5 6 15 10 9 17 11 7 4 8 19 1 12 18 16 20 21 13], 2, [0 11 22 3 14 5 6 15 10 9 17 11 7 4 8 19 1 12 18 16 20 2 13], 21, [0 11 22 3 14 5 21 15 10 9 17 11 7 4 8 19 1 12 18 16 20 2 13], 6, [0 11 22 6 14 5 21 15 10 9 17 11 7 4 8 19 1 12 18 16 20 2 13], 3, [0 11 22 6 14 5 21 15 10 9 17 11 7 4 8 19 1 12 18 16 20 2 13], 3, [0 11 22 6 14 3 21 15 10 9 17 11 7 4 8 19 1 12 18 16 20 2 13], 5, [0 11 22 6 14 3 21 15 10 9 17 11 7 4 8 19 1 12 18 16 20 2 13], 5, [0 11 22 6 14 3 21 15 10 9 17 11 7 4 8 19 1 12 18 16 20 2 13], 5, [0 11 22 6 14 3 21 15 10 9 17 11 7 4 8 19 1 12 18 16 5 2 13], 20, [0 11 22 6 14 3 21 15 10 20 17 11 7 4 8 19 1 12 18 16 5 2 13], 9, [0 11 22 6 14 3 21 15 10 20 17 11 7 4 8 19 1 12 18 16 5 2 13], 9, [0 11 22 6 14 3 21 15 10 20 17 11 7 4 8 19 1 12 9 16 5 2 13], 18 | [18 11 22 6 14 3 21 15 10 20 17 11 7 4 8 19 1 12 9 16 5 2 13], 0
| topological_sort |
dag_shortest_paths:
s: 14, A: [[0 0 0 0.0675 0.514 0.349 0.501 0 0.123 0 0.62 0 0.713 0.645 0], [0 0 0 0 0.201 0.0436 0 0 0.0741 0.164 0 0.368 0.985 0.378 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.274 0], [0 0 0.718 0 0 0 0 0 0 0.428 0 0 0.947 0.892 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.405 0 0 0 0.832 0 0 0.0382 0 0 0], [0 0.315 0 0.424 0 0 0 0.0993 0.957 0 0 0.704 0 0.556 0], [0 0 0 0.76 0.231 0 0 0 0 0 0 0 0.0663 0.954 0], [0 0 0 0 0.0362 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.316 0 0 0 0 0 0 0.825 0.185 0.438], [0 0.106 0 0 0 0 0.144 0 0.426 0.619 0 0 0.48 0.438 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.683], [0 0 0 0 0 0 0 0 0.365 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14]
trace | pi:
| [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] | [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14]
| dag_shortest_paths |
activity_selector:
s: [0.36 0.629 0.018 0.365 0.258 0.199 0.265 0.698 0.729 0.063 0.832 0.949 0.824 0.057 0.499 0.202 0.776 0.891 0.035], f: [0.552 0.712 0.092 0.687 0.801 0.392 0.334 0.764 0.921 0.789 0.848 0.987 0.947 0.979 0.8 0.516 0.96 0.957 0.442], 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 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 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 0 0 0 0 0 0 0 0 0 0], [1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0], [1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0], [1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0], [1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0] | [1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0]
| activity_selector |
floyd_warshall:
A: [[0.081 0 0 0 0], [0 0 0.288 0 0], [0 0.288 0 0 0], [0 0 0 0 0.583], [0 0 0 0.583 0]], initial_trace: [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]]
trace | Pi:
| [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]], [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]], [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]] | [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]]
| floyd_warshall |
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 |
mst_kruskal:
A: [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.485 0], [0 0 0 0 0 0.503 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0.503 0 0 0.898 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.52], [0 0.485 0 0 0 0 0 0 0.586 0], [0 0 0 0 0 0 0 0.52 0 0]], initial_trace: [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]]
trace | in_mst:
| [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]] | [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 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 0], [0 0 0 0 0 0 0 1 0 0]]
| mst_kruskal |
articulation_points:
A: [[0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 1 1 0 0 0 0 0 0], [0 0 0 0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 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [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 |
topological_sort:
A: [[0 0 1 0 0 0 1 0 0 0 0 0 1 0 0], [0 0 1 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 0 0 1 0 1 1 0 1 0 1 0 1], [1 1 0 0 0 0 1 0 0 1 0 0 1 1 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], [0 0 1 0 0 0 0 0 1 0 0 1 0 0 0], [0 0 1 0 0 1 1 0 0 0 0 0 0 1 0], [1 1 0 0 0 1 1 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 1 0 1 1 0 0 1 0 0], [1 0 1 0 1 1 1 0 0 1 1 0 0 0 0], [0 0 1 0 0 1 1 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 1 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 1 0 0 0 0 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0
trace | topo, topo_head:
| [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 2, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 2, [0 1 2 3 4 5 2 7 8 9 10 11 12 13 14], 6, [0 1 2 3 4 5 2 7 8 9 10 11 12 13 14], 6, [0 1 2 3 4 5 2 7 8 9 10 11 12 13 14], 6, [0 1 2 3 4 6 2 7 8 9 10 11 12 13 14], 5, [0 1 2 3 4 6 2 7 8 9 10 11 5 13 14], 12, [12 1 2 3 4 6 2 7 8 9 10 11 5 13 14], 0, [12 1 2 3 4 6 2 7 8 9 10 11 5 13 14], 0, [12 1 2 3 4 6 2 7 8 9 10 11 5 13 14], 0, [12 0 2 3 4 6 2 7 8 9 10 11 5 13 14], 1, [12 0 2 3 4 6 2 7 8 9 10 11 5 13 14], 1, [12 0 2 3 4 6 2 7 8 9 10 11 5 13 14], 1, [12 0 2 3 4 6 2 7 8 9 10 11 5 13 14], 1, [12 0 2 3 4 6 2 7 8 9 10 11 5 13 14], 1, [12 0 2 3 4 6 2 7 8 9 10 11 5 13 14], 1, [12 0 2 3 4 6 2 7 8 9 10 11 5 1 14], 13, [12 0 2 3 4 6 2 7 13 9 10 11 5 1 14], 8, [12 0 2 3 4 6 2 7 13 9 10 11 5 1 14], 8, [12 0 2 3 4 6 2 7 13 9 10 11 5 1 14], 8, [12 0 2 3 4 6 2 7 13 9 10 11 5 1 14], 8, [12 0 2 3 4 6 2 7 13 8 10 11 5 1 14], 9, [12 0 2 3 4 6 2 7 13 8 10 11 5 1 14], 9, [12 0 2 3 4 6 2 7 13 8 10 11 5 1 9], 14, [12 0 2 3 14 6 2 7 13 8 10 11 5 1 9], 4, [12 0 2 3 14 6 2 7 13 8 10 11 5 1 9], 4, [12 0 2 3 14 6 2 7 13 8 4 11 5 1 9], 10, [12 0 2 3 14 6 2 7 13 8 4 10 5 1 9], 11, [12 0 2 3 14 6 2 11 13 8 4 10 5 1 9], 7 | [12 0 2 7 14 6 2 11 13 8 4 10 5 1 9], 3
| topological_sort |
articulation_points:
A: [[0 0 0 0 0 0 0 1 0 1], [0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [1 1 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0]], initial_trace: [0 0 0 0 0 0 0 0 0 0]
trace | is_cut:
| [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 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], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 1 0 0] | [1 0 0 0 0 0 0 1 0 0]
| articulation_points |
topological_sort:
A: [[0 1 1 0], [0 0 0 0], [0 1 0 0], [0 0 1 0]], initial_trace: [0 1 2 3], 0
trace | topo, topo_head:
| [0 1 2 3], 0, [0 1 2 3], 0, [0 1 2 3], 1, [0 1 2 3], 1, [0 1 1 3], 2, [2 1 1 3], 0, [2 1 1 3], 0, [2 1 1 3], 0 | [2 1 1 0], 3
| topological_sort |
task_scheduling:
d: [4 4 4 2], w: [0.144 0.873 0.213 0.32], initial_trace: [0 0 0 0]
trace | selected:
| [0 1 0 0], [0 1 0 1], [0 1 1 1] | [1 1 1 1]
| task_scheduling |
mst_prim:
s: 20, A: [[0 0 0 0.767 0 0.761 0 0 0.618 0.223 0.093 0 0 0.211 0 0 0 0 0.439 0 0 0.8 0], [0 0.184 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.247 0 0 0], [0 0 0 0.848 0 0.323 0 0 0.45 0 0.2 0.765 0 0 0 0.721 0 0 0.307 0 0 0 0], [0.767 0 0.848 0.668 0 0 0 0 0 0.796 0 0 0 0.296 0 0 0.099 0 0 0.249 0.115 0.377 0.184], [0 0 0 0 0.894 0 0 0 0.444 0 0 0 0.286 0 0 0 0 0.625 0.363 0 0.447 0.661 0], [0.761 0 0.323 0 0 0 0 0.139 0 0 0 0 0 0 0.367 0.394 0 0 0.83 0 0 0 0.874], [0 0 0 0 0 0 0 0 0.155 0 0 0 0 0 0 0.209 0 0 0 0 0 0 0], [0 0 0 0 0 0.139 0 0.5 0 0 0 0 0 0 0 0 0 0.867 0.192 0 0.389 0 0], [0.618 0 0.45 0 0.444 0 0.155 0 0.101 0 0 0 0 0.316 0.473 0.442 0 0.666 0 0 0 0 0], [0.223 0 0 0.796 0 0 0 0 0 0.721 0 0.733 0 0 0 0.811 0 0 0.228 0 0 0 0.455], [0.093 0 0.2 0 0 0 0 0 0 0 0 0.332 0.285 0 0 0 0 0 0 0 0 0 0], [0 0 0.765 0 0 0 0 0 0 0.733 0.332 0 0 0 0 0.433 0 0 0 0 0 0.547 0], [0 0 0 0 0.286 0 0 0 0 0 0.285 0 0 0 0.147 0 0 0 0 0 0 0 0.341], [0.211 0 0 0.296 0 0 0 0 0.316 0 0 0 0 0.345 0 0 0 0 0 0.671 0.642 0 0.628], [0 0 0 0 0 0.367 0 0 0.473 0 0 0 0.147 0 0 0 0 0.498 0 0 0.881 0.479 0], [0 0 0.721 0 0 0.394 0.209 0 0.442 0.811 0 0.433 0 0 0 0 0 0 0.078 0 0 0 0], [0 0 0 0.099 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.625 0 0 0.867 0.666 0 0 0 0 0 0.498 0 0 0 0 0 0 0 0], [0.439 0 0.307 0 0.363 0.83 0 0.192 0 0.228 0 0 0 0 0 0.078 0 0 0.134 0 0 0 0.357], [0 0.247 0 0.249 0 0 0 0 0 0 0 0 0 0.671 0 0 0 0 0 0.468 0 0 0.565], [0 0 0 0.115 0.447 0 0 0.389 0 0 0 0 0 0.642 0.881 0 0 0 0 0 0.803 0.5 0.171], [0.8 0 0 0.377 0.661 0 0 0 0 0 0 0.547 0 0 0.479 0 0 0 0 0 0.5 0.453 0], [0 0 0 0.184 0 0.874 0 0 0 0.455 0 0 0.341 0.628 0 0 0 0 0.357 0.565 0.171 0 0.124]], 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 20 20 5 6 20 8 9 10 11 12 20 20 15 16 17 18 19 20 20 20], [3 1 3 20 20 5 6 20 8 3 10 11 12 3 20 15 3 17 18 3 20 3 20], [3 1 3 20 20 5 6 20 8 3 10 11 12 3 20 15 3 17 18 3 20 3 20], [3 1 3 20 20 22 6 20 8 22 10 11 22 3 20 15 3 17 22 3 20 3 20], [3 19 3 20 20 22 6 20 8 22 10 11 22 3 20 15 3 17 22 3 20 3 20], [3 19 3 20 20 22 6 20 8 22 10 11 22 3 20 15 3 17 22 3 20 3 20], [13 19 3 20 20 22 6 20 13 22 10 11 22 3 20 15 3 17 22 3 20 3 20], [13 19 3 20 20 0 6 20 13 0 0 11 22 3 20 15 3 17 22 3 20 3 20], [13 19 10 20 20 0 6 20 13 0 0 10 10 3 20 15 3 17 22 3 20 3 20], [13 19 10 20 20 2 6 20 13 0 0 10 10 3 20 2 3 17 2 3 20 3 20], [13 19 10 20 20 2 6 20 13 0 0 10 10 3 20 2 3 17 9 3 20 3 20], [13 19 10 20 18 2 6 18 13 0 0 10 10 3 20 18 3 17 9 3 20 3 20], [13 19 10 20 18 2 15 18 13 0 0 10 10 3 20 18 3 17 9 3 20 3 20], [13 19 10 20 18 7 15 18 13 0 0 10 10 3 20 18 3 7 9 3 20 3 20], [13 19 10 20 18 7 15 18 13 0 0 10 10 3 5 18 3 7 9 3 20 3 20], [13 19 10 20 18 7 15 18 6 0 0 10 10 3 5 18 3 7 9 3 20 3 20], [13 19 10 20 18 7 15 18 6 0 0 10 10 3 5 18 3 8 9 3 20 3 20], [13 19 10 20 12 7 15 18 6 0 0 10 10 3 12 18 3 8 9 3 20 3 20], [13 19 10 20 12 7 15 18 6 0 0 10 10 3 12 18 3 14 9 3 20 3 20], [13 19 10 20 12 7 15 18 6 0 0 10 10 3 12 18 3 14 9 3 20 3 20], [13 19 10 20 12 7 15 18 6 0 0 10 10 3 12 18 3 14 9 3 20 3 20], [13 19 10 20 12 7 15 18 6 0 0 10 10 3 12 18 3 14 9 3 20 3 20] | [13 19 10 20 12 7 15 18 6 0 0 10 10 3 12 18 3 14 9 3 20 3 20]
| mst_prim |
insertion_sort:
key: [0.47 0.141 0.845 0.524 0.068 0.836 0.833 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], initial_trace: [0.47 0.141 0.845 0.524 0.068 0.836 0.833 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022]
trace | pred:
| [0.141 0.47 0.845 0.524 0.068 0.836 0.833 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.141 0.47 0.845 0.524 0.068 0.836 0.833 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.141 0.47 0.524 0.845 0.068 0.836 0.833 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.068 0.141 0.47 0.524 0.845 0.836 0.833 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.068 0.141 0.47 0.524 0.836 0.845 0.833 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.068 0.141 0.47 0.524 0.833 0.836 0.845 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.068 0.141 0.47 0.524 0.833 0.836 0.845 0.924 0.598 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.068 0.141 0.47 0.524 0.598 0.833 0.836 0.845 0.924 0.627 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.068 0.141 0.47 0.524 0.598 0.627 0.833 0.836 0.845 0.924 0.566 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.068 0.141 0.47 0.524 0.566 0.598 0.627 0.833 0.836 0.845 0.924 0.013 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.47 0.524 0.566 0.598 0.627 0.833 0.836 0.845 0.924 0.4 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.4 0.47 0.524 0.566 0.598 0.627 0.833 0.836 0.845 0.924 0.827 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.4 0.47 0.524 0.566 0.598 0.627 0.827 0.833 0.836 0.845 0.924 0.851 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.4 0.47 0.524 0.566 0.598 0.627 0.827 0.833 0.836 0.845 0.851 0.924 0.777 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.4 0.47 0.524 0.566 0.598 0.627 0.777 0.827 0.833 0.836 0.845 0.851 0.924 0.188 0.212 0.387 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.188 0.4 0.47 0.524 0.566 0.598 0.627 0.777 0.827 0.833 0.836 0.845 0.851 0.924 0.212 0.387 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.188 0.212 0.4 0.47 0.524 0.566 0.598 0.627 0.777 0.827 0.833 0.836 0.845 0.851 0.924 0.387 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.188 0.212 0.387 0.4 0.47 0.524 0.566 0.598 0.627 0.777 0.827 0.833 0.836 0.845 0.851 0.924 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.188 0.212 0.387 0.4 0.47 0.524 0.566 0.598 0.627 0.777 0.827 0.833 0.836 0.845 0.851 0.924 0.929 0.215 0.447 0.022], [0.013 0.068 0.141 0.188 0.212 0.215 0.387 0.4 0.47 0.524 0.566 0.598 0.627 0.777 0.827 0.833 0.836 0.845 0.851 0.924 0.929 0.447 0.022], [0.013 0.068 0.141 0.188 0.212 0.215 0.387 0.4 0.447 0.47 0.524 0.566 0.598 0.627 0.777 0.827 0.833 0.836 0.845 0.851 0.924 0.929 0.022] | [0.013 0.022 0.068 0.141 0.188 0.212 0.215 0.387 0.4 0.447 0.47 0.524 0.566 0.598 0.627 0.777 0.827 0.833 0.836 0.845 0.851 0.924 0.929]
| insertion_sort |
jarvis_march:
x: [-0.636 0.509 -0.576 -0.462], y: [1.42 0.452 -1.36 1.56], initial_trace: [0 0 0 0]
trace | in_hull:
| [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], [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 1]
| jarvis_march |
insertion_sort:
key: [0.771 0.304 0.938 0.963 0.662 0.4 0.92 0.762 0.59 0.695], initial_trace: [0.771 0.304 0.938 0.963 0.662 0.4 0.92 0.762 0.59 0.695]
trace | pred:
| [0.304 0.771 0.938 0.963 0.662 0.4 0.92 0.762 0.59 0.695], [0.304 0.771 0.938 0.963 0.662 0.4 0.92 0.762 0.59 0.695], [0.304 0.771 0.938 0.963 0.662 0.4 0.92 0.762 0.59 0.695], [0.304 0.662 0.771 0.938 0.963 0.4 0.92 0.762 0.59 0.695], [0.304 0.4 0.662 0.771 0.938 0.963 0.92 0.762 0.59 0.695], [0.304 0.4 0.662 0.771 0.92 0.938 0.963 0.762 0.59 0.695], [0.304 0.4 0.662 0.762 0.771 0.92 0.938 0.963 0.59 0.695], [0.304 0.4 0.59 0.662 0.762 0.771 0.92 0.938 0.963 0.695] | [0.304 0.4 0.59 0.662 0.695 0.762 0.771 0.92 0.938 0.963]
| insertion_sort |
bellman_ford:
s: 1, A: [[0 0 0.111 0], [0 0.11 0 0], [0.111 0 0.822 0], [0 0 0 0]], initial_trace: [0 1 2 3]
trace | pi:
| | [0 1 2 3]
| bellman_ford |
mst_kruskal:
A: [[0 0 0 0 0], [0 0.976 0 0 0], [0 0 0.785 0 0], [0 0 0 0 0], [0 0 0 0 0.309]], initial_trace: [[0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0]]
trace | in_mst:
| | [[0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0]]
| mst_kruskal |
bfs:
s: 11, A: [[0 0 0 0 1 1 1 1 0 1 1 1 0 0 0 1 0 0 0], [0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0], [0 1 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1], [1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1], [1 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 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 0 1 1 1 0 0 0 0 1], [1 0 0 0 0 0 0 1 0 1 1 0 1 0 0 1 0 1 0], [1 0 1 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 1 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 0 0 0 0 1 0 0 1 0 1 0 1 0 0 0], [0 0 1 1 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0], [1 1 1 0 0 0 0 0 0 1 0 0 0 1 1 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0], [0 1 1 0 0 0 0 0 0 1 0 0 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 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18]
trace | pi:
| [11 1 2 3 4 5 6 7 11 9 11 11 11 11 14 15 11 17 18], [11 1 10 3 0 0 0 0 11 0 11 11 11 11 16 0 11 17 8] | [11 2 10 14 0 0 0 0 11 0 11 11 11 11 16 0 11 2 8]
| bfs |
binary_search:
key: [0.062 0.069 0.074 0.146 0.175 0.193 0.209 0.231 0.236 0.238 0.265 0.366 0.379 0.419 0.434 0.542 0.556 0.578 0.619 0.849 0.918 0.938 0.945], target: 0.533, initial_trace: (0, 22)
trace | (low, high):
| (12, 22), (12, 17), (15, 17), (15, 16) | (15, 15)
| binary_search |
task_scheduling:
d: [6 11 9 9 8 15 4 11 13 15 12 4 9 3 15], w: [0.536 0.605 0.876 0.685 0.505 0.118 0.054 0.319 0.051 0.685 0.773 0.508 0.018 0.651 0.8], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
trace | selected:
| [0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 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 1], [0 0 1 1 0 0 0 0 0 0 1 0 0 0 1], [0 0 1 1 0 0 0 0 0 1 1 0 0 0 1], [0 0 1 1 0 0 0 0 0 1 1 0 0 0 1], [0 1 1 1 0 0 0 0 0 1 1 0 0 0 1], [0 1 1 1 0 0 0 0 0 1 1 0 0 0 1], [0 1 1 1 0 0 0 0 0 1 1 0 0 0 1], [0 1 1 1 1 0 0 0 0 1 1 0 0 0 1], [0 1 1 1 1 0 0 1 0 1 1 0 0 0 1], [0 1 1 1 1 1 0 1 0 1 1 0 0 0 1], [0 1 1 1 1 1 0 1 0 1 1 0 0 0 1], [0 1 1 1 1 1 0 1 1 1 1 0 0 0 1] | [0 1 1 1 1 1 0 1 1 1 1 0 0 0 1]
| task_scheduling |
dag_shortest_paths:
s: 11, A: [[0 0 0.0146 0 0.913 0.973 0.347 0.136 0 0.655 0 0.642], [0 0 0.00774 0 0 0 0.315 0 0 0 0.451 0], [0 0 0 0 0 0 0 0 0.501 0 0 0.914], [0 0 0.962 0 0.0545 0 0.466 0.191 0.384 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.769 0.647], [0 0.125 0 0.514 0.521 0 0 0 0 0 0 0], [0 0 0.269 0 0.0626 0 0 0 0.566 0 0 0.624], [0 0 0 0 0 0 0 0 0 0 0 0.112], [0 0 0 0 0.773 0 0 0 0 0 0.294 0], [0 0 0.159 0 0 0 0.426 0.568 0.6 0 0 0.784], [0 0 0 0 0 0 0 0 0 0 0 0.0519], [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]
| dag_shortest_paths |
bellman_ford:
s: 17, A: [[0.667 0 0.322 0 0 0 0.417 0.509 0 0 0 0 0 0.285 0.623 0.55 0 0.716 0 0.702 0 0 0], [0 0.309 0 0 0 0.538 0 0.29 0 0 0 0.673 0.211 0 0.555 0.143 0 0 0 0.287 0 0 0], [0.322 0 0.533 0 0.37 0 0 0 0.144 0 0.72 0.363 0.799 0 0.484 0 0.101 0 0 0.553 0 0 0], [0 0 0 0.948 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0 0], [0 0 0.37 0 0.168 0 0 0 0 0 0.64 0 0 0.585 0 0.516 0 0 0 0 0 0 0], [0 0.538 0 0 0 0 0 0.205 0 0 0 0 0 0 0 0 0 0.469 0 0.497 0 0 0], [0.417 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.396 0.242 0 0 0.956], [0.509 0.29 0 0 0 0.205 0 0 0.892 0.758 0 0.353 0 0 0.402 0 0 0.907 0.942 0 0.849 0.681 0], [0 0 0.144 0 0 0 0 0.892 0.205 0 0 0 0.34 0 0.634 0.469 0 0 0 0 0 0 0.181], [0 0 0 0 0 0 0 0.758 0 0.476 0 0 0 0.283 0.522 0.335 0 0 0 0 0 0 0], [0 0 0.72 0 0.64 0 0 0 0 0 0 0 0 0 0 0.719 0 0 0 0 0 0.371 0], [0 0.673 0.363 0 0 0 0 0.353 0 0 0 0.238 0 0 0 0.104 0 0 0.216 0.805 0 0.715 0.628], [0 0.211 0.799 0 0 0 0 0 0.34 0 0 0 0.955 0 0 0.805 0 0 0 0 0.864 0 0.543], [0.285 0 0 0 0.585 0 0 0 0 0.283 0 0 0 0.917 0 0 0.542 0 0 0 0 0 0.926], [0.623 0.555 0.484 0 0 0 0 0.402 0.634 0.522 0 0 0 0 0.305 0 0 0 0 0.222 0 0 0], [0.55 0.143 0 0 0.516 0 0 0 0.469 0.335 0.719 0.104 0.805 0 0 0 0 0 0.165 0 0.821 0.5 0], [0 0 0.101 0 0 0 0 0 0 0 0 0 0 0.542 0 0 0 0 0.185 0 0 0.041 0], [0.716 0 0 0 0 0.469 0 0.907 0 0 0 0 0 0 0 0 0 0 0 0.242 0 0 0.402], [0 0 0 0 0 0 0.396 0.942 0 0 0 0.216 0 0 0 0.165 0.185 0 0 0 0.265 0 0], [0.702 0.287 0.553 0 0 0.497 0.242 0 0 0 0 0.805 0 0 0.222 0 0 0.242 0 0 0 0 0], [0 0 0 0.25 0 0 0 0.849 0 0 0 0 0.864 0 0 0.821 0 0 0.265 0 0 0 0], [0 0 0 0 0 0 0 0.681 0 0 0.371 0.715 0 0 0 0.5 0.041 0 0 0 0 0 0], [0 0 0 0 0 0 0.956 0 0.181 0 0 0.628 0.543 0.926 0 0 0 0.402 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22]
trace | pi:
| [17 1 2 3 4 17 6 17 8 9 10 11 12 13 14 15 16 17 18 17 20 21 17], [17 19 19 3 4 17 19 5 22 7 10 22 22 0 19 0 16 17 7 17 7 7 17], [17 19 8 20 2 17 19 5 22 14 2 7 1 0 19 1 2 17 6 17 7 7 17], [17 19 8 20 2 17 19 5 22 14 15 15 1 0 19 1 2 17 15 17 18 16 17], [17 19 8 20 2 17 19 5 22 14 21 15 1 0 19 1 2 17 15 17 18 16 17] | [17 19 8 20 2 17 19 5 22 14 21 15 1 0 19 1 2 17 15 17 18 16 17]
| bellman_ford |
graham_scan:
x: [1.04 -0.595 -1.6 1.39 -0.366 -1.21 0.154 1.61 0.263 1.31], y: [-1.06 -0.583 -0.909 -1.26 1.04 1.09 -0.227 -1.06 -1.15 -0.732], initial_trace: [0 0 0 0 0 0 0 0 0 0]
trace | in_hull:
| [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0], [0 0 0 1 0 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 1], [0 0 0 1 1 0 0 1 0 1], [0 0 0 1 1 1 0 1 0 1], [0 0 0 1 1 1 1 1 0 1], [1 0 0 1 1 1 1 1 0 1], [0 0 0 1 1 1 1 1 0 1], [0 0 0 1 1 1 0 1 0 1], [0 1 0 1 1 1 0 1 0 1], [0 0 0 1 1 1 0 1 0 1], [0 0 1 1 1 1 0 1 0 1] | [0 0 1 1 1 1 0 1 1 1]
| graham_scan |
minimum:
key: [0.485 0.025 0.614 0.831 0.075 0.308 0.679 0.103 0.141 0.656 0.321 0.928 0.951 0.133 0.184 0.446 0.741 0.834 0.101 0.706 0.379 0.98 0.71 0.078 0.975 0.111 0.262 0.894], initial_trace: 0
trace | min:
| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | 1
| minimum |
dfs:
A: [[0 1 1 0 1], [0 0 0 1 1], [1 0 0 1 0], [0 1 0 1 0], [1 1 0 0 0]], initial_trace: [0 1 2 3 4]
trace | pi:
| [0 1 2 3 4], [0 0 2 3 4], [0 0 2 3 4], [0 0 2 1 4], [0 0 2 1 4], [0 0 2 1 4], [0 0 2 1 1], [0 0 2 1 1], [0 0 2 1 1], [0 0 2 1 1], [0 0 0 1 1], [0 0 0 1 1], [0 0 0 1 1] | [0 0 0 1 1]
| dfs |
bfs:
s: 24, A: [[1 0 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0], [0 1 0 1 0 1 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0], [0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 1 1 0 1 1 1 0 0 0 0 0], [1 1 0 0 1 0 1 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 1 0 0 1 1 0 0 0 0 0 1 0 1 0 0 0 0], [0 1 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 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 1 0 1 0], [1 0 1 0 0 0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 0 1 0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], [0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1], [0 0 1 0 0 0 1 1 1 0 0 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0], [1 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1], [0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 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 1 0], [0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30]
trace | pi:
| [0 1 24 3 24 5 6 7 8 9 10 24 12 13 14 15 16 17 18 19 20 21 22 24 24 25 26 24 28 29 24], [0 1 24 4 24 5 4 2 27 2 30 24 12 2 4 11 16 4 4 23 2 2 11 24 24 2 4 24 28 29 24] | [3 3 24 4 24 9 4 2 27 2 30 24 7 2 4 11 10 4 4 23 2 2 11 24 24 2 4 24 18 6 24]
| bfs |
binary_search:
key: [0.063 0.067 0.131 0.157 0.809 0.855 0.883 0.89 0.895 0.938], target: 0.556, initial_trace: (0, 9)
trace | (low, high):
| (0, 4), (3, 4) | (4, 4)
| binary_search |
insertion_sort:
key: [0.83 0.308 0.467 0.694 0.485 0.239 0.932 0.567 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], initial_trace: [0.83 0.308 0.467 0.694 0.485 0.239 0.932 0.567 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881]
trace | pred:
| [0.308 0.83 0.467 0.694 0.485 0.239 0.932 0.567 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.308 0.467 0.83 0.694 0.485 0.239 0.932 0.567 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.308 0.467 0.694 0.83 0.485 0.239 0.932 0.567 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.308 0.467 0.485 0.694 0.83 0.239 0.932 0.567 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.467 0.485 0.694 0.83 0.932 0.567 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.467 0.485 0.694 0.83 0.932 0.567 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.467 0.485 0.567 0.694 0.83 0.932 0.83 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.467 0.485 0.567 0.694 0.83 0.83 0.932 0.795 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.467 0.485 0.567 0.694 0.795 0.83 0.83 0.932 0.534 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.467 0.485 0.534 0.567 0.694 0.795 0.83 0.83 0.932 0.543 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.467 0.485 0.534 0.543 0.567 0.694 0.795 0.83 0.83 0.932 0.878 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.467 0.485 0.534 0.543 0.567 0.694 0.795 0.83 0.83 0.878 0.932 0.348 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.239 0.308 0.348 0.467 0.485 0.534 0.543 0.567 0.694 0.795 0.83 0.83 0.878 0.932 0.221 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.221 0.239 0.308 0.348 0.467 0.485 0.534 0.543 0.567 0.694 0.795 0.83 0.83 0.878 0.932 0.507 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.221 0.239 0.308 0.348 0.467 0.485 0.507 0.534 0.543 0.567 0.694 0.795 0.83 0.83 0.878 0.932 0.6 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.221 0.239 0.308 0.348 0.467 0.485 0.507 0.534 0.543 0.567 0.6 0.694 0.795 0.83 0.83 0.878 0.932 0.64 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.221 0.239 0.308 0.348 0.467 0.485 0.507 0.534 0.543 0.567 0.6 0.64 0.694 0.795 0.83 0.83 0.878 0.932 0.25 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.221 0.239 0.25 0.308 0.348 0.467 0.485 0.507 0.534 0.543 0.567 0.6 0.64 0.694 0.795 0.83 0.83 0.878 0.932 0.501 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.221 0.239 0.25 0.308 0.348 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.6 0.64 0.694 0.795 0.83 0.83 0.878 0.932 0.195 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.195 0.221 0.239 0.25 0.308 0.348 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.6 0.64 0.694 0.795 0.83 0.83 0.878 0.932 0.436 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.195 0.221 0.239 0.25 0.308 0.348 0.436 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.6 0.64 0.694 0.795 0.83 0.83 0.878 0.932 0.052 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.436 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.6 0.64 0.694 0.795 0.83 0.83 0.878 0.932 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.436 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.6 0.64 0.694 0.795 0.83 0.83 0.878 0.932 0.964 0.359 0.671 0.714 0.591 0.676 0.518 0.881], [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.359 0.436 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.6 0.64 0.694 0.795 0.83 0.83 0.878 0.932 0.964 0.671 0.714 0.591 0.676 0.518 0.881], [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.359 0.436 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.6 0.64 0.671 0.694 0.795 0.83 0.83 0.878 0.932 0.964 0.714 0.591 0.676 0.518 0.881], [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.359 0.436 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.6 0.64 0.671 0.694 0.714 0.795 0.83 0.83 0.878 0.932 0.964 0.591 0.676 0.518 0.881], [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.359 0.436 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.591 0.6 0.64 0.671 0.694 0.714 0.795 0.83 0.83 0.878 0.932 0.964 0.676 0.518 0.881], [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.359 0.436 0.467 0.485 0.501 0.507 0.534 0.543 0.567 0.591 0.6 0.64 0.671 0.676 0.694 0.714 0.795 0.83 0.83 0.878 0.932 0.964 0.518 0.881], [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.359 0.436 0.467 0.485 0.501 0.507 0.518 0.534 0.543 0.567 0.591 0.6 0.64 0.671 0.676 0.694 0.714 0.795 0.83 0.83 0.878 0.932 0.964 0.881] | [0.052 0.195 0.221 0.239 0.25 0.308 0.348 0.359 0.436 0.467 0.485 0.501 0.507 0.518 0.534 0.543 0.567 0.591 0.6 0.64 0.671 0.676 0.694 0.714 0.795 0.83 0.83 0.878 0.881 0.932 0.964]
| insertion_sort |
naive_string_matcher:
string: [0 0 0 1], key: [3 2 0 2], initial_trace: 0
trace | s:
| | 1
| naive_string_matcher |
binary_search:
key: [0.277 0.4 0.559 0.737], target: 0.059, initial_trace: (0, 3)
trace | (low, high):
| (0, 1) | (0, 0)
| binary_search |
topological_sort:
A: [[0 0 0 0 0 1 0 0 0 0], [0 0 0 0 1 0 0 1 0 1], [0 0 0 0 1 1 0 0 0 1], [0 0 1 0 0 1 0 0 0 1], [1 0 0 0 0 1 0 0 0 1], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 1], [0 0 0 0 0 1 1 0 0 0], [1 0 0 0 0 1 0 0 0 1], [0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9], 0
trace | topo, topo_head:
| [0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 0, [0 1 2 3 4 5 6 7 8 9], 5, [5 1 2 3 4 5 6 7 8 9], 0, [5 1 2 3 4 5 6 7 8 9], 0, [5 1 2 3 4 5 6 7 8 9], 0, [5 1 2 3 4 5 6 7 8 9], 0, [5 1 2 3 4 5 6 7 8 9], 0, [5 1 2 3 4 5 6 7 8 0], 9, [5 1 2 3 9 5 6 7 8 0], 4, [5 1 2 3 9 5 6 7 8 0], 4, [5 1 2 3 9 5 6 7 8 0], 4, [5 1 2 3 9 5 4 7 8 0], 6, [5 1 2 3 9 5 4 6 8 0], 7, [5 7 2 3 9 5 4 6 8 0], 1, [5 7 2 3 9 5 4 6 8 0], 1, [5 7 2 3 9 5 4 6 8 0], 1, [5 7 1 3 9 5 4 6 8 0], 2, [5 7 1 3 9 5 4 6 8 0], 2, [5 7 1 3 9 5 4 6 8 0], 2, [5 7 1 2 9 5 4 6 8 0], 3, [5 7 1 2 9 5 4 6 8 0], 3, [5 7 1 2 9 5 4 6 8 0], 3 | [5 7 1 2 9 5 4 6 3 0], 8
| topological_sort |
quickselect:
key: [0.42 0.092 0.901 0.967], initial_trace: 3
trace | pivot:
| 3, 3, 3, 2, 2 | 2
| quickselect |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1], key: [2 1 1 1 2 3 0 1 0 3 0 1 0 1 1 0 0 2 1 1 3 2 3 2 0 1 1 2 3 0 1], initial_trace: 0
trace | s:
| 1, 1, 1, 2, 2, 2, 2, 2 | 2
| naive_string_matcher |
articulation_points:
A: [[0 0 0 0], [0 0 0 0], [0 0 1 0], [0 0 0 0]], initial_trace: [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]
| articulation_points |
binary_search:
key: [0.218 0.503 0.731 0.842], target: 0.114, initial_trace: (0, 3)
trace | (low, high):
| (0, 1) | (0, 0)
| binary_search |
find_maximum_subarray_kadane:
key: [0.953 -0.942 0.161 0.12 0.058 -0.666 0.364 0.212 0.065 0.136 0.296 0.463], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (6, 10) | (6, 11)
| find_maximum_subarray_kadane |
segments_intersect:
x: [0.58 0.322 0.557 0.381], y: [0.167 0.646 0.021 0.626]
intersect:
| 1
| segments_intersect |
dijkstra:
s: 1, A: [[0 0 0 0 0.279 0 0 0 0 0 0 0 0 0 0 0 0.212 0 0.922], [0 0.863 0 0.416 0.802 0 0 0 0.177 0 0 0 0 0.173 0 0.189 0 0 0.437], [0 0 0.852 0.264 0 0 0.902 0 0 0 0 0 0 0 0 0 0.279 0 0], [0 0.416 0.264 0.205 0 0 0 0.69 0 0 0 0 0 0 0 0 0.36 0 0], [0.279 0.802 0 0 0.437 0 0.396 0 0 0 0.139 0 0 0 0 0.697 0 0 0.351], [0 0 0 0 0 0.441 0 0 0.459 0.353 0.751 0 0 0 0 0.751 0 0 0], [0 0 0.902 0 0.396 0 0 0 0 0 0.841 0 0.117 0 0.429 0 0 0 0.217], [0 0 0 0.69 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.876], [0 0.177 0 0 0 0.459 0 0 0 0 0.248 0 0 0 0 0.279 0 0 0], [0 0 0 0 0 0.353 0 0 0 0 0.149 0 0 0 0 0 0.558 0.667 0], [0 0 0 0 0.139 0.751 0.841 0 0.248 0.149 0.823 0 0.738 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.069 0 0 0 0.913 0.428 0 0.506], [0 0 0 0 0 0 0.117 0 0 0 0.738 0 0.731 0.25 0.526 0.199 0 0.418 0], [0 0.173 0 0 0 0 0 0 0 0 0 0 0.25 0.284 0 0.691 0 0.592 0], [0 0 0 0 0 0 0.429 0 0 0 0 0 0.526 0 0.974 0 0 0 0], [0 0.189 0 0 0.697 0.751 0 0 0.279 0 0 0.913 0.199 0.691 0 0.035 0 0 0.305], [0.212 0 0.279 0.36 0 0 0 0 0 0.558 0 0.428 0 0 0 0 0.678 0 0], [0 0 0 0 0 0 0 0 0 0.667 0 0 0.418 0.592 0 0 0 0 0], [0.922 0.437 0 0 0.351 0 0.217 0.876 0 0 0 0.506 0 0 0 0.305 0 0 0.248]], 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 1 5 6 7 1 9 10 11 12 1 14 1 16 17 1], [0 1 2 1 1 5 6 7 1 9 10 11 13 1 14 1 16 13 1], [0 1 2 1 1 8 6 7 1 9 8 11 13 1 14 1 16 13 1], [0 1 2 1 1 8 6 7 1 9 8 15 15 1 14 1 16 13 1], [0 1 2 1 1 8 12 7 1 9 8 15 15 1 12 1 16 13 1], [0 1 3 1 1 8 12 3 1 9 8 15 15 1 12 1 3 13 1], [0 1 3 1 10 8 12 3 1 10 8 15 15 1 12 1 3 13 1], [18 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [18 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1], [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1] | [4 1 3 1 10 8 12 3 1 10 8 18 15 1 12 1 3 13 1]
| dijkstra |
bellman_ford:
s: 7, A: [[0.196 0 0.38 0 0 0 0 0 0 0 0 0 0.127 0.72 0 0 0.575 0 0 0 0 0 0.592 0 0 0.751 0 0.467], [0 0 0 0.264 0 0.302 0 0.334 0 0 0 0 0 0 0 0 0.505 0.402 0 0 0 0.648 0 0 0 0 0 0.509], [0.38 0 0 0 0 0 0 0 0 0.197 0 0 0 0 0 0 0 0 0 0 0.319 0 0 0 0.53 0 0 0], [0 0.264 0 0 0 0.271 0 0 0 0.566 0 0 0 0 0 0 0 0.063 0 0 0 0 0.759 0.437 0.234 0 0.507 0], [0 0 0 0 0.607 0.572 0 0 0 0 0 0.244 0 0 0.591 0.625 0.676 0 0 0 0 0 0 0.126 0 0 0.539 0], [0 0.302 0 0.271 0.572 0.535 0 0 0 0.273 0 0 0 0 0 0 0 0.072 0.382 0 0 0 0 0 0.328 0 0.593 0], [0 0 0 0 0 0 0 0 0 0.566 0.633 0 0.556 0 0 0 0 0 0 0 0 0 0.38 0 0.342 0 0 0], [0 0.334 0 0 0 0 0 0 0.164 0 0 0 0 0 0 0 0 0.462 0 0.612 0 0.365 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.164 0.698 0 0 0 0 0.057 0.688 0 0.289 0.551 0 0.928 0 0 0.56 0 0 0.802 0 0], [0 0 0.197 0.566 0 0.273 0.566 0 0 0 0.578 0 0 0 0 0 0 0 0.617 0 0.323 0 0.12 0 0 0 0 0.512], [0 0 0 0 0 0 0.633 0 0 0.578 0.721 0 0 0.636 0.364 0 0 0 0 0 0 0 0.6 0 0 0 0 0], [0 0 0 0 0.244 0 0 0 0 0 0 0 0 0.304 0 0.827 0 0 0.15 0 0 0 0.583 0 0.804 0 0.364 0.613], [0.127 0 0 0 0 0 0.556 0 0 0 0 0 0.421 0.331 0 0.721 0 0 0.462 0 0 0 0.119 0 0 0 0 0], [0.72 0 0 0 0 0 0 0 0.057 0 0.636 0.304 0.331 0 0 0 0 0 0.454 0.261 0 0 0 0.754 0.388 0 0 0], [0 0 0 0 0.591 0 0 0 0.688 0 0.364 0 0 0 0.3 0.75 0.451 0 0.383 0 0 0 0 0 0.204 0 0.446 0], [0 0 0 0 0.625 0 0 0 0 0 0 0.827 0.721 0 0.75 0.837 0.321 0 0 0.567 0.628 0 0.431 0 0 0 0 0], [0.575 0.505 0 0 0.676 0 0 0 0.289 0 0 0 0 0 0.451 0.321 0 0 0.836 0 0 0 0.972 0 0 0 0.442 0], [0 0.402 0 0.063 0 0.072 0 0.462 0.551 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.535 0], [0 0 0 0 0 0.382 0 0 0 0.617 0 0.15 0.462 0.454 0.383 0 0.836 0 0.739 0 0 0 0.19 0.55 0 0 0 0], [0 0 0 0 0 0 0 0.612 0.928 0 0 0 0 0.261 0 0.567 0 0 0 0 0.59 0 0 0 0 0.509 0.732 0], [0 0 0.319 0 0 0 0 0 0 0.323 0 0 0 0 0 0.628 0 0 0 0.59 0 0.466 0 0 0.63 0 0.221 0], [0 0.648 0 0 0 0 0 0.365 0 0 0 0 0 0 0 0 0 0 0 0 0.466 0 0.611 0 0 0.439 0.126 0], [0.592 0 0 0.759 0 0 0.38 0 0.56 0.12 0.6 0.583 0.119 0 0 0.431 0.972 0 0.19 0 0 0.611 0 0.213 0 0 0 0.577], [0 0 0 0.437 0.126 0 0 0 0 0 0 0 0 0.754 0 0 0 0 0.55 0 0 0 0.213 0.76 0.812 0 0 0], [0 0 0.53 0.234 0 0.328 0.342 0 0 0 0 0.804 0 0.388 0.204 0 0 0 0 0 0.63 0 0 0.812 0.482 0.915 0 0], [0.751 0 0 0 0 0 0 0 0.802 0 0 0 0 0 0 0 0 0 0 0.509 0 0.439 0 0 0.915 0 0.678 0.232], [0 0 0 0.507 0.539 0.593 0 0 0 0 0 0.364 0 0 0.446 0 0.442 0.535 0 0.732 0.221 0.126 0 0 0 0.678 0.608 0], [0.467 0.509 0 0 0 0 0 0 0 0.512 0 0.613 0 0 0 0 0 0 0 0 0 0 0.577 0 0 0.232 0 0.034]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27]
trace | pi:
| [0 7 2 3 4 5 6 7 7 9 10 11 12 13 14 15 16 7 18 7 20 7 22 23 24 25 26 27], [0 7 2 17 4 17 6 7 7 9 10 11 12 8 8 19 8 7 18 7 21 7 8 23 24 21 21 1], [13 7 20 17 26 17 22 7 7 5 13 13 13 8 8 16 8 7 13 13 26 7 8 22 13 21 21 1], [12 7 9 17 11 17 24 7 7 5 13 13 13 8 24 16 8 7 13 13 26 7 12 22 13 21 21 1], [12 7 9 17 11 17 24 7 7 22 13 13 13 8 24 16 8 7 13 13 26 7 12 22 13 21 21 1] | [12 7 9 17 11 17 24 7 7 22 13 13 13 8 24 16 8 7 13 13 26 7 12 22 13 21 21 1]
| bellman_ford |
heapsort:
key: [0.092 0.323 0.151 0.175 0.048], initial_trace: [0.092 0.323 0.151 0.175 0.048]
trace | pred:
| [0.092 0.323 0.151 0.175 0.048], [0.092 0.323 0.151 0.175 0.048], [0.092 0.323 0.151 0.175 0.048], [0.092 0.323 0.151 0.175 0.048], [0.323 0.092 0.151 0.175 0.048], [0.323 0.175 0.151 0.092 0.048], [0.323 0.175 0.151 0.092 0.048], [0.048 0.175 0.151 0.092 0.323], [0.175 0.048 0.151 0.092 0.323], [0.175 0.092 0.151 0.048 0.323], [0.175 0.092 0.151 0.048 0.323], [0.048 0.092 0.151 0.175 0.323], [0.151 0.092 0.048 0.175 0.323], [0.151 0.092 0.048 0.175 0.323], [0.048 0.092 0.151 0.175 0.323], [0.092 0.048 0.151 0.175 0.323], [0.092 0.048 0.151 0.175 0.323], [0.048 0.092 0.151 0.175 0.323] | [0.048 0.092 0.151 0.175 0.323]
| heapsort |
binary_search:
key: [0.045 0.215 0.257 0.717 0.994], target: 0.267, initial_trace: (0, 4)
trace | (low, high):
| (3, 4) | (3, 3)
| binary_search |
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 |
quickselect:
key: [0.608 0.908 0.211 0.428 0.568 0.792 0.71 0.208 0.659 0.144 0.659 0.244], initial_trace: 11
trace | pivot:
| 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 0 | 0
| quickselect |
kmp_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1], key: [1 3 1 2 1 2 1 3 2 2 0 0 3 1 0 2 0 1 2 2 1 1 1 1 2 0 1 2 2 1 1], initial_trace: 0
trace | s:
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 6, 7, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15 | 16
| kmp_matcher |
mst_prim:
s: 1, A: [[0.705 0 0 0], [0 0.246 0 0.963], [0 0 0.849 0.39], [0 0.963 0.39 0.401]], initial_trace: [0 1 2 3]
trace | pi:
| [0 1 2 1], [0 1 3 1] | [0 1 3 1]
| mst_prim |
bellman_ford:
s: 3, A: [[0.157 0 0 0 0], [0 0.963 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0.032]], initial_trace: [0 1 2 3 4]
trace | pi:
| | [0 1 2 3 4]
| bellman_ford |
dijkstra:
s: 0, A: [[0 0 0 0 0.294 0 0 0 0.403 0.454], [0 0.282 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.368 0 0.113 0 0], [0 0 0 0.642 0 0 0.784 0 0 0], [0.294 0 0 0 0.178 0 0 0 0 0], [0 0 0.368 0 0 0 0 0 0.406 0.777], [0 0 0 0.784 0 0 0 0 0 0], [0 0 0.113 0 0 0 0 0 0 0], [0.403 0 0 0 0 0.406 0 0 0.365 0.15], [0.454 0 0 0 0 0.777 0 0 0.15 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9]
trace | pi:
| [0 1 2 3 0 5 6 7 0 0], [0 1 2 3 0 5 6 7 0 0], [0 1 2 3 0 8 6 7 0 0], [0 1 2 3 0 8 6 7 0 0], [0 1 5 3 0 8 6 7 0 0], [0 1 5 3 0 8 6 2 0 0] | [0 1 5 3 0 8 6 2 0 0]
| dijkstra |
mst_prim:
s: 9, A: [[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.632 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.429 0 0 0.3 0.163 0 0.588 0 0 0 0 0 0 0], [0 0 0 0.475 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.471 0.731 0 0.57 0 0 0 0 0 0 0 0.497 0 0], [0 0 0.429 0 0.471 0.453 0.333 0 0 0 0 0.214 0 0 0 0 0 0.615 0], [0 0 0 0 0.731 0.333 0.262 0.908 0.232 0.551 0 0 0.282 0 0 0 0 0 0], [0 0 0 0 0 0 0.908 0.782 0.733 0 0 0.034 0 0 0.158 0 0 0.608 0], [0 0 0.3 0 0.57 0 0.232 0.733 0.289 0 0.162 0 0 0 0 0.739 0 0 0], [0 0 0.163 0 0 0 0.551 0 0 0.991 0 0 0 0 0 0 0.214 0 0], [0 0.632 0 0 0 0 0 0 0.162 0 0 0.358 0.593 0 0 0 0 0 0], [0 0 0.588 0 0 0.214 0 0.034 0 0 0.358 0.878 0.659 0 0 0 0 0 0], [0 0 0 0 0 0 0.282 0 0 0 0.593 0.659 0 0.25 0 0.19 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.25 0.178 0.131 0 0 0 0.349], [0 0 0 0 0 0 0 0.158 0 0 0 0 0 0.131 0.343 0 0 0.231 0], [0 0 0 0 0 0 0 0 0.739 0 0 0 0.19 0 0 0.15 0 0 0], [0 0 0 0 0.497 0 0 0 0 0.214 0 0 0 0 0 0 0.928 0 0], [0 0 0 0 0 0.615 0 0.608 0 0 0 0 0 0 0.231 0 0 0.548 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.349 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18]
trace | pi:
| [0 1 9 3 4 5 9 7 8 9 10 11 12 13 14 15 9 17 18], [0 1 9 3 4 2 9 7 2 9 10 2 12 13 14 15 9 17 18], [0 1 9 3 16 2 9 7 2 9 10 2 12 13 14 15 9 17 18], [0 1 9 3 16 2 8 8 2 9 8 2 12 13 14 8 9 17 18], [0 10 9 3 16 2 8 8 2 9 8 10 10 13 14 8 9 17 18], [0 10 9 3 16 6 8 8 2 9 8 10 6 13 14 8 9 17 18], [0 10 9 3 16 6 8 8 2 9 8 10 6 12 14 12 9 17 18], [0 10 9 3 16 6 8 8 2 9 8 10 6 12 14 12 9 17 18], [0 10 9 3 16 6 8 8 2 9 8 10 6 12 13 12 9 17 13], [0 10 9 3 16 6 8 14 2 9 8 10 6 12 13 12 9 14 13], [0 10 9 3 16 6 8 14 2 9 8 7 6 12 13 12 9 14 13], [0 10 9 3 16 11 8 14 2 9 8 7 6 12 13 12 9 14 13], [0 10 9 3 5 11 8 14 2 9 8 7 6 12 13 12 9 14 13], [0 10 9 3 5 11 8 14 2 9 8 7 6 12 13 12 9 14 13], [0 10 9 3 5 11 8 14 2 9 8 7 6 12 13 12 9 14 13], [0 10 9 3 5 11 8 14 2 9 8 7 6 12 13 12 9 14 13] | [0 10 9 3 5 11 8 14 2 9 8 7 6 12 13 12 9 14 13]
| mst_prim |
bfs:
s: 22, A: [[1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 1 1 0 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1], [0 0 1 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 1 0 0 1 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1], [1 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 1 0 0 0 1 1 1 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0], [1 0 0 1 1 0 0 0 0 1 0 1 1 1 0 0 1 0 0 0 0 0 0], [1 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 0 0 1], [1 1 0 0 0 1 1 0 1 0 1 1 0 1 0 0 0 1 1 0 0 0 0], [0 0 0 1 0 0 1 0 1 1 1 0 0 1 1 0 0 0 1 1 0 0 0], [0 1 0 0 0 0 0 1 1 0 1 1 1 0 0 0 0 1 1 0 1 1 0], [0 1 0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 1], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 1 0 1 1 0 0 0], [1 0 0 0 0 0 1 0 0 0 1 1 0 1 0 0 0 0 0 0 0 1 0], [0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 0], [1 1 1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 1 1 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 0 0 0], [0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 1 0], [0 0 1 0 1 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22]
trace | pi:
| [0 1 22 3 22 22 6 7 8 22 22 11 12 13 22 15 16 17 18 19 20 21 22], [5 14 22 2 22 22 10 2 4 22 22 5 9 10 22 15 10 10 18 2 14 2 22] | [5 14 22 2 22 22 10 2 4 22 22 5 9 10 22 3 10 10 1 2 14 2 22]
| bfs |