question
stringlengths 65
3.42k
| answer
stringlengths 3
5.8k
| algo_name
stringclasses 30
values |
---|---|---|
dfs:
A: [[0 1 0 0 0 0 1 1 1 1 1 1], [0 0 1 0 1 1 1 1 0 0 1 1], [1 0 1 1 0 1 1 1 1 1 0 1], [0 1 0 1 0 0 1 1 1 1 0 0], [0 1 0 0 0 1 1 1 0 0 0 0], [0 1 0 1 1 0 1 1 1 0 0 0], [1 0 0 0 1 0 0 0 0 0 1 1], [0 1 0 0 0 0 0 1 1 1 0 1], [0 1 0 1 0 0 1 1 0 1 0 1], [0 1 0 1 1 0 1 1 1 1 1 1], [0 1 0 0 1 0 0 1 1 0 0 1], [1 0 1 1 0 0 1 1 1 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 0 2 3 4 5 6 7 8 9 10 11], [0 0 2 3 4 5 6 7 8 9 10 11], [0 0 1 3 4 5 6 7 8 9 10 11], [0 0 1 3 4 5 6 7 8 9 10 11], [0 0 1 2 4 5 6 7 8 9 10 11], [0 0 1 2 4 5 6 7 8 9 10 11], [0 0 1 2 4 5 3 7 8 9 10 11], [0 0 1 2 4 5 3 7 8 9 10 11], [0 0 1 2 6 5 3 7 8 9 10 11], [0 0 1 2 6 5 3 7 8 9 10 11], [0 0 1 2 6 4 3 7 8 9 10 11], [0 0 1 2 6 4 3 7 8 9 10 11], [0 0 1 2 6 4 3 5 8 9 10 11], [0 0 1 2 6 4 3 5 8 9 10 11], [0 0 1 2 6 4 3 5 7 9 10 11], [0 0 1 2 6 4 3 5 7 9 10 11], [0 0 1 2 6 4 3 5 7 8 10 11], [0 0 1 2 6 4 3 5 7 8 10 11], [0 0 1 2 6 4 3 5 7 8 9 11], [0 0 1 2 6 4 3 5 7 8 9 11], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10], [0 0 1 2 6 4 3 5 7 8 9 10] | [0 0 1 2 6 4 3 5 7 8 9 10]
| dfs |
lcs_length:
string: [0 0 0 0 0 1 1 1 1 1], key: [0 2 3 1 2 1 2 1 3 3], initial_trace: [[-1 -1 -1 -1 -1 1 1 1 1 1], [-1 -1 -1 -1 -1 1 0 0 0 0], [-1 -1 -1 -1 -1 1 0 0 0 0], [-1 -1 -1 -1 -1 0 0 0 0 0], [-1 -1 -1 -1 -1 1 0 0 0 0], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1]]
trace | b:
| [[-1 -1 -1 -1 -1 1 1 1 1 1], [-1 -1 -1 -1 -1 1 0 1 1 1], [-1 -1 -1 -1 -1 1 1 1 0 0], [-1 -1 -1 -1 -1 0 2 0 1 1], [-1 -1 -1 -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], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1]], [[-1 -1 -1 -1 -1 1 1 1 1 1], [-1 -1 -1 -1 -1 1 0 2 1 1], [-1 -1 -1 -1 -1 1 1 1 0 0], [-1 -1 -1 -1 -1 0 2 0 1 1], [-1 -1 -1 -1 -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1 -1]]
| lcs_length |
find_maximum_subarray_kadane:
key: [-0.422 -0.257 0.815 -0.078 0.866 -0.074 -0.57 0.727 -0.504 -0.897 -0.842 -0.6], initial_trace: (0, 0)
trace | (best_low, best_high):
| (1, 1), (2, 2), (2, 2), (2, 4), (2, 4), (2, 4), (2, 7), (2, 7), (2, 7), (2, 7) | (2, 7)
| find_maximum_subarray_kadane |
segments_intersect:
x: [0.023 0.143 0.125 0.956], y: [0.742 0.058 0 0.847]
intersect:
| 0
| segments_intersect |
activity_selector:
s: [0.058 0.293 0.14 0.1 0.066], f: [0.068 0.837 0.195 0.583 0.94], initial_trace: [0 0 0 0 0]
trace | selected:
| [1 0 0 0 0], [1 0 1 0 0], [1 0 1 0 0], [1 1 1 0 0] | [1 1 1 0 0]
| activity_selector |
bfs:
s: 2, A: [[0 0 0 0 0], [0 0 1 0 0], [0 1 1 0 1], [0 0 0 1 0], [0 0 1 0 0]], initial_trace: [0 1 2 3 4]
trace | pi:
| | [0 2 2 3 2]
| bfs |
bfs:
s: 9, A: [[1 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 1 0 0 0 0 0 1 1 0 0], [0 0 0 1 0 0 1 0 0 0 0 0], [0 0 0 0 1 0 0 1 0 0 1 0], [0 1 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 1 0 1 1 0 0 0 0], [0 0 1 0 0 0 0 0 1 0 0 0], [0 0 1 0 0 0 0 0 0 0 1 0], [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 10 11]
trace | pi:
| [0 1 9 3 4 5 6 7 8 9 9 11], [10 1 9 3 10 5 6 7 2 9 9 11], [10 1 9 3 10 5 6 4 2 9 9 11], [10 1 9 3 10 5 7 4 2 9 9 11], [10 6 9 6 10 5 7 4 2 9 9 11] | [10 6 9 6 10 1 7 4 2 9 9 1]
| bfs |
kmp_matcher:
string: [0 0 0 0 0 0 0 0 0 0 1 1], key: [1 1 3 0 1 3 2 1 1 3 2 1], initial_trace: 0
trace | s:
| 0, 0, 0, 1, 2, 3, 4, 5 | 6
| kmp_matcher |
graham_scan:
x: [-0.02 -0.259 0.672 0.295 0.57 0.326 -0.339 1.34 1.44 -1 -0.158 0.243 1.23 1.01 -1.16 -1.95 0.615 -0.492 -0.274], y: [-0.93 1.19 -0.833 1.85 -1.45 -0.044 0.513 0.452 -1.12 -0.842 -1.85 1.21 -0.877 0.94 1.48 0.278 -0.633 -0.573 -1.88], 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 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 1], [0 0 1 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 1 0 1], [0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 1 1 0 1 0 0 1 0 0 0 0 1], [1 0 0 0 0 1 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 0 0 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 1], [0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 0 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 1 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 1 0 1 0 0 1 1 1 0 1 0 0 1 0 0 0 0 1], [0 1 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 1 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 1 1], [0 1 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 0 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 0 1], [0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 0 0 1], [0 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 0 0 1], [0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 0 0 0 1] | [0 0 0 1 0 0 0 1 1 0 1 0 0 1 1 1 0 0 1]
| graham_scan |
segments_intersect:
x: [0.508 0.226 0.457 0.368], y: [0.788 0.026 0.115 0.933]
intersect:
| 1
| segments_intersect |
segments_intersect:
x: [0.591 0.781 0.178 0.278], y: [0.331 0.132 0.897 0.597]
intersect:
| 0
| segments_intersect |
quickselect:
key: [0.6 0.772 0.597 0.096 0.005 0.711 0.161 0.392 0.517 0.17 0.7 0.56 0.467 0.078 0.48], initial_trace: 14
trace | pivot:
| 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14 | 14
| quickselect |
activity_selector:
s: [0.169 0.197 0.239 0.094 0.741 0.56 0.079 0.093 0.088 0.057 0.221 0.655 0.546 0.74 0.136 0.59 0.576 0.711 0.098 0.226 0.16 0.52 0.062 0.24 0.725 0.278 0.17 0.237 0.109 0.08 0.405], f: [0.489 0.934 0.678 0.258 0.931 0.887 0.198 0.964 0.206 0.701 0.404 0.756 0.586 0.744 0.206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 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0]
| activity_selector |
graham_scan:
x: [-0.495 -0.727 0.518 -1.03 0.816 0.899 0.193 1.2 -1.77 -1.35 1.18 -0.048], y: [-0.976 1.64 1.44 -0.627 -1.74 0.734 -1.52 -1.56 -0.719 -1.41 -0.1 -0.993], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0]
trace | in_hull:
| [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 1 0 0 0 0], [0 0 0 0 1 0 0 1 0 0 1 0], [0 0 0 0 1 1 0 1 0 0 1 0], [0 0 1 0 1 1 0 1 0 0 1 0], [0 1 1 0 1 1 0 1 0 0 1 0], [0 1 1 0 1 1 0 1 0 0 1 1], [0 1 1 0 1 1 0 1 0 0 1 0], [0 1 1 1 1 1 0 1 0 0 1 0], [1 1 1 1 1 1 0 1 0 0 1 0], [0 1 1 1 1 1 0 1 0 0 1 0], [0 1 1 0 1 1 0 1 0 0 1 0], [0 1 1 0 1 1 0 1 1 0 1 0], [0 1 1 0 1 1 1 1 1 0 1 0], [0 1 1 0 1 1 0 1 1 0 1 0] | [0 1 1 0 1 1 0 1 1 1 1 0]
| graham_scan |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 0 1 1], key: [0 1 2 1 0 0 0 2 0 2 0 1], initial_trace: 0
trace | s:
| | 0
| naive_string_matcher |
insertion_sort:
key: [0.472 0.638 0.658 0.595 0.843 0.881 0.93 0.814 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], initial_trace: [0.472 0.638 0.658 0.595 0.843 0.881 0.93 0.814 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939]
trace | pred:
| [0.472 0.638 0.658 0.595 0.843 0.881 0.93 0.814 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.472 0.638 0.658 0.595 0.843 0.881 0.93 0.814 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.472 0.595 0.638 0.658 0.843 0.881 0.93 0.814 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.472 0.595 0.638 0.658 0.843 0.881 0.93 0.814 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.472 0.595 0.638 0.658 0.843 0.881 0.93 0.814 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.472 0.595 0.638 0.658 0.843 0.881 0.93 0.814 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.472 0.595 0.638 0.658 0.814 0.843 0.881 0.93 0.371 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.371 0.472 0.595 0.638 0.658 0.814 0.843 0.881 0.93 0.27 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.27 0.371 0.472 0.595 0.638 0.658 0.814 0.843 0.881 0.93 0.39 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.27 0.371 0.39 0.472 0.595 0.638 0.658 0.814 0.843 0.881 0.93 0.531 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.27 0.371 0.39 0.472 0.531 0.595 0.638 0.658 0.814 0.843 0.881 0.93 0.471 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.27 0.371 0.39 0.471 0.472 0.531 0.595 0.638 0.658 0.814 0.843 0.881 0.93 0.093 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.093 0.27 0.371 0.39 0.471 0.472 0.531 0.595 0.638 0.658 0.814 0.843 0.881 0.93 0.723 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.093 0.27 0.371 0.39 0.471 0.472 0.531 0.595 0.638 0.658 0.723 0.814 0.843 0.881 0.93 0.523 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.093 0.27 0.371 0.39 0.471 0.472 0.523 0.531 0.595 0.638 0.658 0.723 0.814 0.843 0.881 0.93 0.599 0.487 0.087 0.643 0.987 0.849 0.939], [0.093 0.27 0.371 0.39 0.471 0.472 0.523 0.531 0.595 0.599 0.638 0.658 0.723 0.814 0.843 0.881 0.93 0.487 0.087 0.643 0.987 0.849 0.939], [0.093 0.27 0.371 0.39 0.471 0.472 0.487 0.523 0.531 0.595 0.599 0.638 0.658 0.723 0.814 0.843 0.881 0.93 0.087 0.643 0.987 0.849 0.939], [0.087 0.093 0.27 0.371 0.39 0.471 0.472 0.487 0.523 0.531 0.595 0.599 0.638 0.658 0.723 0.814 0.843 0.881 0.93 0.643 0.987 0.849 0.939], [0.087 0.093 0.27 0.371 0.39 0.471 0.472 0.487 0.523 0.531 0.595 0.599 0.638 0.643 0.658 0.723 0.814 0.843 0.881 0.93 0.987 0.849 0.939], [0.087 0.093 0.27 0.371 0.39 0.471 0.472 0.487 0.523 0.531 0.595 0.599 0.638 0.643 0.658 0.723 0.814 0.843 0.881 0.93 0.987 0.849 0.939], [0.087 0.093 0.27 0.371 0.39 0.471 0.472 0.487 0.523 0.531 0.595 0.599 0.638 0.643 0.658 0.723 0.814 0.843 0.849 0.881 0.93 0.987 0.939] | [0.087 0.093 0.27 0.371 0.39 0.471 0.472 0.487 0.523 0.531 0.595 0.599 0.638 0.643 0.658 0.723 0.814 0.843 0.849 0.881 0.93 0.939 0.987]
| insertion_sort |
segments_intersect:
x: [0.594 0.567 0.014 0.004], y: [0.238 0.266 0.685 0.311]
intersect:
| 0
| segments_intersect |
minimum:
key: [0.577 0.65 0.764 0.946 0.264], initial_trace: 0
trace | min:
| 0, 0, 0 | 4
| minimum |
articulation_points:
A: [[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 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 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]
trace | is_cut:
| [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 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.207 0.795 0.409 0.533 0.893 0.058 0.366 0.207 0.248 0.171], initial_trace: 0
trace | min:
| 0, 0, 0, 0, 5, 5, 5, 5 | 5
| minimum |
minimum:
key: [0.696 0.613 0.846 0.767 0.746 0.798 0.735 0.772 0.692 0.575 0.636 0.405], initial_trace: 0
trace | min:
| 1, 1, 1, 1, 1, 1, 1, 1, 9, 9 | 11
| minimum |
insertion_sort:
key: [0.215 0.271 0.846 0.369 0.211 0.153 0.615 0.147 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], initial_trace: [0.215 0.271 0.846 0.369 0.211 0.153 0.615 0.147 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388]
trace | pred:
| [0.215 0.271 0.846 0.369 0.211 0.153 0.615 0.147 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.215 0.271 0.846 0.369 0.211 0.153 0.615 0.147 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.215 0.271 0.369 0.846 0.211 0.153 0.615 0.147 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.211 0.215 0.271 0.369 0.846 0.153 0.615 0.147 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.153 0.211 0.215 0.271 0.369 0.846 0.615 0.147 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.153 0.211 0.215 0.271 0.369 0.615 0.846 0.147 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.147 0.153 0.211 0.215 0.271 0.369 0.615 0.846 0.609 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.147 0.153 0.211 0.215 0.271 0.369 0.609 0.615 0.846 0.233 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.147 0.153 0.211 0.215 0.233 0.271 0.369 0.609 0.615 0.846 0.518 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.147 0.153 0.211 0.215 0.233 0.271 0.369 0.518 0.609 0.615 0.846 0.765 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.147 0.153 0.211 0.215 0.233 0.271 0.369 0.518 0.609 0.615 0.765 0.846 0.137 0.734 0.326 0.527 0.404 0.87 0.388], [0.137 0.147 0.153 0.211 0.215 0.233 0.271 0.369 0.518 0.609 0.615 0.765 0.846 0.734 0.326 0.527 0.404 0.87 0.388], [0.137 0.147 0.153 0.211 0.215 0.233 0.271 0.369 0.518 0.609 0.615 0.734 0.765 0.846 0.326 0.527 0.404 0.87 0.388], [0.137 0.147 0.153 0.211 0.215 0.233 0.271 0.326 0.369 0.518 0.609 0.615 0.734 0.765 0.846 0.527 0.404 0.87 0.388], [0.137 0.147 0.153 0.211 0.215 0.233 0.271 0.326 0.369 0.518 0.527 0.609 0.615 0.734 0.765 0.846 0.404 0.87 0.388], [0.137 0.147 0.153 0.211 0.215 0.233 0.271 0.326 0.369 0.404 0.518 0.527 0.609 0.615 0.734 0.765 0.846 0.87 0.388], [0.137 0.147 0.153 0.211 0.215 0.233 0.271 0.326 0.369 0.404 0.518 0.527 0.609 0.615 0.734 0.765 0.846 0.87 0.388] | [0.137 0.147 0.153 0.211 0.215 0.233 0.271 0.326 0.369 0.388 0.404 0.518 0.527 0.609 0.615 0.734 0.765 0.846 0.87]
| insertion_sort |
topological_sort:
A: [[0 0 0 0 0 0 0 0 0 0 0], [0 0 1 1 1 0 0 1 1 1 1], [1 0 0 1 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 1 0], [1 0 1 1 0 0 0 1 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], [0 0 0 0 0 0 0 1 0 0 1], [1 0 0 0 0 0 0 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10], 0
trace | topo, topo_head:
| [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 0 5 6 7 8 9 10], 4, [0 1 2 3 0 5 6 7 8 9 10], 4, [0 1 2 3 0 5 6 4 8 9 10], 7, [0 1 2 3 0 5 6 4 7 9 10], 8, [0 1 2 8 0 5 6 4 7 9 10], 3, [0 1 3 8 0 5 6 4 7 9 10], 2, [0 1 3 8 0 5 6 4 7 9 10], 2, [0 1 3 8 0 5 6 4 7 9 10], 2, [0 1 3 8 0 5 6 4 7 9 2], 10, [0 1 3 8 0 5 6 4 7 10 2], 9, [0 9 3 8 0 5 6 4 7 10 2], 1, [0 9 3 8 0 5 6 4 7 10 2], 1, [0 9 3 8 0 5 6 4 7 10 2], 1, [0 9 3 8 0 1 6 4 7 10 2], 5, [0 9 3 8 0 1 6 4 7 10 2], 5, [0 9 3 8 0 1 6 4 7 10 2], 5 | [0 9 3 8 0 1 5 4 7 10 2], 6
| topological_sort |
dag_shortest_paths:
s: 0, A: [[0 0.987 0.987 0 0.279], [0 0 0 0 0], [0 0 0 0 0], [0.676 0.908 0 0 0.372], [0 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], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 0 0 3 0], [0 0 0 3 0] | [0 0 0 3 0]
| dag_shortest_paths |
bfs:
s: 1, A: [[0 1 0 0 1 0 1 0 0 1 0], [1 0 0 0 0 0 0 0 0 1 1], [0 0 1 1 0 0 1 0 1 1 1], [0 0 1 0 1 1 0 1 0 0 0], [1 0 0 1 0 1 0 0 1 0 0], [0 0 0 1 1 0 1 0 0 0 0], [1 0 1 0 0 1 1 0 0 0 0], [0 0 0 1 0 0 0 0 0 1 0], [0 0 1 0 1 0 0 0 1 1 0], [1 1 1 0 0 0 0 1 1 0 0], [0 1 1 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10]
trace | pi:
| [1 1 2 3 4 5 6 7 8 1 1], [1 1 9 3 0 5 0 9 9 1 1] | [1 1 9 2 0 4 0 9 9 1 1]
| bfs |
mst_prim:
s: 9, A: [[0.613 0 0 0 0.837 0 0.507 0 0 0.571 0], [0 0.268 0 0 0.398 0 0 0 0.196 0.677 0], [0 0 0 0 0 0.648 0 0 0 0 0], [0 0 0 0 0 0 0.054 0 0.617 0 0], [0.837 0.398 0 0 0 0 0 0 0.47 0 0.493], [0 0 0.648 0 0 0 0.639 0 0 0.426 0], [0.507 0 0 0.054 0 0.639 0 0 0 0 0.385], [0 0 0 0 0 0 0 0 0.812 0 0.409], [0 0.196 0 0.617 0.47 0 0 0.812 0 0.495 0.156], [0.571 0.677 0 0 0 0.426 0 0 0.495 0.353 0], [0 0 0 0 0.493 0 0.385 0.409 0.156 0 0.85]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10]
trace | pi:
| [9 9 2 3 4 9 6 7 9 9 10], [9 9 5 3 4 9 5 7 9 9 10], [9 8 5 8 8 9 5 8 9 9 8], [9 8 5 8 8 9 10 10 9 9 8], [9 8 5 8 1 9 10 10 9 9 8], [6 8 5 6 1 9 10 10 9 9 8], [6 8 5 6 1 9 10 10 9 9 8], [6 8 5 6 1 9 10 10 9 9 8], [6 8 5 6 1 9 10 10 9 9 8], [6 8 5 6 1 9 10 10 9 9 8] | [6 8 5 6 1 9 10 10 9 9 8]
| mst_prim |
mst_kruskal:
A: [[0 0 0 0.888 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0.888 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.505 0 0 0 0 0], [0 0 0 0 0 0.0858 0 0.384 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.384 0 0 0 0], [0 0 0 0 0 0 0 0 0.51 0.615], [0 0 0 0 0 0 0 0 0.615 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 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 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 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 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 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 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 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1 0]] | [[0 0 0 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 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 0 0 0 0 1 0]]
| mst_kruskal |
quicksort:
key: [0.973 0.744 0.328 0.057], initial_trace: [0.973 0.744 0.328 0.057]
trace | pred:
| [0.973 0.744 0.328 0.057], [0.973 0.744 0.328 0.057], [0.057 0.744 0.328 0.973], [0.057 0.744 0.328 0.973], [0.057 0.744 0.328 0.973], [0.057 0.744 0.328 0.973], [0.057 0.744 0.328 0.973] | [0.057 0.328 0.744 0.973]
| quicksort |
mst_prim:
s: 6, A: [[0 0 0.519 0.281 0.446 0 0 0 0 0.224 0 0.648], [0 0.613 0 0.88 0 0 0 0 0 0 0.133 0], [0.519 0 0.244 0 0 0 0 0 0.199 0 0 0], [0.281 0.88 0 0.494 0 0 0 0.581 0 0 0 0], [0.446 0 0 0 0.624 0 0.963 0.321 0 0 0 0.246], [0 0 0 0 0 0 0 0.657 0 0 0 0.062], [0 0 0 0 0.963 0 0.795 0.45 0 0.294 0 0], [0 0 0 0.581 0.321 0.657 0.45 0 0 0 0 0], [0 0 0.199 0 0 0 0 0 0 0.862 0 0], [0.224 0 0 0 0 0 0.294 0 0.862 0 0.183 0], [0 0.133 0 0 0 0 0 0 0 0.183 0.504 0], [0.648 0 0 0 0.246 0.062 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 6 5 6 6 8 6 10 11], [9 1 2 3 6 5 6 6 9 6 9 11], [9 10 2 3 6 5 6 6 9 6 9 11], [9 10 2 1 6 5 6 6 9 6 9 11], [9 10 0 0 0 5 6 6 9 6 9 0], [9 10 0 0 0 5 6 6 9 6 9 0], [9 10 0 0 0 5 6 4 9 6 9 4], [9 10 0 0 0 11 6 4 9 6 9 4], [9 10 0 0 0 11 6 4 9 6 9 4], [9 10 0 0 0 11 6 4 9 6 9 4], [9 10 0 0 0 11 6 4 2 6 9 4] | [9 10 0 0 0 11 6 4 2 6 9 4]
| mst_prim |
find_maximum_subarray_kadane:
key: [-0.003 0.475 0.737 -0.599], initial_trace: (0, 0)
trace | (best_low, best_high):
| (1, 1), (1, 2) | (1, 2)
| find_maximum_subarray_kadane |
graham_scan:
x: [0.793 0.11 -0.949 0.156], y: [1.06 -0.421 -1.58 0.039], initial_trace: [0 0 0 0]
trace | in_hull:
| [0 0 1 0], [0 0 1 0], [0 1 1 0], [0 1 1 1], [0 1 1 0] | [1 1 1 0]
| graham_scan |
dfs:
A: [[1 0 0 0 1 1 1 0 1 1 0], [1 1 1 1 1 1 0 1 0 1 0], [1 1 1 0 1 1 1 0 1 1 0], [1 0 1 1 0 1 0 0 0 1 1], [1 1 0 1 1 1 1 1 1 1 1], [0 1 1 1 0 1 0 0 1 0 0], [1 0 1 1 1 0 1 1 0 1 1], [1 1 1 0 1 0 0 0 0 0 1], [1 0 0 1 1 0 1 0 0 1 0], [1 0 1 0 1 1 0 1 1 1 1], [1 0 0 1 0 1 0 0 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10]
trace | pi:
| [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 0 5 6 7 8 9 10], [0 1 2 3 0 5 6 7 8 9 10], [0 4 2 3 0 5 6 7 8 9 10], [0 4 2 3 0 5 6 7 8 9 10], [0 4 1 3 0 5 6 7 8 9 10], [0 4 1 3 0 5 6 7 8 9 10], [0 4 1 3 0 2 6 7 8 9 10], [0 4 1 3 0 2 6 7 8 9 10], [0 4 1 5 0 2 6 7 8 9 10], [0 4 1 5 0 2 6 7 8 9 10], [0 4 1 5 0 2 6 7 8 3 10], [0 4 1 5 0 2 6 7 8 3 10], [0 4 1 5 0 2 6 9 8 3 10], [0 4 1 5 0 2 6 9 8 3 10], [0 4 1 5 0 2 6 9 8 3 7], [0 4 1 5 0 2 6 9 8 3 7], [0 4 1 5 0 2 6 9 8 3 7], [0 4 1 5 0 2 6 9 8 3 7], [0 4 1 5 0 2 6 9 9 3 7], [0 4 1 5 0 2 6 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7], [0 4 1 5 0 2 8 9 9 3 7] | [0 4 1 5 0 2 8 9 9 3 7]
| dfs |
segments_intersect:
x: [0.358 0.799 0.11 0.885], y: [0.507 0.714 0.097 0.848]
intersect:
| 1
| segments_intersect |
quickselect:
key: [0.886 0.892 0.615 0.006 0.365 0.654 0.866 0.735 0.186 0.957 0.423 0.05 0.918 0.959 0.307 0.29 0.214 0.043 0.067 0.045 0.808 0.716 0.831 0.973 0.319 0.986 0.881 0.443 0.604 0.404 0.635], initial_trace: 30
trace | pivot:
| 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 2, 2, 2 | 2
| quickselect |
topological_sort:
A: [[0 0 1 0], [0 0 0 0], [0 0 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], 2, [2 1 2 3], 0, [2 1 2 3], 0, [2 1 2 3], 0, [2 0 2 3], 1, [2 0 2 3], 1, [2 0 2 3], 1 | [2 0 2 1], 3
| topological_sort |
find_maximum_subarray_kadane:
key: [0.794 0.412 0.96 0.98 0.851 -0.416 0.888 -0.777 -0.263 -0.465 -0.444], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 1), (0, 2), (0, 3), (0, 4), (0, 4), (0, 6), (0, 6), (0, 6), (0, 6) | (0, 6)
| find_maximum_subarray_kadane |
binary_search:
key: [0.005 0.032 0.049 0.155 0.303 0.425 0.471 0.487 0.584 0.62 0.696 0.864 0.893 0.959 0.959], target: 0.478, initial_trace: (0, 14)
trace | (low, high):
| (0, 7), (4, 7), (6, 7) | (7, 7)
| binary_search |
segments_intersect:
x: [0.371 0.748 0.302 0.702], y: [0.089 0.576 0.151 0.454]
intersect:
| 1
| segments_intersect |
strongly_connected_components:
A: [[1 0 0 0 0 0 0 0 0 0 1 1 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 1 0 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 1 0 0 0 0 0], [0 1 0 0 0 1 0 0 0 0 0 0 0 1 0], [1 0 0 0 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 1 0 0 0 0 0], [1 0 0 0 0 0 1 0 0 0 1 1 1 0 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 1 0 1], [0 1 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]], 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 3 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 9 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 4 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 4 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 4 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 4 10 11 12 13 14], [0 1 2 3 4 5 6 3 8 4 10 11 12 13 14], [0 1 2 3 4 1 6 3 8 4 10 11 12 13 14], [0 1 2 3 4 1 6 3 8 4 10 11 12 1 14], [0 1 2 3 4 1 6 3 8 4 10 11 12 1 14], [0 1 2 3 4 1 6 3 8 4 10 11 12 1 14], [0 1 2 3 4 1 6 3 8 4 10 11 12 1 14], [0 1 2 3 4 1 6 3 8 4 10 11 12 1 14], [0 1 2 3 4 1 6 3 8 4 10 11 12 1 14], [0 1 2 3 4 1 0 3 8 4 10 11 12 1 14], [0 1 2 3 4 1 0 3 8 4 0 11 12 1 14], [0 1 2 3 4 1 0 3 8 4 0 11 12 1 0], [0 1 2 3 4 1 0 3 8 4 0 11 0 1 0], [0 1 2 3 4 1 0 3 8 4 0 11 0 1 0], [0 1 2 3 4 1 0 3 8 4 0 11 0 1 0], [0 1 2 3 4 1 0 3 8 4 0 11 0 1 0], [0 1 2 3 4 1 0 3 8 4 0 11 0 1 0], [0 1 2 3 4 1 0 3 8 4 0 0 0 1 0] | [0 1 2 3 4 1 0 3 8 4 0 0 0 1 0]
| strongly_connected_components |
task_scheduling:
d: [15 5 12 1 2 28 11 10 19 17 27 7 17 24 5 27 9 1 12 17 18 2 21 7 4 10 15 18], w: [0.632 0.672 0.845 0.309 0.046 0.524 0.717 0.305 0.88 0.496 0.638 0.003 0.535 0.442 0.671 0.545 0.233 0.293 0.927 0.617 0.536 0.044 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0 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 0 0 1 0 1 1 0 1 0 1], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 1 1 1 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 1 0 1 1 1], [0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0], [1 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 0 1 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0], [0 1 0 1 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 1 1 1 0 0 0 0 1 1 0 0 1], [0 0 1 0 0 0 0 1 1 1 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0], [1 0 1 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 0 1 1 1], [1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 1 0], [1 0 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 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 23 24 25 26 27 28 29 30]
trace | pi:
| [0 1 2 1 4 5 1 7 8 1 1 11 12 1 1 15 1 17 18 19 20 21 22 23 24 25 1 27 28 29 30], [10 1 16 1 9 16 1 3 13 1 1 6 3 1 1 3 1 17 14 9 16 6 10 23 24 9 1 9 10 13 3] | [10 1 16 1 9 16 1 3 13 1 1 6 3 1 1 3 1 7 14 9 16 6 10 5 0 9 1 9 10 13 3]
| bfs |
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 |
bubble_sort:
key: [0.777 0.015 0.921 0.919 0.292], initial_trace: [0.777 0.015 0.921 0.919 0.292]
trace | pred:
| [0.777 0.015 0.921 0.292 0.919], [0.777 0.015 0.292 0.921 0.919], [0.777 0.015 0.292 0.921 0.919], [0.015 0.777 0.292 0.921 0.919], [0.015 0.777 0.292 0.919 0.921], [0.015 0.777 0.292 0.919 0.921], [0.015 0.292 0.777 0.919 0.921], [0.015 0.292 0.777 0.919 0.921], [0.015 0.292 0.777 0.919 0.921] | [0.015 0.292 0.777 0.919 0.921]
| bubble_sort |
minimum:
key: [0.424 0.076 0.736 0.91 0.307 0.654 0.213 0.006 0.848 0.962 0.556 0.354 0.016 0.382 0.93 0.407 0.77 0.297 0.815 0.111 0.02 0.627 0.523], initial_trace: 0
trace | min:
| 1, 1, 1, 1, 1, 1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 | 7
| minimum |
bellman_ford:
s: 3, A: [[0 0 0.603 0], [0 0 0.142 0], [0.603 0.142 0.604 0.043], [0 0 0.043 0.468]], initial_trace: [0 1 2 3]
trace | pi:
| [0 1 3 3] | [2 2 3 3]
| bellman_ford |
articulation_points:
A: [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 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 0 0 0 0], [0 0 0 0 0 0 0 0 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]], 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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 0 0 1 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 1 0 1 0 0 0 0], [0 0 0 1 0 0 0 1 1 1 0 0 1 0 0 0 0 0 0 0 0 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 1 0 0 0 0 0 0 0 1 1], [0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 1], [0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0], [0 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 1 0 0 0 0 1 0 1 0 0 0 1], [1 0 1 0 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0], [0 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0], [0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0], [1 0 0 0 0 1 1 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 1 1 0 0 1], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27]
trace | pi:
| [22 1 22 3 22 5 6 7 22 22 10 11 12 22 14 15 16 17 18 19 20 21 22 22 24 25 22 27], [22 26 22 2 22 2 8 0 22 22 0 2 9 22 8 15 9 8 0 2 26 8 22 22 26 0 22 26] | [22 26 22 2 22 2 8 0 22 22 0 2 9 22 8 1 9 8 0 2 26 8 22 22 26 0 22 26]
| bfs |
insertion_sort:
key: [0.372 0.547 0.197 0.22 0.132 0.386 0.392 0.56 0.033 0.026 0.402 0.597], initial_trace: [0.372 0.547 0.197 0.22 0.132 0.386 0.392 0.56 0.033 0.026 0.402 0.597]
trace | pred:
| [0.372 0.547 0.197 0.22 0.132 0.386 0.392 0.56 0.033 0.026 0.402 0.597], [0.197 0.372 0.547 0.22 0.132 0.386 0.392 0.56 0.033 0.026 0.402 0.597], [0.197 0.22 0.372 0.547 0.132 0.386 0.392 0.56 0.033 0.026 0.402 0.597], [0.132 0.197 0.22 0.372 0.547 0.386 0.392 0.56 0.033 0.026 0.402 0.597], [0.132 0.197 0.22 0.372 0.386 0.547 0.392 0.56 0.033 0.026 0.402 0.597], [0.132 0.197 0.22 0.372 0.386 0.392 0.547 0.56 0.033 0.026 0.402 0.597], [0.132 0.197 0.22 0.372 0.386 0.392 0.547 0.56 0.033 0.026 0.402 0.597], [0.033 0.132 0.197 0.22 0.372 0.386 0.392 0.547 0.56 0.026 0.402 0.597], [0.026 0.033 0.132 0.197 0.22 0.372 0.386 0.392 0.547 0.56 0.402 0.597], [0.026 0.033 0.132 0.197 0.22 0.372 0.386 0.392 0.402 0.547 0.56 0.597] | [0.026 0.033 0.132 0.197 0.22 0.372 0.386 0.392 0.402 0.547 0.56 0.597]
| insertion_sort |
bellman_ford:
s: 16, A: [[0 0.1 0.49 0 0 0.274 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.1 0.278 0 0.441 0 0.293 0.525 0 0 0 0 0 0 0 0 0 0 0 0.902], [0.49 0 0.738 0.788 0 0.236 0 0 0 0 0.223 0 0 0.216 0 0 0 0 0.361], [0 0.441 0.788 0 0 0 0 0 0 0 0 0 0.584 0 0 0 0.638 0 0], [0 0 0 0 0 0 0 0.518 0 0 0 0 0.347 0 0 0 0 0 0], [0.274 0.293 0.236 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.237], [0 0.525 0 0 0 0 0.322 0.6 0 0.345 0 0 0 0 0 0 0 0.638 0.083], [0 0 0 0 0.518 0 0.6 0.947 0 0 0 0 0.747 0 0.127 0 0 0.531 0], [0 0 0 0 0 0 0 0 0 0 0 0.363 0 0 0 0 0 0.637 0], [0 0 0 0 0 0 0.345 0 0 0.909 0 0 0 0 0 0 0.303 0 0.772], [0 0 0.223 0 0 0 0 0 0 0 0.344 0.529 0 0 0 0 0 0 0.326], [0 0 0 0 0 0 0 0 0.363 0 0.529 0 0 0 0 0.249 0 0.726 0], [0 0 0 0.584 0.347 0 0 0.747 0 0 0 0 0 0 0 0 0.561 0 0], [0 0 0.216 0 0 0 0 0 0 0 0 0 0 0.844 0.443 0 0 0 0], [0 0 0 0 0 0 0 0.127 0 0 0 0 0 0.443 0 0.342 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.249 0 0 0.342 0 0.867 0 0.21], [0 0 0 0.638 0 0 0 0 0 0.303 0 0 0.561 0 0 0.867 0 0 0], [0 0 0 0 0 0 0.638 0.531 0.637 0 0 0.726 0 0 0 0 0 0.577 0], [0 0.902 0.361 0 0 0.237 0.083 0 0 0.772 0.326 0 0 0 0 0.21 0 0 0.434]], 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 16 4 5 6 7 8 16 10 11 16 13 14 16 16 17 18], [0 3 3 16 12 5 9 12 8 16 10 15 16 13 15 16 16 17 9], [1 3 3 16 12 18 9 6 11 16 18 15 16 2 15 16 16 6 6], [1 3 18 16 12 18 9 6 11 16 18 15 16 2 15 16 16 6 6] | [1 3 18 16 12 18 9 6 11 16 18 15 16 2 15 16 16 6 6]
| bellman_ford |
task_scheduling:
d: [5 3 4 7 1 4 10 11 8 11 9], w: [0.651 0.542 0.89 0.224 0.422 0.504 0.76 0.837 0.563 0.147 0.246], initial_trace: [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 1 0 0 0 0 1 0 0 0], [0 0 1 0 0 0 1 1 0 0 0], [1 0 1 0 0 0 1 1 0 0 0], [1 0 1 0 0 0 1 1 1 0 0], [1 0 1 0 0 0 1 1 1 0 0], [1 0 1 0 0 0 1 1 1 0 0], [1 0 1 0 0 0 1 1 1 0 0], [1 0 1 0 0 0 1 1 1 0 1], [1 0 1 1 0 0 1 1 1 0 1] | [1 0 1 1 0 0 1 1 1 1 1]
| task_scheduling |
quickselect:
key: [0.921 0.693 0.566 0.252 0.558], initial_trace: 4
trace | pivot:
| 4, 4, 4, 4, 1, 1, 1 | 2
| quickselect |
segments_intersect:
x: [0.263 0.932 0.882 0.336], y: [0.076 0.601 0.2 0.653]
intersect:
| 1
| segments_intersect |
bellman_ford:
s: 3, A: [[0 0 0 0.465], [0 0 0 0], [0 0 0 0.129], [0.465 0 0.129 0.632]], initial_trace: [0 1 2 3]
trace | pi:
| | [3 1 3 3]
| bellman_ford |
task_scheduling:
d: [10 7 8 11 7 2 6 9 4 3 8], w: [0.575 0.239 0.656 0.576 0.366 0.972 0.062 0.39 0.628 0.149 0.363], initial_trace: [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 1 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 1 0 0], [0 0 1 1 0 1 0 0 1 0 0], [1 0 1 1 0 1 0 0 1 0 0], [1 0 1 1 0 1 0 1 1 0 0], [1 0 1 1 1 1 0 1 1 0 0], [1 0 1 1 1 1 0 1 1 0 1], [1 0 1 1 1 1 0 1 1 0 1], [1 0 1 1 1 1 0 1 1 0 1] | [1 0 1 1 1 1 0 1 1 0 1]
| task_scheduling |
kmp_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1], key: [3 0 0 1 0 1 0 2 3 2 0 1 2 1 1 1 1 3 2 1 1 0 1 1 1 3 2 1], initial_trace: 0
trace | s:
| 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 8, 9, 10, 11, 11, 12, 12, 13, 14 | 15
| kmp_matcher |
task_scheduling:
d: [4 11 1 7 9 4 5 4 3 6 4], w: [0.436 0.358 0.435 0.03 0.605 0.663 0.329 0.748 0.474 0.962 0.564], initial_trace: [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 1 0 1 0], [0 0 0 0 0 1 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 1 0], [0 0 0 0 1 1 0 1 0 1 0], [0 1 0 0 1 1 0 1 0 1 0], [0 1 0 0 1 1 0 1 0 1 0] | [0 1 0 1 1 1 0 1 0 1 0]
| task_scheduling |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 0 1 1], key: [3 0 3 1 1 3 1 2 1 1 3 1], initial_trace: 0
trace | s:
| 0, 1, 2 | 2
| naive_string_matcher |
activity_selector:
s: [0.556 0.349 0.029 0.592 0.582 0.049 0.282 0.263 0.061 0.761 0.822 0.504 0.001 0.137 0.465], f: [0.693 0.821 0.859 0.651 0.781 0.389 0.892 0.625 0.929 0.849 0.976 0.766 0.515 0.887 0.941], initial_trace: [0 0 0 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 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 0 1 0 0 0 1 0 0 0 0 0] | [0 0 0 1 0 1 0 0 0 1 0 0 0 0 0]
| activity_selector |
quickselect:
key: [0.898 0.907 0.881 0.936 0.359 0.965 0.95 0.539 0.022 0.289 0.326 0.307 0.542 0.02 0.889], initial_trace: 14
trace | pivot:
| 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 13, 13, 13, 13, 13, 13, 13, 13, 13, 2, 2, 2, 2, 2, 2, 2, 2, 12, 12, 12, 12, 12, 12 | 12
| quickselect |
floyd_warshall:
A: [[0 0 0 0 0], [0 0.76 0 0 0.247], [0 0 0 0 0.135], [0 0 0 0 0], [0 0.247 0.135 0 0.231]], 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 4 4 1 1], [2 4 2 2 2], [3 3 3 3 3], [4 4 4 4 4]]
| floyd_warshall |
quickselect:
key: [0.277 0.634 0.247 0.45 0.221 0.639 0.311 0.82 0.717 0.423 0.137 0.391 0.097 0.239 0.367 0.812 0.821 0.39 0.968], initial_trace: 18
trace | pivot:
| 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 8, 8, 8, 8, 8, 8, 8, 8, 8, 3, 3, 3, 3, 3, 11 | 11
| quickselect |
floyd_warshall:
A: [[0.07 0 0 0], [0 0 0 0], [0 0 0 0.607], [0 0 0.607 0.049]], 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 |
quickselect:
key: [0.547 0.66 0.86 0.59 0.637 0.481 0.504 0.663 0.27 0.296 0.623 0.622 0.18 0.196 0.548], initial_trace: 14
trace | pivot:
| 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14 | 14
| quickselect |
bellman_ford:
s: 9, A: [[0.647 0 0 0.481 0 0 0 0 0 0 0 0 0.738 0 0 0.147 0.144 0.298 0 0.984 0.529 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.051 0 0 0.225 0.459 0 0 0 0 0 0 0.479 0 0 0 0.338 0 0 0], [0.481 0 0 0.526 0.257 0 0.612 0 0 0 0 0 0 0 0 0 0 0 0 0 0.472 0 0.177], [0 0 0.051 0.257 0.536 0.099 0 0 0.165 0.565 0 0 0 0.733 0.078 0.605 0 0.402 0 0 0 0 0], [0 0 0 0 0.099 0 0 0.446 0 0 0 0 0 0 0 0.546 0.459 0 0 0 0.506 0 0.382], [0 0 0 0.612 0 0 0 0 0.881 0 0.074 0 0.14 0 0 0 0.397 0 0 0 0 0 0.277], [0 0 0.225 0 0 0.446 0 0.394 0 0.6 0 0 0.408 0.207 0 0 0 0.404 0 0 0 0 0.653], [0 0 0.459 0 0.165 0 0.881 0 0.122 0.682 0 0.381 0 0.378 0 0 0 0.562 0 0 0 0.633 0.194], [0 0 0 0 0.565 0 0 0.6 0.682 0 0.274 0.589 0.691 0 0 0 0.416 0.726 0 0 0.149 0.566 0], [0 0 0 0 0 0 0.074 0 0 0.274 0 0 0.409 0 0 0.661 0 0.738 0 0 0 0 0.689], [0 0 0 0 0 0 0 0 0.381 0.589 0 0 0 0 0 0 0.778 0 0.195 0 0 0.497 0.637], [0.738 0 0 0 0 0 0.14 0.408 0 0.691 0.409 0 0 0.441 0.373 0.301 0 0 0 0.641 0 0 0], [0 0 0 0 0.733 0 0 0.207 0.378 0 0 0 0.441 0 0.466 0 0 0.563 0 0.357 0 0 0], [0 0 0 0 0.078 0 0 0 0 0 0 0 0.373 0.466 0 0.643 0 0.379 0.378 0 0 0 0], [0.147 0 0.479 0 0.605 0.546 0 0 0 0 0.661 0 0.301 0 0.643 0.236 0 0 0.564 0.779 0 0 0], [0.144 0 0 0 0 0.459 0.397 0 0 0.416 0 0.778 0 0 0 0 0.599 0 0.598 0 0 0.114 0], [0.298 0 0 0 0.402 0 0 0.404 0.562 0.726 0.738 0 0 0.563 0.379 0 0 0 0 0 0 0 0.121], [0 0 0 0 0 0 0 0 0 0 0 0.195 0 0 0.378 0.564 0.598 0 0.171 0 0 0 0], [0.984 0 0.338 0 0 0 0 0 0 0 0 0 0.641 0.357 0 0.779 0 0 0 0.608 0 0 0], [0.529 0 0 0.472 0 0.506 0 0 0 0.149 0 0 0 0 0 0 0 0 0 0 0.118 0 0], [0 0 0 0 0 0 0 0 0.633 0.566 0 0.497 0 0 0 0 0.114 0 0 0 0 0.205 0], [0 0 0 0.177 0 0.382 0.277 0.653 0.194 0 0.689 0.637 0 0 0 0 0 0.121 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 2 3 9 5 6 9 9 9 9 9 9 13 14 15 9 9 18 19 9 9 22], [16 1 4 20 9 20 10 9 9 9 9 9 10 7 4 10 9 9 11 12 9 16 17] | [16 1 4 20 9 20 10 9 9 9 9 9 6 7 4 0 9 9 11 2 9 16 6]
| bellman_ford |
lcs_length:
string: [0 0 1 1], key: [1 3 2 3], initial_trace: [[-1 -1 1 1], [-1 -1 1 0], [-1 -1 -1 -1], [-1 -1 -1 -1]]
trace | b:
| | [[-1 -1 1 1], [-1 -1 1 0], [-1 -1 -1 -1], [-1 -1 -1 -1]]
| lcs_length |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 1 1], key: [1 1 2 1 2 0 0 0 3 0 0], initial_trace: 0
trace | s:
| 1, 2, 3, 4, 5 | 5
| naive_string_matcher |
graham_scan:
x: [1.18 0.445 1.22 -1.18 0.832 -0.102 0.679 -1.85 -0.614 1.05], y: [0.609 0.967 1.06 -0.266 1.06 -0.3 -0.015 0.553 1.86 0.465], initial_trace: [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 1 0 0 0 0], [0 0 0 0 0 1 1 0 0 0], [0 0 0 0 0 1 1 0 0 1], [0 0 0 0 0 1 1 0 0 0], [1 0 0 0 0 1 1 0 0 0], [1 0 1 0 0 1 1 0 0 0], [1 0 1 0 1 1 1 0 0 0], [1 1 1 0 1 1 1 0 0 0], [1 0 1 0 1 1 1 0 0 0], [1 0 1 0 0 1 1 0 0 0], [1 0 1 0 0 1 1 0 1 0], [1 0 1 0 0 1 1 1 1 0] | [1 0 1 1 0 1 1 1 1 0]
| graham_scan |
dfs:
A: [[1 1 1 1 1 1 0 0 1 1 0 1 0 0 1 0 1 0 1 0 0 0 0], [1 0 0 0 0 0 1 1 0 1 0 1 1 0 0 1 0 0 0 1 0 0 1], [0 1 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 1 1 1 1 0 0], [1 1 0 0 0 1 1 1 1 1 0 0 1 1 0 0 0 0 0 0 1 0 0], [1 1 0 1 0 1 0 0 1 1 0 1 0 1 0 1 0 0 1 1 0 1 1], [0 1 1 0 1 1 0 0 0 0 1 1 0 0 1 0 1 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 1 1 1 0 1 0 0], [0 1 1 1 1 0 0 0 0 1 1 1 1 0 1 1 1 0 0 1 1 1 0], [1 0 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 1 1 1 1 1 1], [1 1 0 1 1 0 1 0 0 1 1 0 1 1 1 0 0 0 0 0 1 1 1], [0 0 0 0 0 1 0 1 1 0 0 1 0 1 1 1 1 0 0 1 0 1 1], [0 0 0 0 0 1 0 1 1 1 0 0 0 1 1 0 0 1 1 1 0 1 1], [0 0 1 1 1 1 0 0 0 0 0 1 1 1 0 1 0 0 1 0 1 1 1], [0 0 0 0 1 1 1 1 0 1 0 1 0 0 1 0 1 0 0 0 1 0 0], [0 0 0 1 1 1 0 0 1 0 0 1 0 0 1 0 0 1 1 0 0 0 0], [0 0 1 1 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 1 1 1 0], [0 0 0 0 0 1 0 0 1 1 0 0 1 0 1 0 1 0 1 1 0 1 0], [0 0 1 0 1 0 1 0 0 1 1 0 0 1 0 0 1 0 0 0 1 0 1], [0 0 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 1 1 0 1 1], [1 0 0 0 0 1 1 0 1 0 1 0 0 1 1 0 0 1 1 0 0 0 0], [1 0 1 1 0 1 1 1 0 0 0 1 1 1 1 0 1 1 0 1 1 0 0], [1 1 0 0 1 1 0 0 0 0 0 1 0 1 1 1 1 0 0 0 1 1 0], [1 1 0 1 1 1 0 0 0 0 1 1 1 1 1 0 1 1 0 0 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22]
trace | pi:
| [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 4 5 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 4 5 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 4 5 1 7 8 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 3 4 5 1 7 8 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 9 4 5 1 7 8 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 9 4 5 1 7 8 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 9 4 3 1 7 8 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 2 9 4 3 1 7 8 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 4 3 1 7 8 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 4 3 1 7 8 6 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 4 3 1 7 8 6 2 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 4 3 1 7 8 6 2 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 4 3 1 10 8 6 2 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 4 3 1 10 8 6 2 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 8 6 2 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 8 6 2 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 11 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 13 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 11 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 11 14 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 11 13 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 11 13 15 16 17 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 11 13 15 16 14 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 11 13 15 16 14 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 11 13 15 17 14 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 12 11 13 15 17 14 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 15 17 14 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 15 17 14 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 18 19 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 18 15 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 18 15 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 20 21 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 20 18 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 20 18 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 22], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18], [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18] | [0 0 5 9 7 3 1 10 4 6 2 8 16 11 13 12 17 14 19 15 21 18 18]
| dfs |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 1 1], key: [0 2 0 3 3 2 0 0 3 2], initial_trace: 0
trace | s:
| 1, 2, 3, 3, 4 | 4
| naive_string_matcher |
minimum:
key: [0.352 0.124 0.078 0.98 0.758 0.214 0.939 0.487 0.641 0.44 0.595 0.401 0.758 0.205 0.949 0.713 0.212 0.574 0.789 0.171 0.561 0.853 0.398 0.285 0.923 0.967 0.559 0.205 0.47 0.972 0.592], initial_trace: 0
trace | min:
| 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 | 2
| minimum |
dag_shortest_paths:
s: 1, A: [[0 0.46 0.966 0], [0 0 0 0], [0 0.186 0 0], [0.699 0.225 0.464 0]], initial_trace: [0 1 2 3]
trace | pi:
| [0 1 2 3], [0 1 2 3] | [0 1 2 3]
| dag_shortest_paths |
articulation_points:
A: [[0 0 0 0], [0 0 0 0], [0 0 0 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 |
segments_intersect:
x: [0.247 0.785 0.902 0.481], y: [0.945 0.837 0.99 0.747]
intersect:
| 1
| segments_intersect |
bfs:
s: 2, A: [[1 1 0 0], [1 1 0 0], [0 0 1 0], [0 0 0 1]], initial_trace: [0 1 2 3]
trace | pi:
| | [0 1 2 3]
| bfs |
bfs:
s: 16, A: [[0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 1], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 1 0 0 1 0 0 1 0 0], [1 0 1 1 1 1 0 0 1 0 1 0 0 1 0 0 1 1 0 0 0 0 0 1 0 1 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 1 0 1 1 1 0 0 0 1 0 0], [0 1 1 1 1 1 1 0 1 1 0 0 0 0 0 1 1 1 1 0 1 0 0 0 0 0 0 0 0 1 0], [0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 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 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0], [0 0 1 1 0 0 0 1 1 0 0 1 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0 0], [0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 1 0], [1 0 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1], [0 1 1 1 0 0 1 1 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 1], [0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0], [1 0 1 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 1 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30]
trace | pi:
| [16 1 16 16 16 5 6 7 8 9 10 11 16 16 16 16 16 17 18 19 20 16 22 16 24 25 16 27 16 29 16] | [16 3 16 16 16 2 4 13 2 0 2 3 16 16 16 16 16 2 4 12 3 16 0 16 3 2 16 0 16 4 16]
| bfs |
articulation_points:
A: [[0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0]], initial_trace: [0 0 0 0 0]
trace | is_cut:
| [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0] | [0 0 0 0 0]
| articulation_points |
dfs:
A: [[1 1 1 1 1 0 0 0 0 1 0], [0 1 1 0 1 1 0 0 0 0 1], [0 0 1 0 1 0 1 1 1 0 0], [0 1 1 0 1 1 1 1 1 0 1], [1 0 0 1 1 0 1 0 1 0 0], [1 1 0 0 1 0 1 0 1 1 1], [0 1 0 1 0 0 1 0 1 1 1], [0 0 0 0 0 0 1 1 1 1 1], [0 0 0 1 1 1 0 0 0 0 1], [0 1 1 1 1 0 1 1 0 1 0], [1 1 0 0 1 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10]
trace | pi:
| [0 1 2 3 4 5 6 7 8 9 10], [0 0 2 3 4 5 6 7 8 9 10], [0 0 2 3 4 5 6 7 8 9 10], [0 0 1 3 4 5 6 7 8 9 10], [0 0 1 3 4 5 6 7 8 9 10], [0 0 1 3 2 5 6 7 8 9 10], [0 0 1 3 2 5 6 7 8 9 10], [0 0 1 4 2 5 6 7 8 9 10], [0 0 1 4 2 5 6 7 8 9 10], [0 0 1 4 2 3 6 7 8 9 10], [0 0 1 4 2 3 6 7 8 9 10], [0 0 1 4 2 3 5 7 8 9 10], [0 0 1 4 2 3 5 7 8 9 10], [0 0 1 4 2 3 5 7 6 9 10], [0 0 1 4 2 3 5 7 6 9 10], [0 0 1 4 2 3 5 7 6 9 8], [0 0 1 4 2 3 5 7 6 9 8], [0 0 1 4 2 3 5 7 6 9 8], [0 0 1 4 2 3 5 7 6 9 8], [0 0 1 4 2 3 5 7 6 6 8], [0 0 1 4 2 3 5 7 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8], [0 0 1 4 2 3 5 9 6 6 8] | [0 0 1 4 2 3 5 9 6 6 8]
| dfs |
lcs_length:
string: [0 0 1 1], key: [1 1 3 2], initial_trace: [[-1 -1 1 1], [-1 -1 1 0], [-1 -1 -1 -1], [-1 -1 -1 -1]]
trace | b:
| | [[-1 -1 1 1], [-1 -1 1 1], [-1 -1 -1 -1], [-1 -1 -1 -1]]
| lcs_length |
find_maximum_subarray_kadane:
key: [0.864 -0.574 0.164 0.569 0.494 -0.85 -0.178 -0.078 0.483 -0.231 0.022 -0.943 0.377 -0.961 -0.029 -0.625 0.929 -0.576 0.26 -0.697 0.179 -0.07 0.382 0.214 0.308 0.421 -0.081 0.769], initial_trace: (0, 0)
trace | (best_low, best_high):
| (0, 0), (0, 0), (0, 3), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4) | (20, 27)
| find_maximum_subarray_kadane |
activity_selector:
s: [0.053 0.767 0.427 0.341 0.747 0.4 0.143 0.885 0.17 0.723 0.077 0.006 0.649 0.286 0.508 0.043 0.19 0.023 0.067 0.113 0.037 0.58 0.986], f: [0.816 0.802 0.918 0.996 0.879 0.74 0.943 0.942 0.559 0.789 0.721 0.293 0.859 0.942 0.973 0.309 0.516 0.426 0.295 0.148 0.627 0.593 0.991], 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 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 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 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 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 1 0], [0 0 0 0 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 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 1 1] | [0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 1 1]
| activity_selector |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [2 0 0 2 0 0 0 3 0 2 0 2 3 0 3 0 0 0 0], initial_trace: 0
trace | s:
| 1, 1, 1, 2, 2, 3, 4, 4 | 4
| naive_string_matcher |
graham_scan:
x: [-0.66 0.571 -1.02 0.549 -0.385 -1.53 -0.128 0.722 0.699 -0.617 -1.89 -1.75 0.79 1.1 -0.78 -1.1 0.015 0.904 -1.12 0.113 0.711 0.464 0.824 1.83 0.891 -1.18 -0.602 0.749 0.77 -0.367 1.27], y: [0.224 -1.39 0.646 0.677 1.67 0.175 2 -1.1 0.342 -1.74 -0.203 0.205 -0.523 1.46 0.042 0.773 1.58 1.14 -1.36 -1.56 -0.389 0.678 -0.942 -0.35 1.72 -0.437 -1.3 1.66 1.82 -1.68 0.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 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 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 1 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 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 1 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 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 0 0 1 0 0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1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0], [0 1 0 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 1 1 0 0 1 0 0], [0 1 0 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0], [0 1 0 0 0 1 1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0], [0 1 0 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0], [0 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0], [0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0], [0 1 0 0 0 0 1 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 0] | [0 1 0 0 0 0 1 0 0 1 1 1 0 1 0 0 0 0 1 1 0 0 0 1 1 0 0 0 1 0 0]
| graham_scan |
articulation_points:
A: [[0 0 0 0], [0 0 0 0], [0 0 0 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 |
kmp_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [2 0 0 2 3 3 1 1 3 2 2 1 1 1 3], initial_trace: 0
trace | s:
| 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5 | 6
| kmp_matcher |
strongly_connected_components:
A: [[0 0 0 0 0 0 0 0 0 1], [0 1 1 0 0 0 0 0 0 0], [0 1 1 0 0 0 0 0 1 0], [0 0 0 1 0 0 0 0 0 0], [0 1 0 0 1 0 0 0 0 0], [0 1 1 0 0 1 0 0 0 0], [0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9]
trace | scc_id:
| [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 2 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 8 9], [0 1 1 3 4 5 6 7 1 9], [0 1 1 3 4 5 6 7 1 9], [0 1 1 3 4 5 6 7 1 9], [0 1 1 3 4 5 6 7 1 9], [0 1 1 3 4 5 6 7 1 9], [0 1 1 3 4 5 6 7 1 9], [0 1 1 3 4 5 6 7 1 9], [0 1 1 3 4 5 6 7 1 9] | [0 1 1 3 4 5 6 7 1 9]
| strongly_connected_components |
mst_prim:
s: 7, A: [[0.973 0 0 0 0.365 0 0.648 0.057 0 0 0.208 0], [0 0.513 0 0 0 0.497 0 0 0.535 0 0 0.457], [0 0 0 0 0 0 0 0 0 0.667 0 0], [0 0 0 0 0 0 0 0 0 0 0.402 0.379], [0.365 0 0 0 0.072 0.208 0 0 0 0 0.293 0], [0 0.497 0 0 0.208 0.267 0 0 0 0 0 0], [0.648 0 0 0 0 0 0.692 0 0 0.377 0 0], [0.057 0 0 0 0 0 0 0.531 0 0.361 0.56 0], [0 0.535 0 0 0 0 0 0 0.601 0 0.645 0.613], [0 0 0.667 0 0 0 0.377 0.361 0 0 0.81 0], [0.208 0 0 0.402 0.293 0 0 0.56 0.645 0.81 0.128 0], [0 0.457 0 0.379 0 0 0 0 0.613 0 0 0.098]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | pi:
| [7 1 2 3 4 5 6 7 8 7 7 11], [7 1 2 3 0 5 0 7 8 7 0 11], [7 1 2 10 10 5 0 7 10 7 0 11], [7 1 2 10 10 4 0 7 10 7 0 11], [7 5 2 10 10 4 0 7 10 7 0 11], [7 5 9 10 10 4 9 7 10 7 0 11], [7 5 9 10 10 4 9 7 10 7 0 11], [7 5 9 10 10 4 9 7 10 7 0 3], [7 11 9 10 10 4 9 7 11 7 0 3], [7 11 9 10 10 4 9 7 1 7 0 3], [7 11 9 10 10 4 9 7 1 7 0 3] | [7 11 9 10 10 4 9 7 1 7 0 3]
| mst_prim |
task_scheduling:
d: [7 2 3 7 8 2 10 3 6 1], w: [0.743 0.678 0.125 0.745 0.978 0.896 0.492 0.928 0.111 0.118], initial_trace: [0 0 0 0 0 0 0 0 0 0]
trace | selected:
| [0 0 0 0 1 0 0 0 0 0], [0 0 0 0 1 0 0 1 0 0], [0 0 0 0 1 0 0 1 0 0], [0 0 0 1 1 0 0 1 0 0], [1 0 0 1 1 0 0 1 0 0], [1 0 0 1 1 0 0 1 0 0], [1 0 0 1 1 0 1 1 0 0], [1 0 0 1 1 0 1 1 0 0], [1 0 0 1 1 0 1 1 0 0] | [1 0 0 1 1 0 1 1 1 0]
| task_scheduling |
strongly_connected_components:
A: [[0 1 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 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 0 0 0 0 1], [0 0 1 0 1 1 0 0 0 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 1 0 0 0 0 0], [1 1 0 0 0 0 1 1 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 0 0 0 0 1 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 1 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 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]], 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 2 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 2 6 7 8 9 10 11 12 13 14], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 14], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 14], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 14], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 14], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 14], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 4], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 4], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 4], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 4], [0 1 2 3 4 2 6 7 8 9 10 2 12 13 4], [0 0 2 3 4 2 6 7 8 9 10 2 12 13 4], [0 0 2 3 4 2 6 7 0 9 10 2 12 13 4], [0 0 2 3 4 2 0 7 0 9 10 2 12 13 4], [0 0 2 3 4 2 0 7 0 0 10 2 12 13 4], [0 0 2 3 4 2 0 0 0 0 10 2 12 13 4], [0 0 2 3 4 2 0 0 0 0 10 2 12 13 4], [0 0 2 3 4 2 0 0 0 0 10 2 12 13 4], [0 0 2 3 4 2 0 0 0 0 10 2 12 13 4], [0 0 2 3 4 2 0 0 0 0 10 2 12 13 4] | [0 0 2 3 4 2 0 0 0 0 10 2 12 13 4]
| strongly_connected_components |
bellman_ford:
s: 0, A: [[0.858 0 0 0.407 0.536 0 0 0 0 0 0.942 0], [0 0 0.597 0 0 0.746 0.593 0 0 0 0.626 0], [0 0.597 0 0 0 0.466 0 0 0.074 0.23 0 0], [0.407 0 0 0 0.258 0 0 0 0 0.413 0.301 0], [0.536 0 0 0.258 0.662 0 0 0 0 0 0 0], [0 0.746 0.466 0 0 0 0 0 0.413 0 0.516 0], [0 0.593 0 0 0 0 0 0 0.163 0.419 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.206], [0 0 0.074 0 0 0.413 0.163 0 0.471 0 0.204 0], [0 0 0.23 0.413 0 0 0.419 0 0 0 0 0], [0.942 0.626 0 0.301 0 0.516 0 0 0.204 0 0.042 0], [0 0 0 0 0 0 0 0.206 0 0 0 0.361]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | pi:
| [0 1 2 0 0 5 6 7 8 9 0 11], [0 10 2 0 0 10 6 7 10 3 3 11], [0 10 9 0 0 10 9 7 10 3 3 11] | [0 10 8 0 0 10 8 7 10 3 3 11]
| bellman_ford |
strongly_connected_components:
A: [[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 0 0 0 0 0 0 1 0], [0 0 0 1 0 0 0 0 1 0 0 0], [0 0 1 0 1 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 0 1 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11]
trace | scc_id:
| [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 3 9 10 11], [0 1 2 3 4 5 6 7 3 9 10 11], [0 1 2 3 4 5 6 7 3 9 10 11], [0 1 2 3 4 5 6 7 3 9 10 11], [0 1 2 3 4 5 6 7 3 9 10 11], [0 1 2 3 4 5 6 7 3 9 10 11], [0 1 2 3 4 5 6 7 3 9 10 11], [0 1 2 3 4 5 6 7 3 9 10 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 9 2 11], [0 1 2 3 4 5 6 7 3 0 2 11] | [0 1 2 3 4 5 6 7 3 0 2 11]
| strongly_connected_components |
bfs:
s: 0, A: [[0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 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 11 12 13 14 15 16 17 18 19 20 21 22]
trace | pi:
| [0 1 2 3 0 5 0 7 8 9 10 11 12 13 14 15 0 17 18 19 20 21 22], [0 1 2 3 0 4 0 4 8 6 10 6 12 13 6 6 0 16 4 19 20 21 6], [0 17 9 7 0 4 0 4 14 6 5 6 7 11 6 6 0 16 4 9 18 21 6] | [0 17 9 7 0 4 0 4 14 6 5 6 7 11 6 6 0 16 4 9 18 10 6]
| bfs |
lcs_length:
string: [0 0 0 1 1], key: [0 1 0 0 1], initial_trace: [[-1 -1 -1 0 2], [-1 -1 -1 1 0], [-1 -1 -1 0 0], [-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1]]
trace | b:
| [[-1 -1 -1 0 2], [-1 -1 -1 1 0], [-1 -1 -1 0 2], [-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1]] | [[-1 -1 -1 0 2], [-1 -1 -1 1 0], [-1 -1 -1 0 1], [-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1]]
| lcs_length |
bfs:
s: 0, A: [[0 0 0 0 0 0 0 1 1 1 0], [0 1 0 0 0 0 1 0 0 1 0], [0 0 0 0 1 1 0 0 0 0 1], [0 0 0 1 1 0 0 0 0 0 1], [0 0 1 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 1 1 1 1 0], [1 0 0 0 0 0 1 0 0 0 0], [1 0 0 0 0 1 1 0 0 0 0], [1 1 0 0 1 0 1 0 0 1 0], [0 0 1 1 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10]
trace | pi:
| [0 1 2 3 4 5 6 0 0 0 10], [0 9 2 3 9 8 7 0 0 0 10], [0 9 4 4 9 8 7 0 0 0 10] | [0 9 4 4 9 8 7 0 0 0 2]
| bfs |
floyd_warshall:
A: [[0.157 0 0 0 0], [0 0.544 0 0 0], [0 0 0.427 0 0], [0 0 0 0.469 0], [0 0 0 0 0]], initial_trace: [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]]
trace | Pi:
| [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]], [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]], [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]] | [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]]
| floyd_warshall |
mst_prim:
s: 1, A: [[0.279 0 0 0.185 0 0.136 0 0.336 0.408 0 0], [0 0.695 0 0.391 0.437 0 0 0 0 0 0], [0 0 0 0 0.355 0 0 0 0.25 0 0.457], [0.185 0.391 0 0 0.785 0.407 0.858 0 0 0.62 0.288], [0 0.437 0.355 0.785 0.509 0 0 0.249 0.751 0 0], [0.136 0 0 0.407 0 0.977 0 0 0.675 0.191 0], [0 0 0 0.858 0 0 0.882 0.624 0.764 0 0], [0.336 0 0 0 0.249 0 0.624 0.984 0.616 0.705 0.857], [0.408 0 0.25 0 0.751 0.675 0.764 0.616 0 0 0], [0 0 0 0.62 0 0.191 0 0.705 0 0.782 0], [0 0 0.457 0.288 0 0 0 0.857 0 0 0.859]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10]
trace | pi:
| [0 1 2 1 1 5 6 7 8 9 10], [3 1 2 1 1 3 3 7 8 3 3], [3 1 2 1 1 0 3 0 0 3 3], [3 1 2 1 1 0 3 0 0 5 3], [3 1 2 1 1 0 3 0 0 5 3], [3 1 10 1 1 0 3 0 0 5 3], [3 1 10 1 7 0 7 0 0 5 3], [3 1 4 1 7 0 7 0 0 5 3], [3 1 4 1 7 0 7 0 2 5 3], [3 1 4 1 7 0 7 0 2 5 3] | [3 1 4 1 7 0 7 0 2 5 3]
| mst_prim |
naive_string_matcher:
string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [1 3 3 0 3 3 2 0 3 2 2 0 3 2 0], initial_trace: 0
trace | s:
| 1, 1, 2, 2, 3, 4, 4, 5, 5 | 5
| naive_string_matcher |
segments_intersect:
x: [0.682 0.478 0.637 0.449], y: [0.078 0.53 0.153 0.983]
intersect:
| 1
| segments_intersect |
mst_prim:
s: 1, A: [[0.21 0 0 0], [0 0.045 0 0], [0 0 0.859 0], [0 0 0 0]], initial_trace: [0 1 2 3]
trace | pi:
| | [0 1 2 3]
| mst_prim |
graham_scan:
x: [-0.31 0.528 1.15 -0.635 -0.781 -0.61 1.32 0.366 0.235 0.657 1.21 0.39 -1.3 -0.838 0.793 1.89 -0.737 -1.86 1.76 0.152 -0.563 -0.407 -0.895], y: [-1.96 -1.92 -1.06 -0.858 0.185 -1.15 0.097 -1.25 -1.53 -1.74 0.208 0.328 -1.27 -0.843 -1.43 -0.313 -0.03 0.542 0.488 -1.73 -0.575 -0.206 -0.641], 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 | in_hull:
| [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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0], [1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0], [1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0], [1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 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], [1 1 0 0 0 0 0 0 0 1 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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