Datasets:

question
stringlengths
67
7.6k
answer
stringlengths
3
7.92k
algo_name
stringclasses
30 values
length
int64
4
64
dfs: A: [[1 0 1 1 1 0 1], [0 0 0 0 1 1 0], [0 0 0 0 1 1 1], [1 1 0 1 0 1 1], [1 1 0 1 0 0 1], [0 1 1 1 1 1 1], [1 0 0 1 1 0 1]], initial_trace: [0 1 2 3 4 5 6] trace | pi:
[0 1 2 3 4 5 6], [0 1 0 3 4 5 6], [0 1 0 3 4 5 6], [0 1 0 3 2 5 6], [0 1 0 3 2 5 6], [0 4 0 3 2 5 6], [0 4 0 3 2 5 6], [0 4 0 3 2 1 6], [0 4 0 3 2 1 6], [0 4 0 5 2 1 6], [0 4 0 5 2 1 6], [0 4 0 5 2 1 3], [0 4 0 5 2 1 3], [0 4 0 5 2 1 3], [0 4 0 5 2 1 3], [0 4 0 5 2 1 3], [0 4 0 5 2 1 3], [0 4 0 5 2 1 3], [0 4 0 5 2 1 3] | [0 4 0 5 2 1 3]
dfs
7
minimum: key: [0.756 0.347 0.5 0.526 0.997 0.634 0.588 0.877 0.154 0.315 0.693 0.745 0.559 0.626 0.937], initial_trace: 0 trace | min:
1, 1, 1, 1, 1, 1, 1, 8, 8, 8, 8, 8, 8 | 8
minimum
15
graham_scan: x: [0.029 -1.67 -0.715 -0.247], y: [-1.69 0.483 -0.757 1.53], initial_trace: [0 0 0 0] trace | in_hull:
[1 0 0 0], [1 0 0 0], [1 0 0 1], [1 1 0 1] | [1 1 1 1]
graham_scan
4
find_maximum_subarray_kadane: key: [0.405 0.292 0.021 0.32 -0.434 -0.292 -0.945 -0.822 -0.034 0.256], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 2), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3) | (0, 3)
find_maximum_subarray_kadane
10
binary_search: key: [0.004 0.007 0.014 0.061 0.111 0.112 0.13 0.148 0.159 0.162 0.193 0.24 0.242 0.25 0.267 0.282 0.311 0.315 0.316 0.337 0.387 0.389 0.439 0.45 0.458 0.459 0.48 0.49 0.5 0.542 0.57 0.578 0.642 0.651 0.68 0.7 0.713 0.715 0.721 0.721 0.829 0.842 0.857 0.872 0.872 0.951 0.96 0.967], target: 0.769, initial_trace: (0, 47) trace | (low, high):
(24, 47), (36, 47), (36, 41), (39, 41), (39, 40) | (40, 40)
binary_search
48
segments_intersect: x: [0.638 0.173 0.957 0.365], y: [0.147 0.957 0.754 0.464] intersect:
1
segments_intersect
20
find_maximum_subarray_kadane: key: [-0.287 0.896 -0.252 0.711 0.403 0.96 0.184 0.495 -0.884 0.373 -0.955 -0.516], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (1, 3), (1, 4), (1, 5), (1, 6), (1, 7), (1, 7), (1, 7), (1, 7) | (1, 7)
find_maximum_subarray_kadane
12
bfs: s: 41, A: [[1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 1 1 1 1 0 0], [1 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 1 1 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0], [0 1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 1 0 1 0 1 0 0 0 0 1 0], [0 0 0 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1], [0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 0 1 0 1 0 1 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 0 0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14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47] trace | pi:
[0 1 2 41 41 5 6 7 8 9 10 11 12 41 14 41 16 41 41 19 20 21 41 23 24 25 41 27 28 29 30 31 32 33 34 35 36 41 38 39 41 41 41 41 41 41 46 41], [3 18 17 41 41 13 13 15 17 17 4 15 4 41 3 41 13 41 41 4 15 15 41 15 3 3 41 3 28 17 15 26 15 17 3 17 3 41 13 3 41 41 41 41 41 41 3 41] | [3 18 17 41 41 13 13 15 17 17 4 15 4 41 3 41 13 41 41 4 15 15 41 15 3 3 41 3 0 17 15 26 15 17 3 17 3 41 13 3 41 41 41 41 41 41 3 41]
bfs
48
quickselect: key: [0.121 0.641 0.823 0.295 0.769 0.443 0.145 0.874 0.827 0.322 0.191 0.087 0.275 0.551 0.657 0.17 0.219 0.594 0.627 0.616 0.795 0.871 0.298 0.305 0.685 0.821 0.322 0.243 0.239 0.03 0.885], 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, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5, 5, 5 | 5
quickselect
31
mst_kruskal: 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]], initial_trace: [[0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0]] trace | 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]]
mst_kruskal
6
segments_intersect: x: [0.78 0.602 0.701 0.42], y: [0.581 0.625 0.183 0.907] intersect:
0
segments_intersect
46
segments_intersect: x: [0.354 0.027 0.089 0.483], y: [0.628 0.144 0.356 0.774] intersect:
0
segments_intersect
45
binary_search: key: [0.023 0.058 0.09 0.113 0.141 0.153 0.164 0.207 0.327 0.328 0.331 0.335 0.339 0.36 0.42 0.421 0.432 0.466 0.479 0.525 0.546 0.562 0.59 0.642 0.682 0.731 0.734 0.745 0.768 0.772 0.788 0.851 0.86 0.904 0.954 0.958], target: 0.285, initial_trace: (0, 35) trace | (low, high):
(0, 17), (0, 8), (5, 8), (7, 8) | (8, 8)
binary_search
36
insertion_sort: key: [0.821 0.322 0.243 0.239 0.03 0.885 0.344 0.212 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], initial_trace: [0.821 0.322 0.243 0.239 0.03 0.885 0.344 0.212 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08] trace | pred:
[0.322 0.821 0.243 0.239 0.03 0.885 0.344 0.212 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.243 0.322 0.821 0.239 0.03 0.885 0.344 0.212 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.239 0.243 0.322 0.821 0.03 0.885 0.344 0.212 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.239 0.243 0.322 0.821 0.885 0.344 0.212 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.239 0.243 0.322 0.821 0.885 0.344 0.212 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.239 0.243 0.322 0.344 0.821 0.885 0.212 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.322 0.344 0.821 0.885 0.845 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.322 0.344 0.821 0.845 0.885 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.322 0.344 0.821 0.845 0.885 0.981 0.521 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.322 0.344 0.521 0.821 0.845 0.885 0.981 0.922 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.322 0.344 0.521 0.821 0.845 0.885 0.922 0.981 0.353 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.322 0.344 0.353 0.521 0.821 0.845 0.885 0.922 0.981 0.299 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.299 0.322 0.344 0.353 0.521 0.821 0.845 0.885 0.922 0.981 0.54 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.299 0.322 0.344 0.353 0.521 0.54 0.821 0.845 0.885 0.922 0.981 0.577 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.299 0.322 0.344 0.353 0.521 0.54 0.577 0.821 0.845 0.885 0.922 0.981 0.385 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.212 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.521 0.54 0.577 0.821 0.845 0.885 0.922 0.981 0.174 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.174 0.212 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.521 0.54 0.577 0.821 0.845 0.885 0.922 0.981 0.618 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.174 0.212 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.521 0.54 0.577 0.618 0.821 0.845 0.885 0.922 0.981 0.229 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.521 0.54 0.577 0.618 0.821 0.845 0.885 0.922 0.981 0.499 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.577 0.618 0.821 0.845 0.885 0.922 0.981 0.149 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.577 0.618 0.821 0.845 0.885 0.922 0.981 0.957 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.577 0.618 0.821 0.845 0.885 0.922 0.957 0.981 0.546 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.546 0.577 0.618 0.821 0.845 0.885 0.922 0.957 0.981 0.685 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.546 0.577 0.618 0.685 0.821 0.845 0.885 0.922 0.957 0.981 0.074 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.074 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.546 0.577 0.618 0.685 0.821 0.845 0.885 0.922 0.957 0.981 0.892 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.074 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.546 0.577 0.618 0.685 0.821 0.845 0.885 0.892 0.922 0.957 0.981 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.03 0.074 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.546 0.577 0.618 0.685 0.821 0.845 0.885 0.892 0.922 0.957 0.981 0.997 0.027 0.561 0.883 0.458 0.159 0.08], [0.027 0.03 0.074 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.546 0.577 0.618 0.685 0.821 0.845 0.885 0.892 0.922 0.957 0.981 0.997 0.561 0.883 0.458 0.159 0.08], [0.027 0.03 0.074 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.546 0.561 0.577 0.618 0.685 0.821 0.845 0.885 0.892 0.922 0.957 0.981 0.997 0.883 0.458 0.159 0.08], [0.027 0.03 0.074 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.499 0.521 0.54 0.546 0.561 0.577 0.618 0.685 0.821 0.845 0.883 0.885 0.892 0.922 0.957 0.981 0.997 0.458 0.159 0.08], [0.027 0.03 0.074 0.149 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.458 0.499 0.521 0.54 0.546 0.561 0.577 0.618 0.685 0.821 0.845 0.883 0.885 0.892 0.922 0.957 0.981 0.997 0.159 0.08], [0.027 0.03 0.074 0.149 0.159 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.458 0.499 0.521 0.54 0.546 0.561 0.577 0.618 0.685 0.821 0.845 0.883 0.885 0.892 0.922 0.957 0.981 0.997 0.08] | [0.027 0.03 0.074 0.08 0.149 0.159 0.174 0.212 0.229 0.239 0.243 0.299 0.322 0.344 0.353 0.385 0.458 0.499 0.521 0.54 0.546 0.561 0.577 0.618 0.685 0.821 0.845 0.883 0.885 0.892 0.922 0.957 0.981 0.997]
insertion_sort
34
bfs: s: 19, A: [[0 0 0 1 0 0 0 1 1 0 0 1 1 1 0 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 1 1 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 1], [1 0 0 0 0 0 0 1 1 0 0 0 1 0 0 1 0 1 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0], [0 1 1 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 1], [0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 1], [1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0], [1 0 1 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 1 0], [0 0 0 0 0 1 1 0 0 1 1 0 1 0 1 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 1 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 1 1 0], [1 1 0 1 0 1 0 0 0 1 0 0 0 0 1 1 0 1 0 1], [1 1 0 0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 1 0 0 1 1 0 1 1 0 1 0 0 1 0 0], [0 0 0 1 0 0 0 0 1 1 0 1 1 0 0 1 0 1 0 0], [0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0], [0 0 0 1 0 0 0 1 0 0 0 1 1 0 1 1 0 1 0 0], [0 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 1 0 1 0], [0 0 1 0 0 1 1 0 0 0 0 0 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] trace | pi:
[0 1 19 3 4 19 19 7 8 9 10 11 19 13 14 15 16 17 18 19], [12 2 19 12 4 19 19 7 2 5 10 11 19 6 5 12 2 12 18 19] | [12 2 19 12 13 19 19 0 2 5 9 0 19 6 5 12 2 12 8 19]
bfs
20
dag_shortest_paths: s: 3, A: [[0 0 0 0 0 0 0.83 0.3 0 0.0861 0.803], [0.516 0 0 0 0 0.349 0 0.822 0 0.247 0], [0 0 0 0 0 0 0 0 0 0.843 0], [0 0 0 0 0 0 0 0 0 0.134 0.115], [0 0.0455 0 0.49 0 0 0 0.944 0.146 0.581 0.185], [0 0 0 0.484 0 0 0 0 0 0 0.223], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0.446 0 0 0 0.371 0 0 0.94 0.636], [0 0 0 0 0 0 0 0.684 0 0 0], [0 0 0.916 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 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 3 3], [0 1 10 3 4 5 6 7 8 3 3], [0 1 10 3 4 5 6 7 8 3 3] | [0 1 10 3 4 5 6 9 8 3 3]
dag_shortest_paths
11
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 0 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 1 1 1 1 1 1], key: [3 0 0 3 1 2 0 3 3 3 2 0 0 0 2 3 3 2 0 2 2 0 2 0 3 0 3 2 2 1 1 0 3 2 2 1 3 1 1 1 1 2 1 0 2 2 0 2 0 3 1 0 3 2 2 1 3 1 1 1 1 2], initial_trace: 0 trace | s:
1, 2, 3, 4, 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, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30 | 30
naive_string_matcher
62
heapsort: key: [0.408 0.473 0.502 0.922 0.464 0.493 0.813 0.218 0.218 0.322 0.906], initial_trace: [0.408 0.473 0.502 0.922 0.464 0.493 0.813 0.218 0.218 0.322 0.906] trace | pred:
[0.408 0.473 0.502 0.922 0.464 0.493 0.813 0.218 0.218 0.322 0.906], [0.408 0.473 0.502 0.922 0.464 0.493 0.813 0.218 0.218 0.322 0.906], [0.408 0.473 0.502 0.922 0.464 0.493 0.813 0.218 0.218 0.322 0.906], [0.408 0.473 0.502 0.922 0.464 0.493 0.813 0.218 0.218 0.322 0.906], [0.408 0.473 0.502 0.922 0.464 0.493 0.813 0.218 0.218 0.322 0.906], [0.408 0.473 0.502 0.922 0.464 0.493 0.813 0.218 0.218 0.322 0.906], [0.408 0.473 0.502 0.922 0.906 0.493 0.813 0.218 0.218 0.322 0.464], [0.408 0.473 0.502 0.922 0.906 0.493 0.813 0.218 0.218 0.322 0.464], [0.408 0.473 0.502 0.922 0.906 0.493 0.813 0.218 0.218 0.322 0.464], [0.408 0.473 0.813 0.922 0.906 0.493 0.502 0.218 0.218 0.322 0.464], [0.408 0.473 0.813 0.922 0.906 0.493 0.502 0.218 0.218 0.322 0.464], [0.408 0.922 0.813 0.473 0.906 0.493 0.502 0.218 0.218 0.322 0.464], [0.408 0.922 0.813 0.473 0.906 0.493 0.502 0.218 0.218 0.322 0.464], [0.922 0.408 0.813 0.473 0.906 0.493 0.502 0.218 0.218 0.322 0.464], [0.922 0.906 0.813 0.473 0.408 0.493 0.502 0.218 0.218 0.322 0.464], [0.922 0.906 0.813 0.473 0.464 0.493 0.502 0.218 0.218 0.322 0.408], [0.922 0.906 0.813 0.473 0.464 0.493 0.502 0.218 0.218 0.322 0.408], [0.408 0.906 0.813 0.473 0.464 0.493 0.502 0.218 0.218 0.322 0.922], [0.906 0.408 0.813 0.473 0.464 0.493 0.502 0.218 0.218 0.322 0.922], [0.906 0.473 0.813 0.408 0.464 0.493 0.502 0.218 0.218 0.322 0.922], [0.906 0.473 0.813 0.408 0.464 0.493 0.502 0.218 0.218 0.322 0.922], [0.322 0.473 0.813 0.408 0.464 0.493 0.502 0.218 0.218 0.906 0.922], [0.813 0.473 0.322 0.408 0.464 0.493 0.502 0.218 0.218 0.906 0.922], [0.813 0.473 0.502 0.408 0.464 0.493 0.322 0.218 0.218 0.906 0.922], [0.813 0.473 0.502 0.408 0.464 0.493 0.322 0.218 0.218 0.906 0.922], [0.218 0.473 0.502 0.408 0.464 0.493 0.322 0.218 0.813 0.906 0.922], [0.502 0.473 0.218 0.408 0.464 0.493 0.322 0.218 0.813 0.906 0.922], [0.502 0.473 0.493 0.408 0.464 0.218 0.322 0.218 0.813 0.906 0.922], [0.502 0.473 0.493 0.408 0.464 0.218 0.322 0.218 0.813 0.906 0.922], [0.218 0.473 0.493 0.408 0.464 0.218 0.322 0.502 0.813 0.906 0.922], [0.493 0.473 0.218 0.408 0.464 0.218 0.322 0.502 0.813 0.906 0.922], [0.493 0.473 0.322 0.408 0.464 0.218 0.218 0.502 0.813 0.906 0.922], [0.493 0.473 0.322 0.408 0.464 0.218 0.218 0.502 0.813 0.906 0.922], [0.218 0.473 0.322 0.408 0.464 0.218 0.493 0.502 0.813 0.906 0.922], [0.473 0.218 0.322 0.408 0.464 0.218 0.493 0.502 0.813 0.906 0.922], [0.473 0.464 0.322 0.408 0.218 0.218 0.493 0.502 0.813 0.906 0.922], [0.473 0.464 0.322 0.408 0.218 0.218 0.493 0.502 0.813 0.906 0.922], [0.218 0.464 0.322 0.408 0.218 0.473 0.493 0.502 0.813 0.906 0.922], [0.464 0.218 0.322 0.408 0.218 0.473 0.493 0.502 0.813 0.906 0.922], [0.464 0.408 0.322 0.218 0.218 0.473 0.493 0.502 0.813 0.906 0.922], [0.464 0.408 0.322 0.218 0.218 0.473 0.493 0.502 0.813 0.906 0.922], [0.218 0.408 0.322 0.218 0.464 0.473 0.493 0.502 0.813 0.906 0.922], [0.408 0.218 0.322 0.218 0.464 0.473 0.493 0.502 0.813 0.906 0.922], [0.408 0.218 0.322 0.218 0.464 0.473 0.493 0.502 0.813 0.906 0.922], [0.218 0.218 0.322 0.408 0.464 0.473 0.493 0.502 0.813 0.906 0.922], [0.322 0.218 0.218 0.408 0.464 0.473 0.493 0.502 0.813 0.906 0.922], [0.322 0.218 0.218 0.408 0.464 0.473 0.493 0.502 0.813 0.906 0.922], [0.218 0.218 0.322 0.408 0.464 0.473 0.493 0.502 0.813 0.906 0.922], [0.218 0.218 0.322 0.408 0.464 0.473 0.493 0.502 0.813 0.906 0.922], [0.218 0.218 0.322 0.408 0.464 0.473 0.493 0.502 0.813 0.906 0.922] | [0.218 0.218 0.322 0.408 0.464 0.473 0.493 0.502 0.813 0.906 0.922]
heapsort
11
graham_scan: x: [1.78 0.98 -0.664 -0.714 1.5 0.677 0.011 -1.44 -0.785 0.744 -1.41 0.428 0.701 0.519 0.765 -1.97], y: [0.861 0.87 -0.572 -0.786 0.455 0.187 0.279 -0.322 1.16 1.44 1.25 -1.51 -0.655 0.911 0.495 0.037], initial_trace: [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 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [1 0 0 0 1 0 0 0 0 0 0 1 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 0 0 0 0 0 1 1 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0], [1 1 0 0 0 1 0 0 0 0 0 1 0 0 1 0], [1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0], [1 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 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0], [1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0], [1 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0], [1 0 1 0 0 0 0 0 0 1 1 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1], [1 0 0 0 0 0 0 1 0 1 1 1 0 0 0 1] | [1 0 0 1 0 0 0 1 0 1 1 1 0 0 0 1]
graham_scan
16
activity_selector: s: [0.113 0.15 0.421 0.411 0.219 0.451 0.594 0.614 0.139 0.465 0.182 0.175 0.65 0.243 0.11 0.361 0.614 0.192 0.901 0.1 0.28 0.306 0.07 0.058], f: [0.527 0.527 0.449 0.925 0.455 0.462 0.772 0.671 0.659 0.604 0.346 0.586 0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0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 1 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0] | [0 0 1 0 0 1 0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0]
activity_selector
24
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1], key: [2 0 2 3 2 1 1 3 3 1 3 1 2 1 3 3 0 2 0 2 0 2 1 1 2 1 0 0 0 1 1 2 0 0 2 2 0 2 0 3 1 3 2 1 1 3 3 1 3 1 2], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2 | 3
kmp_matcher
51
bellman_ford: s: 21, A: [[0.505 0 0 0 0 0.728 0 0 0 0 0 0 0.215 0 0 0 0 0.926 0 0 0 0.892 0 0 0.534 0.552 0 0.798 0 0.516 0 0 0 0.521 0 0 0 0 0 0 0], [0 0 0 0 0.329 0 0 0.321 0 0 0 0 0 0.917 0 0.495 0 0 0 0 0 0.037 0 0 0 0.719 0 0.169 0.646 0 0 0 0.489 0.395 0.589 0.475 0 0 0 0 0], [0 0 0.809 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.238 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.789 0 0.235 0.214 0 0 0.571 0 0 0 0 0.839 0 0 0 0 0 0 0 0 0 0.496 0 0 0 0.699 0 0 0], [0 0.329 0 0 0.218 0 0.201 0 0 0.596 0 0 0 0 0.073 0 0 0.5 0 0.383 0 0 0 0 0.456 0 0 0 0 0.365 0 0 0 0.43 0 0 0 0 0 0.358 0], [0.728 0 0 0 0 0.771 0 0 0 0 0.979 0 0 0.863 0 0 0 0.174 0 0 0 0 0 0 0.457 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.201 0 0.266 0.239 0.504 0.673 0 0 0 0.773 0.293 0 0 0 0 0 0 0 0 0 0 0 0.573 0.258 0 0 0 0.079 0 0 0.468 0 0 0.938 0 0 0], [0 0.321 0 0 0 0 0.239 0 0 0 0 0 0 0.855 0 0.546 0 0 0 0 0 0 0 0.736 0 0 0 0 0 0 0.224 0 0 0 0 0 0 0 0 0 0.207], [0 0 0 0 0 0 0.504 0 0.339 0.345 0 0 0 0 0.998 0 0 0 0 0 0 0 0.483 0 0 0.121 0.466 0.44 0.317 0 0.61 0 0 0 0.606 0 0.439 0 0 0.433 0], [0 0 0 0 0.596 0 0.673 0 0.345 0.621 0 0 0 0.241 0.784 0 0.234 0 0.546 0.416 0.82 0 0 0 0 0.541 0 0.809 0 0 0 0 0 0 0.164 0 0 0 0 0 0], [0 0 0 0 0 0.979 0 0 0 0 0 0.282 0 0 0.401 0.592 0 0 0 0 0.486 0 0.105 0 0.282 0.597 0 0 0 0 0 0 0 0 0.801 0 0.35 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.282 0 0.435 0 0 0.258 0.253 0 0 0 0 0.52 0 0.808 0 0 0 0 0 0 0.588 0 0 0 0 0 0 0 0 0.566 0], [0.215 0 0 0.789 0 0 0 0 0 0 0 0.435 0.198 0 0 0 0.374 0.282 0 0.25 0.886 0 0.448 0.61 0.634 0.509 0 0 0 0 0.254 0 0 0 0 0 0 0.246 0 0 0], [0 0.917 0 0 0 0.863 0.773 0.855 0 0.241 0 0 0 0.414 0 0 0 0 0 0.615 0 0.101 0.434 0.37 0 0 0 0 0.491 0 0.746 0.333 0 0 0.167 0.834 0 0.288 0 0.211 0.398], [0 0 0 0.235 0.073 0 0.293 0 0.998 0.784 0.401 0 0 0 0.738 0 0 0 0 0 0 0.12 0.239 0 0 0.225 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.856], [0 0.495 0 0.214 0 0 0 0.546 0 0 0.592 0.258 0 0 0 0 0.592 0.71 0 0 0 0 0 0 0 0 0 0.406 0.544 0 0 0.228 0 0 0 0 0 0 0 0.836 0], [0 0 0 0 0 0 0 0 0 0.234 0 0.253 0.374 0 0 0.592 0.147 0 0 0 0.88 0 0 0.34 0 0 0 0 0.424 0 0 0 0 0 0.096 0 0 0 0 0 0], [0.926 0 0 0 0.5 0.174 0 0 0 0 0 0 0.282 0 0 0.71 0 0.149 0 0 0 0 0 0 0 0 0.494 0 0.287 0 0 0.052 0.035 0 0.254 0 0 0 0 0 0], [0 0 0 0.571 0 0 0 0 0 0.546 0 0 0 0 0 0 0 0 0.508 0 0 0 0 0 0 0.594 0 0 0.508 0.333 0 0.648 0.724 0 0 0 0 0.413 0 0 0], [0 0 0 0 0.383 0 0 0 0 0.416 0 0 0.25 0.615 0 0 0 0 0 0.08 0 0 0 0.317 0.163 0 0.386 0 0 0 0.441 0 0.141 0 0 0 0 0 0 0 0.475], [0 0 0 0 0 0 0 0 0 0.82 0.486 0 0.886 0 0 0 0.88 0 0 0 0.637 0.259 0 0 0.764 0 0.053 0.347 0.549 0 0 0 0 0.858 0 0 0 0 0 0 0], [0.892 0.037 0 0 0 0 0 0 0 0 0 0.52 0 0.101 0.12 0 0 0 0 0 0.259 0 0 0.859 0.354 0 0.523 0 0.257 0.451 0 0.775 0.615 0.502 0 0 0 0 0 0 0.387], [0 0 0 0 0 0 0 0 0.483 0 0.105 0 0.448 0.434 0.239 0 0 0 0 0 0 0 0 0 0 0 0.262 0.359 0 0 0.773 0 0.263 0 0 0.094 0.557 0 0 0 0], [0 0 0.238 0.839 0 0 0 0.736 0 0 0 0.808 0.61 0.37 0 0 0.34 0 0 0.317 0 0.859 0 0 0.078 0 0.673 0 0.432 0 0 0 0 0 0.45 0 0.415 0.413 0 0.669 0], [0.534 0 0 0 0.456 0.457 0 0 0 0 0.282 0 0.634 0 0 0 0 0 0 0.163 0.764 0.354 0 0.078 0 0.353 0 0.249 0 0 0.407 0.506 0 0 0 0 0.713 0 0 0.966 0], [0.552 0.719 0 0 0 0 0 0 0.121 0.541 0.597 0 0.509 0 0.225 0 0 0 0.594 0 0 0 0 0 0.353 0 0 0 0.57 0.904 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.573 0 0.466 0 0 0 0 0 0 0 0 0.494 0 0.386 0.053 0.523 0.262 0.673 0 0 0 0 0 0 0 0 0 0.618 0 0.124 0.433 0 0.557 0 0], [0.798 0.169 0 0 0 0 0.258 0 0.44 0.809 0 0 0 0 0 0.406 0 0 0 0 0.347 0 0.359 0 0.249 0 0 0.072 0 0.453 0 0 0.786 0 0 0 0.127 0.082 0 0.484 0], [0 0.646 0 0 0 0 0 0 0.317 0 0 0 0 0.491 0 0.544 0.424 0.287 0.508 0 0.549 0.257 0 0.432 0 0.57 0 0 0.213 0 0.123 0 0 0 0 0.247 0.149 0 0 0 0], [0.516 0 0 0 0.365 0 0 0 0 0 0 0 0 0 0 0 0 0 0.333 0 0 0.451 0 0 0 0.904 0 0.453 0 0 0.362 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.224 0.61 0 0 0.588 0.254 0.746 0 0 0 0 0 0.441 0 0 0.773 0 0.407 0 0 0 0.123 0.362 0.561 0 0 0.948 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.079 0 0 0 0 0 0 0.333 0 0.228 0 0.052 0.648 0 0 0.775 0 0 0.506 0 0 0 0 0 0 0.32 0.915 0 0 0 0 0.209 0 0 0.416], [0 0.489 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.035 0.724 0.141 0 0.615 0.263 0 0 0 0 0.786 0 0 0 0.915 0 0 0 0 0 0 0 0 0], [0.521 0.395 0 0.496 0.43 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.858 0.502 0 0 0 0 0.618 0 0 0 0.948 0 0 0.723 0 0.267 0.237 0 0.797 0 0], [0 0.589 0 0 0 0 0.468 0 0.606 0.164 0.801 0 0 0.167 0 0 0.096 0.254 0 0 0 0 0 0.45 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.19 0 0.269], [0 0.475 0 0 0 0 0 0 0 0 0 0 0 0.834 0 0 0 0 0 0 0 0 0.094 0 0 0 0.124 0 0.247 0 0 0 0 0.267 0 0.186 0 0 0 0.138 0], [0 0 0 0 0 0 0 0 0.439 0 0.35 0 0 0 0 0 0 0 0 0 0 0 0.557 0.415 0.713 0 0.433 0.127 0.149 0 0 0 0 0.237 0 0 0 0 0 0 0], [0 0 0 0.699 0 0 0.938 0 0 0 0 0 0.246 0.288 0 0 0 0 0.413 0 0 0 0 0.413 0 0 0 0.082 0 0 0 0.209 0 0 0 0 0 0.841 0 0.441 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.557 0 0 0 0 0 0 0.797 0.19 0 0 0 0.82 0.135 0], [0 0 0 0 0.358 0 0 0 0.433 0 0 0.566 0 0.211 0 0.836 0 0 0 0 0 0 0 0.669 0.966 0 0 0.484 0 0 0 0 0 0 0 0.138 0 0.441 0.135 0.097 0], [0 0 0 0 0 0 0 0.207 0 0 0 0 0 0.398 0.856 0 0 0 0 0.475 0 0.387 0 0 0 0 0 0 0 0 0 0.416 0 0 0.269 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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40] trace | pi:
[21 21 2 3 4 5 6 7 8 9 10 21 12 21 21 15 16 17 18 19 21 21 22 21 21 25 21 27 21 21 30 21 21 21 34 35 36 37 38 39 21], [24 21 23 14 14 24 14 1 28 13 14 21 11 21 21 1 28 28 28 24 21 21 14 24 21 14 20 1 21 21 28 13 1 1 13 28 28 13 26 13 21], [24 21 23 14 14 17 4 1 25 13 22 21 30 21 21 1 34 31 28 24 21 21 14 24 21 14 20 1 21 21 28 13 1 1 13 26 27 27 39 13 21], [12 21 23 14 14 17 4 1 25 13 22 21 37 21 21 1 34 31 37 24 21 21 14 24 21 14 20 1 21 21 28 13 17 1 13 26 27 27 39 13 21] | [12 21 23 14 14 17 4 1 25 13 22 21 37 21 21 1 34 31 37 24 21 21 14 24 21 14 20 1 21 21 28 13 17 1 13 26 27 27 39 13 21]
bellman_ford
41
lcs_length: string: [0 0 0 0 1 1 1], key: [0 2 0 0 3 2 3], initial_trace: [[-1 -1 -1 -1 1 1 1], [-1 -1 -1 -1 1 0 0], [-1 -1 -1 -1 1 0 0], [-1 -1 -1 -1 1 0 0], [-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 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 0 2], [-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 -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 -1 1 1 1], [-1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1]]
lcs_length
7
binary_search: key: [0.017 0.08 0.109 0.339 0.381 0.63 0.655 0.68 0.807 0.837 0.946], target: 0.364, initial_trace: (0, 10) trace | (low, high):
(0, 5), (3, 5), (3, 4) | (4, 4)
binary_search
11
dfs: A: [[0 0 0 1 1 0 0 1 1 1 1 1 1 1 0 0 0 0 1 0 1 0], [1 0 1 1 1 0 1 0 0 1 1 1 1 0 1 1 0 0 1 1 0 0], [0 1 1 0 0 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 0 1], [1 0 0 1 1 0 0 1 1 1 0 1 0 0 1 0 0 1 0 1 0 0], [1 0 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 1], [1 1 0 0 0 0 0 1 0 1 0 1 1 0 0 0 0 1 1 1 1 0], [0 0 1 0 1 0 0 1 1 0 0 1 1 0 0 0 1 0 1 1 0 0], [1 0 1 0 1 1 1 0 0 1 0 1 0 1 0 1 0 0 1 1 0 0], [0 0 1 0 1 0 0 0 1 0 1 1 0 1 1 1 0 1 1 1 0 1], [1 1 1 1 1 0 1 0 0 1 1 0 0 1 0 1 0 1 0 1 1 0], [0 1 1 1 1 0 1 0 1 0 0 0 0 1 1 0 1 0 0 0 0 0], [0 1 0 1 0 0 1 1 1 0 0 0 1 0 0 0 1 0 1 0 0 1], [0 1 1 1 1 0 0 1 0 1 1 1 0 0 1 1 0 1 1 1 0 0], [1 0 1 1 1 0 1 1 1 1 1 0 0 1 0 0 0 1 0 1 0 1], [1 0 1 1 0 0 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 0], [1 1 1 0 1 1 1 0 1 0 0 0 0 0 0 0 1 0 1 1 1 1], [1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 0 0 1 1 0 1 0], [1 0 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 0 0 0 1 1], [1 1 1 0 0 1 0 1 0 0 0 1 1 0 0 0 1 0 1 1 1 1], [1 0 0 1 1 0 1 0 0 1 1 1 1 1 1 0 0 0 0 1 1 1], [0 1 0 1 0 1 0 0 1 1 1 1 1 0 0 0 0 0 0 1 0 1], [0 0 0 0 1 0 0 0 0 1 1 1 0 1 1 1 1 0 1 0 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 1 2 0 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 1 2 0 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 1 2 0 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 1 2 0 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 1 4 0 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 1 4 0 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 5 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 5 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 5 1 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 5 1 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 8 5 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 8 5 10 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 8 5 9 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 8 5 9 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 11 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 12 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 13 14 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 13 12 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 13 12 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 15 16 17 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 15 16 13 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 15 16 13 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 16 13 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 16 13 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 18 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 19 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 20 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 21], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20], [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20] | [0 2 4 0 3 7 1 6 10 5 9 8 11 14 12 17 15 13 16 18 19 20]
dfs
22
floyd_warshall: A: [[0.497 0 0 0], [0 0 0.712 0.354], [0 0.712 0.512 0], [0 0.354 0 0.095]], 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 1], [3 3 1 3]] | [[0 0 0 0], [1 1 1 1], [2 2 2 1], [3 3 1 3]]
floyd_warshall
4
find_maximum_subarray_kadane: key: [0.536 0.038 -0.407 -0.362 0.994 -0.889 0.62 -0.847 0.616 -0.325 0.867 -0.609 -0.205 -0.643 0.404 0.342 0.848 -0.447 -0.518 -0.297 0.185 -0.847 -0.859 0.39 0.249 0.292 0.846 0.35 0.633 0.878 0.65 0.064 -0.136 0.363 -0.672 -0.938 -0.744 -0.841 0.513 -0.337 -0.385 0.595 -0.337 -0.741 -0.395 -0.257 0.237 0.096 0.165 -0.609], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 1), (0, 1), (4, 4), (4, 4), (4, 4), (4, 4), (4, 4), (4, 4), (8, 10), (8, 10), (8, 10), (8, 10), (8, 10), (8, 10), (14, 16), (14, 16), (14, 16), (14, 16), (14, 16), (14, 16), (14, 16), (14, 16), (14, 16), (14, 16), (23, 26), (23, 27), (23, 28), (23, 29), (23, 30), (23, 31), (23, 31), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33), (23, 33) | (23, 33)
find_maximum_subarray_kadane
50
minimum: key: [0.044 0.472 0.014 0.057 0.159 0.764 0.492 0.984 0.198 0.239 0.715 0.079 0.47 0.087 0.153 0.239 0.33 0.802 0.546 0.71 0.393 0.894 0.126 0.453 0.76 0.566 0.101 0.389 0.204 0.679 0.222 0.476 0.304 0.773 0.921 0.03 0.316 0.589 0.528 0.035 0.653 0.889 0.425 0.406 0.776 0.322 0.237 0.512 0.73 0.108 0.256 0.111 0.945 0.824 0.547 0.579 0.275 0.006 0.047], initial_trace: 0 trace | min:
0, 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, 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, 57 | 57
minimum
59
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 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 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 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 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 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 1 0 0 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0 1 1 0 1 0 0 1 0 0 0 1 0 1 0 0], [0 1 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 0 1 0 1 0 0], [0 1 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 0 1 0 1 0 0] | [0 1 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 1 0 0 0 1 0 1 0 0]
articulation_points
26
find_maximum_subarray_kadane: key: [-0.394 0.338 0.183 0.12 0.166 -0.895 -0.036 0.852 0.22 0.271 -0.019 -0.637 0.849 0.586 0.583 0.239 -0.691 -0.818 -0.592], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 2), (1, 3), (1, 4), (1, 4), (1, 4), (7, 7), (7, 8), (7, 9), (7, 9), (7, 9), (7, 12), (7, 13), (7, 14), (7, 15), (7, 15), (7, 15) | (7, 15)
find_maximum_subarray_kadane
19
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 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1], key: [3 0 1 2 0 1 0 1 2 2 0 2 1 2 1 0 0 2 3 0 3 3 1 3 1 0 1 1 1 2 1 1 1 3 3 0 0 2 1 2 1 0 0 2 3 0], initial_trace: 0 trace | s:
1, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 11, 11, 11, 11, 11, 11, 11, 11 | 11
naive_string_matcher
46
graham_scan: x: [-1.58 -0.479 1.56 -1.23 -0.746 -1 -0.013 1.57 1.58 -0.747 -0.992 0.317 0.224 1.25 -1.97 -0.59 -1.54 -0.411 -0.254 -0.064 -1.75 -1.3 0.358 -0.2 -1.25 -0.629 -0.015 -0.109 -0.373 1.82 -0.873 0.901 1.39 -0.149], y: [-0.044 1.85 -0.619 -0.361 0.785 1.61 1.22 0.681 -0.723 -1.1 -0.276 0.307 0.185 1.27 -0.12 -1.28 0.323 0.356 -1.84 -0.221 -0.001 0.956 -1.49 -1.25 0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 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1], [0 1 0 0 0 1 0 1 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1] | [0 1 0 0 0 1 0 1 1 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1]
graham_scan
34
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [2 0 0 1 3 2 2 3 0 1 3 2 1 3 2], initial_trace: 0 trace | s:
1, 2, 3, 3 | 3
naive_string_matcher
15
binary_search: key: [0.001 0.028 0.03 0.067 0.072 0.075 0.101 0.125 0.129 0.131 0.15 0.164 0.186 0.209 0.211 0.223 0.225 0.237 0.25 0.257 0.312 0.32 0.335 0.343 0.343 0.345 0.349 0.368 0.389 0.394 0.413 0.423 0.429 0.433 0.491 0.497 0.514 0.516 0.604 0.616 0.618 0.659 0.674 0.708 0.714 0.72 0.72 0.728 0.784 0.799 0.88 0.894 0.894 0.908 0.921 0.927 0.963 0.975 0.983 0.994], target: 0.660, initial_trace: (0, 59) trace | (low, high):
(30, 59), (30, 44), (38, 44), (42, 44), (42, 43) | (42, 42)
binary_search
60
activity_selector: s: [0.504 0.29 0.441 0.265 0.049 0.021 0.252 0.065 0.497 0.623 0.074 0.123 0.013 0.127 0.51 0.59 0.403 0.386 0.721 0.705 0.096 0.057 0.787 0.725 0.213 0.31 0.749 0.097 0.028 0.008 0.063 0.035 0.132 0.526 0.23 0.73 0.359 0.41 0.293 0.386 0.041], f: [0.732 0.754 0.94 0.545 0.371 0.339 0.795 0.973 0.932 0.655 0.543 0.865 0.11 0.761 0.653 0.681 0.467 0.416 0.728 0.787 0.5 0.399 0.829 0.747 0.458 0.524 0.889 0.278 0.607 0.168 0.334 0.778 0.955 0.737 0.623 0.911 0.706 0.512 0.764 0.895 0.372], 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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 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1], [0 0 0 0 0 1 0 1 1 0 1 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 0 1 0 0 0 0 0 0 0 1 0 0 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 23 24 25 26 27 28 29] trace | pi:
[0 1 19 3 19 5 6 19 8 19 10 11 12 19 14 19 16 17 18 19 20 21 22 23 24 25 26 27 28 29], [0 4 19 4 19 15 7 19 2 19 4 2 9 19 2 19 4 17 7 19 4 13 22 7 7 4 4 9 7 29] | [12 4 19 4 19 15 7 19 2 19 4 2 9 19 2 19 4 3 7 19 4 13 1 7 7 4 4 9 7 5]
bfs
30
binary_search: key: [0.274 0.287 0.353 0.389 0.471 0.515 0.575 0.691 0.738 0.771 0.794 0.822 0.956], target: 0.960, initial_trace: (0, 12) trace | (low, high):
(7, 12), (10, 12) | (12, 12)
binary_search
13
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 1 1 0], [0 0 0 0 0 0]], initial_trace: [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]
articulation_points
6
minimum: key: [0.278 0.167 0.488 0.659 0.712 0.69 0.882 0.413 0.418 0.37 0.984 0.349 0.353 0.492 0.584 0.343 0.853 0.392 0.108 0.789 0.832 0.188 0.056 0.584 0.772 0.164 0.331 0.562 0.479], initial_trace: 0 trace | min:
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 18, 18, 18, 18, 22, 22, 22, 22, 22, 22 | 22
minimum
29
dijkstra: s: 6, A: [[0 0 0 0 0 0 0 0 0.18 0.246 0], [0 0.631 0.436 0 0 0.81 0 0 0.778 0 0], [0 0.436 0.89 0 0 0 0 0 0.369 0 0], [0 0 0 0.68 0 0.531 0 0 0.625 0.678 0], [0 0 0 0 0.556 0 0.873 0 0 0.77 0], [0 0.81 0 0.531 0 0 0 0 0 0 0], [0 0 0 0 0.873 0 0.382 0 0 0 0], [0 0 0 0 0 0 0 0.16 0 0 0], [0.18 0.778 0.369 0.625 0 0 0 0 0 0 0], [0.246 0 0 0.678 0.77 0 0 0 0 0.842 0.134], [0 0 0 0 0 0 0 0 0 0.134 0.212]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 1 2 3 6 5 6 7 8 9 10], [0 1 2 3 6 5 6 7 8 4 10], [9 1 2 9 6 5 6 7 8 4 9], [9 1 2 9 6 5 6 7 8 4 9], [9 1 2 9 6 5 6 7 0 4 9], [9 8 8 9 6 5 6 7 0 4 9], [9 8 8 9 6 3 6 7 0 4 9], [9 8 8 9 6 3 6 7 0 4 9], [9 8 8 9 6 3 6 7 0 4 9] | [9 8 8 9 6 3 6 7 0 4 9]
dijkstra
11
task_scheduling: d: [9 16 12 5 2 3 12 10 14 16 14 16 15 2 6 1], w: [0.804 0.302 0.139 0.368 0.994 0.111 0.849 0.174 0.374 0.613 0.381 0.061 0.79 0.251 0.103 0.727], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0], [1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0], [1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0], [1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0], [1 0 0 0 1 0 1 0 0 1 0 0 1 0 0 0], [1 0 0 0 1 0 1 0 0 1 1 0 1 0 0 0], [1 0 0 0 1 0 1 0 1 1 1 0 1 0 0 0], [1 0 0 0 1 0 1 0 1 1 1 0 1 0 0 0], [1 1 0 0 1 0 1 0 1 1 1 0 1 0 0 0], [1 1 0 0 1 0 1 0 1 1 1 0 1 0 0 0], [1 1 0 0 1 0 1 1 1 1 1 0 1 0 0 0], [1 1 1 0 1 0 1 1 1 1 1 0 1 0 0 0], [1 1 1 0 1 0 1 1 1 1 1 0 1 0 0 0], [1 1 1 0 1 0 1 1 1 1 1 0 1 0 0 0] | [1 1 1 0 1 0 1 1 1 1 1 1 1 0 0 0]
task_scheduling
16
quickselect: key: [0.348 0.01 0.053 0.838 0.872 0.878 0.008 0.665 0.708 0.857 0.781 0.807 0.827 0.331 0.612 0.696 0.963 0.281 0.17 0.065 0.935 0.338 0.787 0.956 0.493 0.151 0.833 0.566 0.815 0.957 0.589 0.812 0.919 0.054 0.983 0.129 0.51 0.41 0.133 0.865 0.532 0.673 0.149 0.989 0.743 0.499 0.717 0.502], initial_trace: 47 trace | pivot:
47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 15, 15, 15, 15, 15, 15, 15, 15, 15, 41, 41, 41, 41, 41, 41 | 41
quickselect
48
task_scheduling: d: [6 8 39 41 6 44 36 40 2 37 16 44 44 3 5 16 17 10 33 37 31 34 43 26 21 10 8 24 39 1 36 2 3 9 27 26 32 36 29 17 40 35 8 36], w: [0.719 0.652 0.304 0.481 0.451 0.573 0.765 0.296 0.318 0.661 0.102 0.167 0.48 0.246 0.438 0.197 0.404 0.087 0.742 0.436 0.949 0.163 0.098 0.171 0.035 0.505 0.278 0.741 0.896 0.924 0.034 0.947 0.093 0.81 0.242 0.271 0.215 0.433 0.82 0.749 0.794 0.537 0.696 0.113], 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] trace | selected:
[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 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 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 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 1 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 1 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0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0 0 1 1 1 1 1 1 0 0 0 1 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 1] | [0 0 1 1 0 1 1 1 0 1 0 1 1 0 0 0 0 0 1 1 1 1 1 1 0 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 0 1]
task_scheduling
44
quickselect: key: [0.482 0.876 0.898 0.394 0.246 0.888 0.649 0.297 0.584 0.209], initial_trace: 9 trace | pivot:
9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 8, 8, 8 | 8
quickselect
10
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 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1], key: [1 3 1 0 3 2 0 3 1 0 0 1 0 3 0 0 3 1 3 2 0 3 2 1 1 0 2 2 2 0 0 0 2 0 1 0 2 2 2 0 0 0], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 10, 11, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 21, 22, 23 | 24
kmp_matcher
42
quickselect: key: [0.81 0.262 0.329 0.657 0.768 0.519 0.297 0.319 0.997 0.056 0.81 0.077 0.808 0.338 0.934 0.195 0.398 0.178], initial_trace: 17 trace | pivot:
17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 16, 16, 16 | 16
quickselect
18
dijkstra: s: 23, A: [[0.962 0 0 0 0 0 0 0 0 0 0.571 0 0 0.247 0 0 0 0.617 0.731 0 0 0 0 0.216 0 0 0 0.626 0.51 0.458], [0 0.032 0 0 0 0 0 0 0 0.219 0.258 0 0 0.527 0 0 0.366 0 0 0 0.739 0 0 0.102 0 0.062 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.622 0 0 0.446 0 0 0 0 0 0 0.05 0 0 0 0.28 0.531 0 0 0], [0 0 0 0.779 0.355 0 0 0.4 0 0 0 0 0 0 0.246 0 0.242 0 0 0 0 0 0 0 0 0 0 0 0.568 0], [0 0 0 0.355 0.79 0 0 0 0.348 0 0 0 0 0.472 0 0.135 0 0 0 0.694 0 0 0 0.61 0 0.037 0 0 0 0], [0 0 0 0 0 0.033 0 0 0 0 0 0.435 0.485 0 0 0 0.508 0 0.85 0 0 0 0 0 0.086 0 0 0 0 0], [0 0 0 0 0 0 0.599 0 0 0 0 0 0 0 0 0 0 0.633 0 0 0 0.569 0 0.419 0.428 0 0.833 0.768 0 0], [0 0 0 0.4 0 0 0 0 0 0.398 0 0 0 0 0 0 0 0 0 0 0.303 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.348 0 0 0 0 0.321 0.072 0 0 0 0 0.447 0 0.432 0 0.452 0 0 0 0.574 0.257 0 0 0 0.783 0], [0 0.219 0 0 0 0 0 0.398 0.321 0.523 0 0 0.561 0.275 0 0.877 0.451 0.31 0.136 0 0 0 0.812 0 0.535 0 0 0 0 0], [0.571 0.258 0 0 0 0 0 0 0.072 0 0 0 0 0 0.878 0 0.66 0 0 0.635 0 0 0 0 0 0.745 0.144 0.159 0.58 0], [0 0 0.622 0 0 0.435 0 0 0 0 0 0.529 0 0 0.279 0 0.442 0 0.789 0 0 0 0 0 0.281 0 0 0 0 0.462], [0 0 0 0 0 0.485 0 0 0 0.561 0 0 0 0 0 0 0 0.838 0 0 0 0 0.78 0.304 0 0 0 0 0.283 0], [0.247 0.527 0 0 0.472 0 0 0 0 0.275 0 0 0 0 0 0 0.055 0 0 0.328 0 0 0 0 0 0 0 0 0 0], [0 0 0.446 0.246 0 0 0 0 0 0 0.878 0.279 0 0 0.226 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.135 0 0 0 0.447 0.877 0 0 0 0 0 0.455 0.862 0.631 0 0 0 0.108 0 0 0 0.5 0 0 0 0.276], [0 0.366 0 0.242 0 0.508 0 0 0 0.451 0.66 0.442 0 0.055 0 0.862 0 0.094 0 0 0.705 0 0 0 0 0.085 0 0 0 0], [0.617 0 0 0 0 0 0.633 0 0.432 0.31 0 0 0.838 0 0 0.631 0.094 0 0.772 0 0 0 0 0.195 0 0 0 0 0.673 0], [0.731 0 0 0 0 0.85 0 0 0 0.136 0 0.789 0 0 0 0 0 0.772 0.324 0.164 0 0 0 0 0 0 0 0 0 0.612], [0 0 0 0 0.694 0 0 0 0.452 0 0.635 0 0 0.328 0 0 0 0 0.164 0 0.115 0 0 0 0 0 0 0 0 0], [0 0.739 0 0 0 0 0 0.303 0 0 0 0 0 0 0 0 0.705 0 0 0.115 0 0 0 0.631 0 0 0 0.223 0 0.525], [0 0 0.05 0 0 0 0.569 0 0 0 0 0 0 0 0 0.108 0 0 0 0 0 0.737 0 0 0.354 0 0.564 0 0 0], [0 0 0 0 0 0 0 0 0 0.812 0 0 0.78 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.216 0.102 0 0 0.61 0 0.419 0 0.574 0 0 0 0.304 0 0 0 0 0.195 0 0 0.631 0 0 0 0 0 0 0.34 0 0.353], [0 0 0 0 0 0.086 0.428 0 0.257 0.535 0 0.281 0 0 0 0 0 0 0 0 0 0.354 0 0 0.164 0 0 0.576 0 0.058], [0 0.062 0.28 0 0.037 0 0 0 0 0 0.745 0 0 0 0 0.5 0.085 0 0 0 0 0 0 0 0 0.123 0 0.389 0 0], [0 0 0.531 0 0 0 0.833 0 0 0 0.144 0 0 0 0 0 0 0 0 0 0 0.564 0 0 0 0 0.959 0.403 0 0], [0.626 0 0 0 0 0 0.768 0 0 0 0.159 0 0 0 0 0 0 0 0 0 0.223 0 0 0.34 0.576 0.389 0.403 0 0 0], [0.51 0 0 0.568 0 0 0 0 0.783 0 0.58 0 0.283 0 0 0 0 0.673 0 0 0 0 0 0 0 0 0 0 0 0], [0.458 0 0 0 0 0 0 0 0 0 0 0.462 0 0 0 0.276 0 0 0.612 0 0.525 0 0 0.353 0.058 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 23 24 25 26 27 28 29] trace | pi:
[23 23 2 3 23 5 23 7 23 9 10 11 23 13 14 15 16 23 18 19 23 21 22 23 24 25 26 23 28 23], [23 23 2 3 23 5 23 7 23 1 1 11 23 1 14 15 1 23 18 19 23 21 22 23 24 1 26 23 28 23], [23 23 25 3 25 5 23 7 23 1 1 11 23 1 14 25 25 23 18 19 23 21 22 23 24 1 26 23 28 23], [23 23 25 3 25 5 23 7 23 1 1 11 23 1 14 25 25 23 17 19 23 21 22 23 24 1 26 23 17 23], [23 23 25 4 25 5 23 7 4 1 1 11 23 1 14 4 25 23 17 4 23 21 22 23 24 1 26 23 17 23], [23 23 25 4 25 5 23 7 4 1 1 11 23 0 14 4 25 23 0 4 23 21 22 23 24 1 26 23 0 23], [23 23 25 16 25 16 23 7 4 1 1 16 23 16 14 4 25 23 0 4 23 21 22 23 24 1 26 23 0 23], [23 23 25 16 25 16 23 7 4 1 1 16 23 16 14 4 25 23 0 13 23 21 22 23 24 1 26 23 0 23], [23 23 25 16 25 16 23 7 4 1 1 16 23 16 14 4 25 23 0 13 23 21 12 23 24 1 26 23 12 23], [23 23 25 16 25 16 23 9 4 1 1 16 23 16 14 4 25 23 9 13 23 21 12 23 9 1 26 23 12 23], [23 23 25 16 25 16 23 9 4 1 1 16 23 16 14 4 25 23 9 13 23 15 12 23 9 1 26 23 12 23], [23 23 25 16 25 16 23 9 4 1 1 16 23 16 14 4 25 23 9 13 27 15 12 23 9 1 27 23 12 23], [23 23 25 16 25 16 23 9 4 1 1 16 23 16 14 4 25 23 9 13 27 15 12 23 29 1 27 23 12 23], [23 23 25 16 25 16 23 9 10 1 1 16 23 16 10 4 25 23 9 13 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 10 4 25 23 9 13 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 10 4 25 23 9 13 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 10 4 25 23 9 13 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 10 4 25 23 9 13 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 2 4 25 23 9 13 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 2 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23], [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23] | [23 23 25 16 25 24 23 9 10 1 1 16 23 16 3 4 25 23 9 18 27 15 12 23 29 1 10 23 12 23]
dijkstra
30
dijkstra: s: 3, A: [[0 0 0 0 0 0 0 0.266 0 0 0 0 0 0.086 0 0.503 0 0 0 0.446 0 0 0], [0 0.73 0.137 0 0 0 0 0 0 0.719 0.581 0 0.298 0.137 0 0 0 0 0 0 0 0 0], [0 0.137 0.655 0.103 0.316 0 0 0.106 0 0 0 0 0 0.703 0 0.273 0 0 0 0 0 0 0], [0 0 0.103 0 0 0 0 0 0 0 0 0.714 0 0 0 0 0 0 0 0.765 0.511 0.568 0], [0 0 0.316 0 0 0.389 0 0 0.235 0 0.297 0.413 0 0 0 0.697 0 0.687 0 0 0 0 0], [0 0 0 0 0.389 0 0 0 0 0.492 0 0 0 0 0 0 0 0 0.505 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.659 0 0 0 0 0 0.722 0 0.557 0.669 0.242 0.322 0.545], [0.266 0 0.106 0 0 0 0 0.167 0.475 0.401 0 0 0 0 0 0.428 0.929 0 0 0 0 0 0], [0 0 0 0 0.235 0 0 0.475 0 0 0 0 0 0 0 0.273 0 0 0 0 0 0 0.282], [0 0.719 0 0 0 0.492 0 0.401 0 0 0 0 0.586 0 0.846 0 0 0 0 0.74 0 0.358 0], [0 0.581 0 0 0.297 0 0.659 0 0 0 0 0.388 0 0.527 0 0.501 0 0 0.7 0 0 0.647 0], [0 0 0 0.714 0.413 0 0 0 0 0 0.388 0.643 0 0.605 0.358 0 0 0 0 0.439 0 0 0.782], [0 0.298 0 0 0 0 0 0 0 0.586 0 0 0.764 0.661 0 0 0.14 0.707 0 0.19 0.212 0.376 0], [0.086 0.137 0.703 0 0 0 0 0 0 0 0.527 0.605 0.661 0.065 0 0 0.225 0 0 0 0 0 0.544], [0 0 0 0 0 0 0 0 0 0.846 0 0.358 0 0 0.182 0 0 0 0 0 0.148 0 0.447], [0.503 0 0.273 0 0.697 0 0 0.428 0.273 0 0.501 0 0 0 0 0.971 0 0 0 0.417 0 0 0.59], [0 0 0 0 0 0 0.722 0.929 0 0 0 0 0.14 0.225 0 0 0.409 0 0 0 0.221 0 0], [0 0 0 0 0.687 0 0 0 0 0 0 0 0.707 0 0 0 0 0.339 0.321 0 0 0 0], [0 0 0 0 0 0.505 0.557 0 0 0 0.7 0 0 0 0 0 0 0.321 0 0.338 0 0 0], [0.446 0 0 0.765 0 0 0.669 0 0 0.74 0 0.439 0.19 0 0 0.417 0 0 0.338 0.421 0 0.401 0], [0 0 0 0.511 0 0 0.242 0 0 0 0 0 0.212 0 0.148 0 0.221 0 0 0 0 0.245 0], [0 0 0 0.568 0 0 0.322 0 0 0.358 0.647 0 0.376 0 0 0 0 0 0 0.401 0.245 0.388 0], [0 0 0 0 0 0 0.545 0 0.282 0 0 0.782 0 0.544 0.447 0.59 0 0 0 0 0 0 0.617]], 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 3 3 4 5 6 7 8 9 10 3 12 13 14 15 16 17 18 3 3 3 22], [0 2 3 3 2 5 6 2 8 9 10 3 12 2 14 2 16 17 18 3 3 3 22], [7 2 3 3 2 5 6 2 7 7 10 3 12 2 14 2 7 17 18 3 3 3 22], [7 2 3 3 2 5 6 2 7 7 1 3 1 1 14 2 7 17 18 3 3 3 22], [7 2 3 3 2 5 6 2 15 7 1 3 1 1 14 2 7 17 18 3 3 3 15], [13 2 3 3 2 5 6 2 15 7 1 3 1 1 14 2 13 17 18 3 3 3 13], [13 2 3 3 2 4 6 2 15 7 4 3 1 1 14 2 13 4 18 3 3 3 13], [13 2 3 3 2 4 6 2 15 7 4 3 1 1 14 2 13 4 18 3 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 18 3 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 18 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 18 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 18 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 18 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 18 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 18 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 18 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 10 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 19 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 19 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 19 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 19 12 3 3 13], [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 19 12 3 3 13] | [13 2 3 3 2 4 20 2 15 7 4 3 1 1 20 2 13 4 19 12 3 3 13]
dijkstra
23
matrix_chain_order: p: [0.708 0.646 0.398 0.77 0.069 0.099 0.458 0.428 0.328 0.97], 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 6 6 0], [0 0 0 0 0 0 0 6 7 7], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 1 4 4 4 4 0], [0 0 0 2 2 4 4 4 4 5], [0 0 0 0 3 4 4 4 5 5], [0 0 0 0 0 4 4 4 5 5], [0 0 0 0 0 0 5 6 7 8], [0 0 0 0 0 0 0 6 7 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 1 4 4 4 4 4], [0 0 0 2 2 4 4 4 4 5], [0 0 0 0 3 4 4 4 4 5], [0 0 0 0 0 4 4 4 4 5], [0 0 0 0 0 0 5 6 7 8], [0 0 0 0 0 0 0 6 7 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]] | [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 1 4 4 4 4 4], [0 0 0 2 2 4 4 4 4 4], [0 0 0 0 3 4 4 4 4 4], [0 0 0 0 0 4 4 4 4 4], [0 0 0 0 0 0 5 6 7 8], [0 0 0 0 0 0 0 6 7 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]]
matrix_chain_order
10
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 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 1 1 1 1 1], key: [1 0 3 1 0 3 1 2 0 0 1 3 0 1 2 1 0 0 3 2 2 3 0 1 3 3 2 1 1 0 3 0 3 0 0 0 3 2 2 3 3 3 1 1 0 2 2 1 3 0 1 2 1 0 0 3 2 2], initial_trace: 0 trace | s:
0, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10 | 10
naive_string_matcher
58
bellman_ford: s: 13, A: [[0.658 0 0.377 0 0 0 0 0 0 0.755 0 0 0 0 0 0 0 0 0 0.71 0.068 0 0 0 0 0.382 0.188 0 0 0 0 0 0 0 0 0 0 0 0.559], [0 0 0.937 0 0 0 0 0 0 0 0 0.646 0.311 0 0.533 0.272 0 0.36 0.489 0 0 0 0 0.506 0 0 0 0 0.518 0 0 0 0 0.475 0 0 0 0 0], [0.377 0.937 0 0 0 0 0 0 0 0 0 0 0.094 0 0.264 0.124 0 0 0 0 0.489 0.882 0 0 0 0.206 0 0 0 0.236 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.802 0 0 0 0 0 0 0.898 0 0 0 0 0.143 0 0 0 0.322 0.444 0 0 0 0 0.314 0 0 0 0 0.393 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.682 0.581 0 0 0 0 0 0 0 0.81 0 0 0 0 0 0 0.684 0 0 0.192 0 0 0.652 0.221 0 0.146 0 0.413], [0 0 0 0 0 0 0 0 0 0.068 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.234 0 0 0.381 0 0 0 0 0 0 0 0 0.419 0.536 0.261], [0 0 0 0 0 0 0.839 0.614 0 0.635 0 0 0 0 0 0 0 0 0 0 0 0.404 0 0 0 0 0 0.594 0.243 0 0 0.739 0 0 0 0.978 0 0.295 0], [0 0 0 0 0 0 0.614 0.871 0.133 0 0 0 0.499 0.947 0 0 0.371 0 0 0.688 0.552 0 0 0.261 0 0 0.511 0 0 0 0 0 0 0.326 0.324 0.633 0 0 0.25], [0 0 0 0.802 0 0 0 0.133 0 0.128 0 0.314 0 0 0 0 0 0.121 0.618 0 0 0 0 0 0 0 0.642 0 0 0 0 0 0 0 0 0.8 0 0 0], [0.755 0 0 0 0 0.068 0.635 0 0.128 0 0.145 0.65 0 0.952 0.275 0 0 0.377 0 0.232 0 0 0 0 0.284 0 0 0 0 0 0 0.143 0 0 0 0.828 0 0 0.882], [0 0 0 0 0 0 0 0 0 0.145 0 0 0 0 0 0 0.896 0 0 0 0 0.437 0 0 0 0 0 0 0.207 0 0 0 0 0 0 0 0 0 0], [0 0.646 0 0 0.682 0 0 0 0.314 0.65 0 0 0 0.203 0 0 0 0 0 0 0 0 0 0 0 0.766 0 0 0 0 0.125 0 0.31 0.43 0.52 0.156 0 0 0], [0 0.311 0.094 0 0.581 0 0 0.499 0 0 0 0 0.484 0 0 0 0 0.671 0 0 0 0 0 0.454 0 0 0.089 0 0 0 0.056 0.407 0.297 0 0 0.343 0 0 0], [0 0 0 0 0 0 0 0.947 0 0.952 0 0.203 0 0.578 0.616 0 0 0 0.516 0 0 0 0.535 0 0 0 0 0.281 0 0.628 0 0 0 0 0 0 0 0 0], [0 0.533 0.264 0 0 0 0 0 0 0.275 0 0 0 0.616 0 0 0 0 0.2 0.491 0 0 0 0 0 0 0 0 0.771 0 0 0 0.117 0.395 0.703 0.593 0.204 0 0], [0 0.272 0.124 0.898 0 0 0 0 0 0 0 0 0 0 0 0.641 0 0 0 0 0 0 0 0 0 0.622 0 0 0 0 0.449 0 0 0 0.657 0 0.435 0 0.473], [0 0 0 0 0 0 0 0.371 0 0 0.896 0 0 0 0 0 0 0 0 0.358 0 0 0.472 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.853 0], [0 0.36 0 0 0 0 0 0 0.121 0.377 0 0 0.671 0 0 0 0 0.304 0 0 0.36 0.691 0.177 0.695 0 0 0 0 0.915 0 0 0 0 0 0 0 0 0 0], [0 0.489 0 0 0 0 0 0 0.618 0 0 0 0 0.516 0.2 0 0 0 0.087 0.685 0 0 0 0 0 0 0.691 0 0 0 0 0 0.424 0 0 0 0 0 0], [0.71 0 0 0 0 0 0 0.688 0 0.232 0 0 0 0 0.491 0 0.358 0 0.685 0.255 0 0 0 0.227 0 0.41 0 0 0 0 0.619 0 0 0 0 0 0 0 0.404], [0.068 0 0.489 0.143 0.81 0 0 0.552 0 0 0 0 0 0 0 0 0 0.36 0 0 0 0 0 0 0.634 0.534 0.265 0 0 0.604 0.152 0 0 0 0 0 0 0 0], [0 0 0.882 0 0 0 0.404 0 0 0 0.437 0 0 0 0 0 0 0.691 0 0 0 0.056 0 0 0.859 0 0 0 0 0.126 0.299 0 0 0 0 0.255 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.535 0 0 0.472 0.177 0 0 0 0 0 0.166 0 0.573 0 0 0 0 0 0 0 0 0 0 0 0.584 0], [0 0.506 0 0 0 0 0 0.261 0 0 0 0 0.454 0 0 0 0 0.695 0 0.227 0 0 0.166 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.322 0 0.234 0 0 0 0.284 0 0 0 0 0 0 0 0 0 0 0.634 0.859 0 0 0 0 0 0 0.728 0 0 0 0 0 0 0 0 0 0.292], [0.382 0 0.206 0.444 0 0 0 0 0 0 0 0.766 0 0 0 0.622 0 0 0 0.41 0.534 0 0.573 0 0 0 0 0 0.926 0.214 0 0 0 0.61 0 0.237 0.131 0 0], [0.188 0 0 0 0 0 0 0.511 0.642 0 0 0 0.089 0 0 0 0 0 0.691 0 0.265 0 0 0 0 0 0.23 0 0 0 0 0 0 0 0.331 0 0.74 0 0], [0 0 0 0 0.684 0.381 0.594 0 0 0 0 0 0 0.281 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.301 0 0.409 0.502 0.74 0 0 0 0.275 0], [0 0.518 0 0 0 0 0.243 0 0 0 0.207 0 0 0 0.771 0 0 0.915 0 0 0 0 0 0 0.728 0.926 0 0 0 0 0 0.647 0.222 0 0 0.197 0 0 0], [0 0 0.236 0 0 0 0 0 0 0 0 0 0 0.628 0 0 0 0 0 0 0.604 0.126 0 0 0 0.214 0 0.301 0 0 0 0 0 0 0 0 0.51 0.383 0], [0 0 0 0.314 0.192 0 0 0 0 0 0 0.125 0.056 0 0 0.449 0 0 0 0.619 0.152 0.299 0 0 0 0 0 0 0 0 0 0.457 0 0.465 0 0 0 0.653 0], [0 0 0 0 0 0 0.739 0 0 0.143 0 0 0.407 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.409 0.647 0 0.457 0 0.106 0.712 0 0.924 0.713 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.31 0.297 0 0.117 0 0 0 0.424 0 0 0 0 0 0 0 0 0.502 0.222 0 0 0.106 0.806 0 0 0 0.675 0 0], [0 0.475 0 0 0.652 0 0 0.326 0 0 0 0.43 0 0 0.395 0 0 0 0 0 0 0 0 0 0 0.61 0 0.74 0 0 0.465 0.712 0 0 0 0 0.37 0.389 0.378], [0 0 0 0 0.221 0 0 0.324 0 0 0 0.52 0 0 0.703 0.657 0 0 0 0 0 0 0 0 0 0 0.331 0 0 0 0 0 0 0 0 0 0 0.047 0], [0 0 0 0.393 0 0 0.978 0.633 0.8 0.828 0 0.156 0.343 0 0.593 0 0 0 0 0 0 0.255 0 0 0 0.237 0 0 0.197 0 0 0.924 0 0 0 0 0 0 0], [0 0 0 0 0.146 0.419 0 0 0 0 0 0 0 0 0.204 0.435 0 0 0 0 0 0 0 0 0 0.131 0.74 0 0 0.51 0 0.713 0.675 0.37 0 0 0 0 0], [0 0 0 0 0 0.536 0.295 0 0 0 0 0 0 0 0 0 0.853 0 0 0 0 0 0.584 0 0 0 0 0.275 0 0.383 0.653 0 0 0.389 0.047 0 0 0.287 0], [0.559 0 0 0 0.413 0.261 0 0.25 0 0.882 0 0 0 0 0 0.473 0 0 0 0.404 0 0 0 0 0.292 0 0 0 0 0 0 0 0 0.378 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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38] trace | pi:
[0 1 2 3 4 5 6 13 8 13 10 13 12 13 13 15 16 17 13 19 20 21 13 23 24 25 26 13 28 13 30 31 32 33 34 35 36 37 38], [9 11 29 3 11 27 27 13 11 11 9 13 7 13 13 15 22 22 13 14 29 29 13 22 9 29 18 13 14 27 11 27 11 11 11 11 14 27 7], [25 11 29 30 30 27 37 8 11 8 9 13 30 13 13 30 22 8 13 23 30 35 13 22 5 35 34 13 35 27 11 32 11 11 37 11 14 27 5], [20 12 12 20 30 27 28 8 11 8 28 13 30 13 13 30 22 8 13 9 30 35 13 22 5 35 12 13 35 27 11 32 11 11 37 11 4 27 7] | [20 12 12 20 30 27 28 8 11 8 28 13 30 13 13 2 22 8 13 9 30 35 13 22 5 35 12 13 35 27 11 32 11 11 37 11 4 27 7]
bellman_ford
39
bfs: s: 14, A: [[0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 1 0 0], [0 1 0 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0], [0 1 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0 1 1 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 1 0 0 1 0 0 1 0 0 1], [1 0 0 1 1 1 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 1 1 0 0 0 1 1 0 1 1 0 1 0 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0 0 0], [0 1 1 0 0 0 1 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 0 0 0 0 0], [1 0 0 0 0 0 1 1 0 0 0 1 0 0 1 0 0 1 0 1 0 1 1 0 0 0 1 0 1 0 0], [0 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 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0 1 1 0], [1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 1 0 0 0 0 0 1 0 1 0], [1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0], [0 0 0 1 1 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30] trace | pi:
[0 1 2 3 4 5 6 7 8 14 14 11 12 13 14 15 16 17 18 19 20 21 22 23 14 14 26 14 28 14 30], [9 10 24 25 24 5 9 9 24 14 14 9 12 25 14 15 16 9 10 9 20 9 9 29 14 14 9 14 9 14 10] | [9 10 24 25 24 0 9 9 24 14 14 9 3 25 14 3 0 9 10 9 0 9 9 29 14 14 9 14 9 14 10]
bfs
31
bfs: s: 46, A: [[0 0 0 1 0 0 1 0 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 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 1 0 1 0 1 0 0], [0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 0 0 1 1 0 0], [0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 1 1 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0], [1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 1 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 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 1 1 1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0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0], [0 0 0 0 1 1 0 0 1 0 0 0 1 0 0 0 0 1 0 1 0 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 1 0 0 0 0], [1 0 0 1 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 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 1], [0 1 1 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0], [1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 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 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 0 0 1 0], [0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55] trace | pi:
[46 46 2 3 4 5 46 7 8 9 46 46 46 13 14 15 16 46 46 46 46 21 22 23 24 25 26 27 28 29 30 31 32 33 46 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 46 55] | [46 46 10 0 10 10 46 17 0 1 46 46 46 1 1 0 10 46 46 46 46 17 6 12 10 34 10 12 0 11 0 0 10 19 46 6 1 6 0 6 0 1 18 12 1 10 46 11 6 0 12 0 1 0 46 6]
bfs
56
segments_intersect: x: [0.434 0.83 0.482 0.876], y: [0.898 0.394 0.246 0.888] intersect:
1
segments_intersect
15
segments_intersect: x: [0.344 0.708 0.534 0.461], y: [0.719 0.749 0.781 0.598] intersect:
1
segments_intersect
4
bellman_ford: s: 7, A: [[0.066 0 0 0 0 0 0.535 0 0 0 0], [0 0.706 0 0.308 0 0.25 0 0 0.493 0 0], [0 0 0 0 0 0 0 0 0 0.94 0.108], [0 0.308 0 0 0.22 0 0 0.169 0 0 0], [0 0 0 0.22 0.577 0 0 0 0.536 0 0.159], [0 0.25 0 0 0 0 0 0.821 0 0 0], [0.535 0 0 0 0 0 0 0 0 0 0], [0 0 0 0.169 0 0.821 0 0 0 0 0], [0 0.493 0 0 0.536 0 0 0 0 0 0.887], [0 0 0.94 0 0 0 0 0 0 0 0], [0 0 0.108 0 0.159 0 0 0 0.887 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 1 2 7 4 7 6 7 8 9 10], [0 3 2 7 3 7 6 7 8 9 10], [0 3 2 7 3 1 6 7 4 9 4], [0 3 10 7 3 1 6 7 4 9 4] | [0 3 10 7 3 1 6 7 4 2 4]
bellman_ford
11
segments_intersect: x: [0.553 0.097 0.3 0.231], y: [0.894 0.855 0.901 0.426] intersect:
1
segments_intersect
38
topological_sort: A: [[0 0 1 1 0 1 1 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0], [0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 0 0], [1 0 1 0 0 1 0 0 0 0 1 0 1 1 0 1 1], [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 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], [1 0 1 0 0 0 0 0 1 0 1 0 1 1 0 0 1], [1 1 1 1 0 1 0 0 0 0 0 1 1 1 0 1 1], [0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 1], [1 1 1 0 0 0 0 0 0 0 1 1 0 0 0 1 1], [0 0 1 1 0 1 0 0 0 0 0 1 1 0 0 0 1], [0 0 0 0 0 0 1 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], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16], 8, [0 1 2 3 4 5 8 7 8 9 10 11 12 13 14 15 16], 6, [0 1 2 3 4 5 8 7 8 9 10 11 12 13 14 15 16], 6, [0 1 2 3 4 5 8 6 8 9 10 11 12 13 14 15 16], 7, [0 1 2 3 4 5 8 6 8 9 10 11 12 13 14 15 16], 7, [0 1 2 3 4 5 8 6 8 9 10 11 12 13 14 15 16], 7, [0 1 2 3 4 7 8 6 8 9 10 11 12 13 14 15 16], 5, [0 1 2 3 4 7 8 6 8 9 10 11 12 13 14 15 16], 5, [0 1 2 3 4 7 8 6 8 9 10 11 12 13 14 15 5], 16, [0 1 2 3 4 7 8 6 8 9 10 11 16 13 14 15 5], 12, [0 1 12 3 4 7 8 6 8 9 10 11 16 13 14 15 5], 2, [0 1 12 3 4 7 8 6 8 9 10 11 16 13 14 15 5], 2, [0 1 12 3 4 7 8 6 8 9 10 11 16 13 14 15 5], 2, [0 1 12 3 4 7 8 6 8 9 10 11 16 2 14 15 5], 13, [0 1 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 3, [3 1 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 0, [3 1 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 0, [3 1 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 0, [3 0 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 1, [3 0 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 1, [3 0 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 1, [3 0 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 1, [3 0 12 13 4 7 8 6 8 9 10 11 16 2 14 15 5], 1, [3 0 12 13 4 7 8 6 8 9 10 1 16 2 14 15 5], 11, [3 0 12 13 4 7 8 6 8 9 10 1 16 2 14 15 5], 11, [3 0 12 13 4 7 8 6 8 9 10 1 16 2 14 11 5], 15, [3 0 12 13 4 7 8 6 8 9 15 1 16 2 14 11 5], 10, [3 0 12 13 10 7 8 6 8 9 15 1 16 2 14 11 5], 4, [3 0 12 13 10 7 8 6 8 9 15 1 16 2 14 11 5], 4, [3 0 12 13 10 7 8 6 8 9 15 1 16 2 14 11 5], 4, [3 0 12 13 10 7 8 6 8 4 15 1 16 2 14 11 5], 9, [3 0 12 13 10 7 8 6 8 4 15 1 16 2 14 11 5], 9, [3 0 12 13 10 7 8 6 8 4 15 1 16 2 14 11 5], 9 | [3 0 12 13 10 7 8 6 8 4 15 1 16 2 9 11 5], 14
topological_sort
17
bfs: s: 17, A: [[1 0 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 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 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 1 0 0 0 0 0 0 1 0 0 0 1 1 0 0 1 0 0 1 0 1 0 0 0 0 0], [1 0 0 1 0 1 1 0 0 1 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 0 0 0 1 1 0 1 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 1 1 1 0 0 1 0], [0 0 0 1 0 1 0 0 1 0 1 1 1 0 1 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46] trace | pi:
[0 1 2 17 17 5 6 7 17 9 10 11 12 13 14 15 16 17 18 19 17 21 22 23 24 17 26 17 17 29 30 31 32 33 17 35 17 37 38 17 40 41 42 17 44 45 46], [4 3 3 17 17 27 3 3 17 9 28 20 3 8 4 3 20 17 3 4 17 3 25 8 3 17 3 17 17 43 8 4 36 39 17 35 17 3 3 17 4 4 3 17 4 4 3] | [4 3 3 17 17 27 3 3 17 2 28 20 3 8 4 3 20 17 3 4 17 3 25 8 3 17 3 17 17 43 8 4 36 39 17 7 17 3 3 17 4 4 3 17 4 4 3]
bfs
47
find_maximum_subarray_kadane: key: [0.121 -0.897 0.607 -0.008 -0.787 0.56 0.532 0.723 -0.416 0.567 -0.296 0.405 0.292 0.021 0.32 -0.434 -0.292 -0.945 -0.822 -0.034 0.256 -0.712 -0.288 0.547 0.556 0.917 -0.907 0.545 -0.708 -0.333 0.452], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (2, 2), (2, 2), (2, 2), (2, 2), (5, 6), (5, 7), (5, 7), (5, 9), (5, 9), (5, 11), (5, 12), (5, 13), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14), (5, 14) | (5, 14)
find_maximum_subarray_kadane
31
segments_intersect: x: [0.48 0.57 0.5 0.49], y: [0.872 0.458 0.951 0.715] intersect:
1
segments_intersect
58
minimum: key: [0.622 0.565 0.441 0.577 0.49 0.182 0.437 0.772 0.907 0.453 0.751 0.654 0.189 0.689 0.637 0.354 0.239 0.738 0.186 0.636 0.873 0.26 0.968 0.763 0.221 0.029], initial_trace: 0 trace | min:
1, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 | 25
minimum
26
activity_selector: s: [0.748 0.737 0.244 0.274 0.562 0.136 0.027 0.314 0.862 0.582 0.353 0.041 0.155 0.023 0.347 0.519 0.159 0.274 0.563 0.145 0.77 0.472 0.004 0.002 0.386 0.053 0.247 0.57 0.36 0.421], f: [0.758 0.765 0.592 0.308 0.843 0.498 0.264 0.573 0.949 0.938 0.589 0.286 0.181 0.177 1 0.812 0.757 0.875 0.83 0.258 0.944 0.65 0.347 0.707 0.968 0.69 0.697 0.983 0.402 0.479], 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] trace | selected:
[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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 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 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 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 1 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 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1], [1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1], [1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1], [1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1] | [1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1]
activity_selector
30
dfs: A: [[1 0 1 0 0 0 1 1 0 1 1 1 1 0], [1 1 1 1 0 1 1 1 0 0 1 0 0 1], [1 1 0 1 1 0 0 0 0 0 1 0 0 1], [0 1 0 1 0 0 1 0 0 0 1 1 1 0], [0 1 0 0 0 1 1 0 1 1 0 1 0 1], [0 1 1 0 1 0 1 0 1 1 0 0 0 0], [0 1 1 1 1 0 0 1 0 0 1 0 1 1], [1 0 1 1 0 0 0 1 1 0 0 1 1 1], [0 0 0 0 1 0 1 0 0 0 0 1 0 1], [0 1 0 0 0 0 1 0 0 0 1 0 0 1], [0 1 0 0 0 1 1 0 1 0 1 1 1 0], [0 1 1 1 1 0 0 1 0 0 1 1 1 1], [0 1 0 0 0 1 1 0 0 0 1 1 1 0], [1 1 0 1 0 1 0 1 0 1 1 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 0 3 4 5 6 7 8 9 10 11 12 13], [0 1 0 3 4 5 6 7 8 9 10 11 12 13], [0 2 0 3 4 5 6 7 8 9 10 11 12 13], [0 2 0 3 4 5 6 7 8 9 10 11 12 13], [0 2 0 1 4 5 6 7 8 9 10 11 12 13], [0 2 0 1 4 5 6 7 8 9 10 11 12 13], [0 2 0 1 4 5 3 7 8 9 10 11 12 13], [0 2 0 1 4 5 3 7 8 9 10 11 12 13], [0 2 0 1 6 5 3 7 8 9 10 11 12 13], [0 2 0 1 6 5 3 7 8 9 10 11 12 13], [0 2 0 1 6 4 3 7 8 9 10 11 12 13], [0 2 0 1 6 4 3 7 8 9 10 11 12 13], [0 2 0 1 6 4 3 7 5 9 10 11 12 13], [0 2 0 1 6 4 3 7 5 9 10 11 12 13], [0 2 0 1 6 4 3 7 5 9 10 8 12 13], [0 2 0 1 6 4 3 7 5 9 10 8 12 13], [0 2 0 1 6 4 3 11 5 9 10 8 12 13], [0 2 0 1 6 4 3 11 5 9 10 8 12 13], [0 2 0 1 6 4 3 11 5 9 10 8 7 13], [0 2 0 1 6 4 3 11 5 9 10 8 7 13], [0 2 0 1 6 4 3 11 5 9 12 8 7 13], [0 2 0 1 6 4 3 11 5 9 12 8 7 13], [0 2 0 1 6 4 3 11 5 9 12 8 7 13], [0 2 0 1 6 4 3 11 5 9 12 8 7 13], [0 2 0 1 6 4 3 11 5 9 12 8 7 7], [0 2 0 1 6 4 3 11 5 9 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7], [0 2 0 1 6 4 3 11 5 13 12 8 7 7] | [0 2 0 1 6 4 3 11 5 13 12 8 7 7]
dfs
14
bfs: s: 6, A: [[1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0], [0 1 1 0 0 0 0 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 1 1 1], [1 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 0], [0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0], [0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 0 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33] trace | pi:
[0 1 2 3 4 5 6 7 8 9 6 6 6 13 6 15 6 17 18 6 20 21 22 23 24 25 26 6 28 6 6 31 32 33], [19 16 10 3 11 11 6 12 10 14 6 6 6 19 6 16 6 17 14 6 14 10 11 14 29 27 11 6 16 6 6 27 27 12] | [19 16 10 2 11 11 6 12 10 14 6 6 6 19 6 16 6 4 14 6 14 10 11 14 29 27 11 6 16 6 6 27 27 12]
bfs
34
insertion_sort: key: [0.307 0.798 0.331 0.129 0.302 0.372 0.619 0.548 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], initial_trace: [0.307 0.798 0.331 0.129 0.302 0.372 0.619 0.548 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415] trace | pred:
[0.307 0.798 0.331 0.129 0.302 0.372 0.619 0.548 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.307 0.331 0.798 0.129 0.302 0.372 0.619 0.548 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.307 0.331 0.798 0.302 0.372 0.619 0.548 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.302 0.307 0.331 0.798 0.372 0.619 0.548 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.302 0.307 0.331 0.372 0.798 0.619 0.548 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.302 0.307 0.331 0.372 0.619 0.798 0.548 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.302 0.307 0.331 0.372 0.548 0.619 0.798 0.583 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.302 0.307 0.331 0.372 0.548 0.583 0.619 0.798 0.195 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.372 0.548 0.583 0.619 0.798 0.404 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.372 0.404 0.548 0.583 0.619 0.798 0.75 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.372 0.404 0.548 0.583 0.619 0.75 0.798 0.359 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.359 0.372 0.404 0.548 0.583 0.619 0.75 0.798 0.407 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.359 0.372 0.404 0.407 0.548 0.583 0.619 0.75 0.798 0.47 0.601 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.359 0.372 0.404 0.407 0.47 0.548 0.583 0.619 0.75 0.798 0.601 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.359 0.372 0.404 0.407 0.47 0.548 0.583 0.601 0.619 0.75 0.798 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.359 0.372 0.404 0.407 0.47 0.548 0.583 0.601 0.619 0.75 0.798 0.89 0.408 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.359 0.372 0.404 0.407 0.408 0.47 0.548 0.583 0.601 0.619 0.75 0.798 0.89 0.682 0.415], [0.129 0.195 0.302 0.307 0.331 0.359 0.372 0.404 0.407 0.408 0.47 0.548 0.583 0.601 0.619 0.682 0.75 0.798 0.89 0.415] | [0.129 0.195 0.302 0.307 0.331 0.359 0.372 0.404 0.407 0.408 0.415 0.47 0.548 0.583 0.601 0.619 0.682 0.75 0.798 0.89]
insertion_sort
20
segments_intersect: x: [0.102 0.641 0.648 0.835], y: [0.926 0.672 0.899 0.086] intersect:
0
segments_intersect
11
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [2 2 1 3 0 3 2 1 1 3 1 3 2 2 2 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0 | 0
kmp_matcher
16
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1], key: [2 0 2 0 1 0 3 3 1 2 0 0 0 0 0 1 0 3 3 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4 | 5
kmp_matcher
20
minimum: key: [0.7 0.007 0.267 0.542 0.337 0.439 0.148 0.857 0.459 0.159 0.45 0.829 0.24 0.68 0.242 0.578 0.162], initial_trace: 0 trace | min:
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | 1
minimum
17
activity_selector: s: [0.324 0.268 0.476 0.657 0.11 0.405 0.245 0.173 0.006 0.259 0.252 0.453 0.539 0.381 0.53 0.014 0.313 0.556 0.375 0.711 0.057 0.256 0.26 0.007 0.193 0.78 0.286 0.077 0.928 0.644 0.157 0.112 0.231], f: [0.744 0.876 0.698 0.702 0.29 0.954 0.317 0.414 0.59 0.664 0.882 0.74 0.585 0.811 0.555 0.822 0.753 0.698 0.529 0.86 0.68 0.54 0.959 0.769 0.242 0.894 0.776 0.389 0.988 0.763 0.542 0.554 0.761], 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 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0 0 0 0 1 0 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0] | [0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0]
activity_selector
33
find_maximum_subarray_kadane: key: [-0.389 -0.889 -0.574 0.941 0.55 0.981 0.204 -0.93 -0.151 0.771 0.083 0.663 -0.97 -0.339 -0.146 -0.103 -0.469 0.48 0.575 0.667 -0.179 -0.827 0.092 0.677 -0.361 -0.874 -0.334 -0.47 -0.996 0.301 -0.96 0.619 0.86 0.61 0.528 0.392 0.617 0.105 0.185 -0.948 -0.07 0.956 -0.898 -0.222 0.809 0.041 0.806 0.119 -0.287 0.896 -0.252 0.711 0.403 0.96 0.184 0.495 -0.884], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (0, 0), (3, 3), (3, 4), (3, 5), (3, 6), (3, 6), (3, 6), (3, 6), (3, 6), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (3, 11), (31, 36), (31, 37), (31, 38), (31, 38), (31, 38), (31, 38), (31, 38), (31, 38), (31, 38), (31, 38), (31, 46), (31, 47), (31, 47), (31, 49), (31, 49), (31, 51), (31, 52), (31, 53), (31, 54), (31, 55) | (31, 55)
find_maximum_subarray_kadane
57
find_maximum_subarray_kadane: key: [-0.209 0.306 -0.218 0.299 0.296 -0.508 0.335 -0.299 -0.867 -0.197 0.581 0.768 -0.797 0.37 0.585 0.201 0.797 0.484 0.383 -0.194 0.258 -0.177 -0.485 0.786 0.114 0.586 -0.247 0.506 0.207 -0.746 0.537 -0.966 -0.504 -0.396 -0.722 -0.192 0.196 0.972 -0.176 -0.142 -0.64 0.475 0.987 0.096 -0.82 -0.484 0.404 -0.637 -0.88 -0.41 0.891 -0.892 -0.596 -0.484 0.663 -0.196 -0.24 0.344], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (1, 3), (1, 4), (1, 4), (1, 4), (1, 4), (1, 4), (1, 4), (1, 4), (10, 11), (10, 11), (10, 11), (10, 14), (10, 15), (10, 16), (10, 17), (10, 18), (10, 18), (10, 20), (10, 20), (10, 20), (10, 23), (10, 24), (10, 25), (10, 25), (10, 27), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28), (10, 28) | (10, 28)
find_maximum_subarray_kadane
58
insertion_sort: key: [0.68 0.053 0.073 0.935 0.729 0.749 0.009 0.853 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], initial_trace: [0.68 0.053 0.073 0.935 0.729 0.749 0.009 0.853 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742] trace | pred:
[0.053 0.68 0.073 0.935 0.729 0.749 0.009 0.853 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.053 0.073 0.68 0.935 0.729 0.749 0.009 0.853 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.053 0.073 0.68 0.935 0.729 0.749 0.009 0.853 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.053 0.073 0.68 0.729 0.935 0.749 0.009 0.853 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.053 0.073 0.68 0.729 0.749 0.935 0.009 0.853 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.68 0.729 0.749 0.935 0.853 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.68 0.729 0.749 0.853 0.935 0.648 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.648 0.68 0.729 0.749 0.853 0.935 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.648 0.68 0.729 0.749 0.853 0.935 0.959 0.711 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.648 0.68 0.711 0.729 0.749 0.853 0.935 0.959 0.909 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.648 0.68 0.711 0.729 0.749 0.853 0.909 0.935 0.959 0.359 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.648 0.68 0.711 0.729 0.749 0.853 0.909 0.935 0.959 0.768 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.648 0.68 0.711 0.729 0.749 0.768 0.853 0.909 0.935 0.959 0.763 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.909 0.935 0.959 0.638 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.909 0.935 0.959 0.493 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.493 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.909 0.935 0.959 0.596 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.493 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.909 0.935 0.959 0.896 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.493 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.896 0.909 0.935 0.959 0.558 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.493 0.558 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.896 0.909 0.935 0.959 0.405 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.405 0.493 0.558 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.896 0.909 0.935 0.959 0.484 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.405 0.484 0.493 0.558 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.896 0.909 0.935 0.959 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.405 0.484 0.493 0.558 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.896 0.909 0.935 0.959 0.961 0.564 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.896 0.909 0.935 0.959 0.961 0.39 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.853 0.896 0.909 0.935 0.959 0.961 0.847 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.053 0.073 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.847 0.853 0.896 0.909 0.935 0.959 0.961 0.025 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.025 0.053 0.073 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.847 0.853 0.896 0.909 0.935 0.959 0.961 0.943 0.882 0.987 0.316 0.68 0.742], [0.009 0.025 0.053 0.073 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.847 0.853 0.896 0.909 0.935 0.943 0.959 0.961 0.882 0.987 0.316 0.68 0.742], [0.009 0.025 0.053 0.073 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.847 0.853 0.882 0.896 0.909 0.935 0.943 0.959 0.961 0.987 0.316 0.68 0.742], [0.009 0.025 0.053 0.073 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.847 0.853 0.882 0.896 0.909 0.935 0.943 0.959 0.961 0.987 0.316 0.68 0.742], [0.009 0.025 0.053 0.073 0.316 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.711 0.729 0.749 0.763 0.768 0.847 0.853 0.882 0.896 0.909 0.935 0.943 0.959 0.961 0.987 0.68 0.742], [0.009 0.025 0.053 0.073 0.316 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.68 0.711 0.729 0.749 0.763 0.768 0.847 0.853 0.882 0.896 0.909 0.935 0.943 0.959 0.961 0.987 0.742] | [0.009 0.025 0.053 0.073 0.316 0.359 0.39 0.405 0.484 0.493 0.558 0.564 0.596 0.638 0.648 0.68 0.68 0.711 0.729 0.742 0.749 0.763 0.768 0.847 0.853 0.882 0.896 0.909 0.935 0.943 0.959 0.961 0.987]
insertion_sort
33
lcs_length: string: [0 0 0 0 1 1 1 1], key: [2 1 2 1 2 0 0 1], initial_trace: [[-1 -1 -1 -1 0 2 2 2], [-1 -1 -1 -1 1 0 0 0], [-1 -1 -1 -1 0 0 0 0], [-1 -1 -1 -1 1 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]] trace | b:
[[-1 -1 -1 -1 0 2 2 2], [-1 -1 -1 -1 1 1 1 0], [-1 -1 -1 -1 0 2 1 1], [-1 -1 -1 -1 1 2 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 0 2 2 2], [-1 -1 -1 -1 1 1 1 0], [-1 -1 -1 -1 0 1 1 1], [-1 -1 -1 -1 1 1 2 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 0 2 2 2], [-1 -1 -1 -1 1 1 1 0], [-1 -1 -1 -1 0 1 1 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]]
lcs_length
8
insertion_sort: key: [0.897 0.522 0.85 0.899 0.776 0.221 0.87 0.921 0.658 0.74 0.811 0.222 0.227], initial_trace: [0.897 0.522 0.85 0.899 0.776 0.221 0.87 0.921 0.658 0.74 0.811 0.222 0.227] trace | pred:
[0.522 0.897 0.85 0.899 0.776 0.221 0.87 0.921 0.658 0.74 0.811 0.222 0.227], [0.522 0.85 0.897 0.899 0.776 0.221 0.87 0.921 0.658 0.74 0.811 0.222 0.227], [0.522 0.85 0.897 0.899 0.776 0.221 0.87 0.921 0.658 0.74 0.811 0.222 0.227], [0.522 0.776 0.85 0.897 0.899 0.221 0.87 0.921 0.658 0.74 0.811 0.222 0.227], [0.221 0.522 0.776 0.85 0.897 0.899 0.87 0.921 0.658 0.74 0.811 0.222 0.227], [0.221 0.522 0.776 0.85 0.87 0.897 0.899 0.921 0.658 0.74 0.811 0.222 0.227], [0.221 0.522 0.776 0.85 0.87 0.897 0.899 0.921 0.658 0.74 0.811 0.222 0.227], [0.221 0.522 0.658 0.776 0.85 0.87 0.897 0.899 0.921 0.74 0.811 0.222 0.227], [0.221 0.522 0.658 0.74 0.776 0.85 0.87 0.897 0.899 0.921 0.811 0.222 0.227], [0.221 0.522 0.658 0.74 0.776 0.811 0.85 0.87 0.897 0.899 0.921 0.222 0.227], [0.221 0.222 0.522 0.658 0.74 0.776 0.811 0.85 0.87 0.897 0.899 0.921 0.227] | [0.221 0.222 0.227 0.522 0.658 0.74 0.776 0.811 0.85 0.87 0.897 0.899 0.921]
insertion_sort
13
dfs: A: [[1 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 1 1 0 0 1 0], [1 0 0 0 0 0 1 0 0 1 1 0 1 0 1 1 0 1 1 1 1 1 1 1 1 1 0 0], [1 0 1 1 0 0 1 0 1 1 0 1 0 0 0 0 0 1 1 1 0 0 0 1 0 0 0 1], [1 1 0 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 1 0 0 1 0 1 0 0 0 1], [0 1 1 0 1 0 1 0 0 0 0 0 1 1 0 1 0 0 0 0 1 1 0 1 1 1 0 1], [0 1 0 0 0 0 0 1 1 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 0 0], [1 1 0 1 1 1 0 1 1 0 0 0 1 1 1 1 0 1 1 0 0 0 0 1 1 0 0 1], [0 1 0 0 0 0 1 0 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 0 0 0], [1 1 0 0 1 1 0 1 0 0 0 0 1 1 0 1 1 1 0 0 0 0 1 1 1 1 0 0], [1 0 0 1 0 1 0 0 1 0 1 1 0 0 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1 1 0 0 0 1 0 1 0 1 0 0 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27] 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 23 24 25 26 27], [0 0 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], [0 0 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], [0 0 2 3 4 5 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 3 4 5 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 6 4 5 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 6 4 5 1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 6 4 5 1 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 6 4 5 1 3 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 6 4 5 1 3 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 6 4 5 1 3 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 6 8 5 1 3 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 2 6 8 5 1 3 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 5 1 3 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 5 1 3 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 5 1 3 7 2 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 5 1 3 7 2 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 18 19 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 18 17 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 18 17 20 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 18 17 19 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 18 17 19 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 20 17 19 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 20 17 19 21 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 20 17 19 18 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 16 15 20 17 19 18 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 22 23 24 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 22 23 16 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 22 23 16 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 22 24 16 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 22 24 16 25 26 27], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 22 24 16 25 26 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 22 24 16 25 26 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 25 26 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 25 26 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 26 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 26 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 26 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23], [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23] | [0 0 4 6 8 9 1 3 7 2 5 10 11 12 13 14 21 15 20 17 19 18 27 24 16 22 22 23]
dfs
28
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1], key: [2 0 2 0 3 0 3 2 2 1 1 1 2 2 0 0 0 2 3 3 2 0 2 0 2 2 0 2 0 3 1 2 1 3 1 0 0 3 3 1 1 3 0 2 0 0 0 2 3 3 2 0 2], initial_trace: 0 trace | s:
0, 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, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12 | 13
kmp_matcher
53
segments_intersect: x: [0.102 0.641 0.648 0.835], y: [0.926 0.672 0.899 0.086] intersect:
0
segments_intersect
63
mst_prim: s: 9, A: [[0.107 0 0 0 0 0.045 0.829 0 0 0.635 0 0 0], [0 0 0 0 0.133 0.445 0 0 0.428 0 0.105 0.823 0], [0 0 0 0.219 0 0 0 0 0 0 0.461 0 0], [0 0 0.219 0 0 0 0 0 0.19 0 0 0.146 0], [0 0.133 0 0 0.879 0 0 0 0 0.553 0.702 0 0], [0.045 0.445 0 0 0 0.537 0 0 0 0 0.875 0 0], [0.829 0 0 0 0 0 0 0 0 0 0 0.213 0], [0 0 0 0 0 0 0 0.628 0 0 0 0 0], [0 0.428 0 0.19 0 0 0 0 0 0 0 0 0.175], [0.635 0 0 0 0.553 0 0 0 0 0 0 0 0], [0 0.105 0.461 0 0.702 0.875 0 0 0 0 0.243 0 0], [0 0.823 0 0.146 0 0 0.213 0 0 0 0 0.642 0], [0 0 0 0 0 0 0 0 0.175 0 0 0 0.173]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12] trace | pi:
[9 1 2 3 9 5 6 7 8 9 10 11 12], [9 4 2 3 9 5 6 7 8 9 4 11 12], [9 4 2 3 9 1 6 7 1 9 1 1 12], [9 4 10 3 9 1 6 7 1 9 1 1 12], [9 4 10 8 9 1 6 7 1 9 1 1 8], [9 4 10 8 9 1 6 7 1 9 1 1 8], [9 4 3 8 9 1 6 7 1 9 1 3 8], [9 4 3 8 9 1 11 7 1 9 1 3 8], [9 4 3 8 9 1 11 7 1 9 1 3 8], [9 4 3 8 9 1 11 7 1 9 1 3 8], [5 4 3 8 9 1 11 7 1 9 1 3 8] | [5 4 3 8 9 1 11 7 1 9 1 3 8]
mst_prim
13
heapsort: key: [0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051], initial_trace: [0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051] trace | pred:
[0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051], [0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051], [0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051], [0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051], [0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051], [0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051], [0.015 0.262 0.384 0.581 0.575 0.261 0.912 0.024 0.696 0.783 0.898 0.051], [0.015 0.262 0.384 0.581 0.898 0.261 0.912 0.024 0.696 0.783 0.575 0.051], [0.015 0.262 0.384 0.581 0.898 0.261 0.912 0.024 0.696 0.783 0.575 0.051], [0.015 0.262 0.384 0.696 0.898 0.261 0.912 0.024 0.581 0.783 0.575 0.051], [0.015 0.262 0.384 0.696 0.898 0.261 0.912 0.024 0.581 0.783 0.575 0.051], [0.015 0.262 0.912 0.696 0.898 0.261 0.384 0.024 0.581 0.783 0.575 0.051], [0.015 0.262 0.912 0.696 0.898 0.261 0.384 0.024 0.581 0.783 0.575 0.051], [0.015 0.898 0.912 0.696 0.262 0.261 0.384 0.024 0.581 0.783 0.575 0.051], [0.015 0.898 0.912 0.696 0.783 0.261 0.384 0.024 0.581 0.262 0.575 0.051], [0.015 0.898 0.912 0.696 0.783 0.261 0.384 0.024 0.581 0.262 0.575 0.051], [0.912 0.898 0.015 0.696 0.783 0.261 0.384 0.024 0.581 0.262 0.575 0.051], [0.912 0.898 0.384 0.696 0.783 0.261 0.015 0.024 0.581 0.262 0.575 0.051], [0.912 0.898 0.384 0.696 0.783 0.261 0.015 0.024 0.581 0.262 0.575 0.051], [0.051 0.898 0.384 0.696 0.783 0.261 0.015 0.024 0.581 0.262 0.575 0.912], [0.898 0.051 0.384 0.696 0.783 0.261 0.015 0.024 0.581 0.262 0.575 0.912], [0.898 0.783 0.384 0.696 0.051 0.261 0.015 0.024 0.581 0.262 0.575 0.912], [0.898 0.783 0.384 0.696 0.575 0.261 0.015 0.024 0.581 0.262 0.051 0.912], [0.898 0.783 0.384 0.696 0.575 0.261 0.015 0.024 0.581 0.262 0.051 0.912], [0.051 0.783 0.384 0.696 0.575 0.261 0.015 0.024 0.581 0.262 0.898 0.912], [0.783 0.051 0.384 0.696 0.575 0.261 0.015 0.024 0.581 0.262 0.898 0.912], [0.783 0.696 0.384 0.051 0.575 0.261 0.015 0.024 0.581 0.262 0.898 0.912], [0.783 0.696 0.384 0.581 0.575 0.261 0.015 0.024 0.051 0.262 0.898 0.912], [0.783 0.696 0.384 0.581 0.575 0.261 0.015 0.024 0.051 0.262 0.898 0.912], [0.262 0.696 0.384 0.581 0.575 0.261 0.015 0.024 0.051 0.783 0.898 0.912], [0.696 0.262 0.384 0.581 0.575 0.261 0.015 0.024 0.051 0.783 0.898 0.912], [0.696 0.581 0.384 0.262 0.575 0.261 0.015 0.024 0.051 0.783 0.898 0.912], [0.696 0.581 0.384 0.262 0.575 0.261 0.015 0.024 0.051 0.783 0.898 0.912], [0.051 0.581 0.384 0.262 0.575 0.261 0.015 0.024 0.696 0.783 0.898 0.912], [0.581 0.051 0.384 0.262 0.575 0.261 0.015 0.024 0.696 0.783 0.898 0.912], [0.581 0.575 0.384 0.262 0.051 0.261 0.015 0.024 0.696 0.783 0.898 0.912], [0.581 0.575 0.384 0.262 0.051 0.261 0.015 0.024 0.696 0.783 0.898 0.912], [0.024 0.575 0.384 0.262 0.051 0.261 0.015 0.581 0.696 0.783 0.898 0.912], [0.575 0.024 0.384 0.262 0.051 0.261 0.015 0.581 0.696 0.783 0.898 0.912], [0.575 0.262 0.384 0.024 0.051 0.261 0.015 0.581 0.696 0.783 0.898 0.912], [0.575 0.262 0.384 0.024 0.051 0.261 0.015 0.581 0.696 0.783 0.898 0.912], [0.015 0.262 0.384 0.024 0.051 0.261 0.575 0.581 0.696 0.783 0.898 0.912], [0.384 0.262 0.015 0.024 0.051 0.261 0.575 0.581 0.696 0.783 0.898 0.912], [0.384 0.262 0.261 0.024 0.051 0.015 0.575 0.581 0.696 0.783 0.898 0.912], [0.384 0.262 0.261 0.024 0.051 0.015 0.575 0.581 0.696 0.783 0.898 0.912], [0.015 0.262 0.261 0.024 0.051 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.262 0.015 0.261 0.024 0.051 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.262 0.051 0.261 0.024 0.015 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.262 0.051 0.261 0.024 0.015 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.015 0.051 0.261 0.024 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.261 0.051 0.015 0.024 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.261 0.051 0.015 0.024 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.024 0.051 0.015 0.261 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.051 0.024 0.015 0.261 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.051 0.024 0.015 0.261 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.015 0.024 0.051 0.261 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.024 0.015 0.051 0.261 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.024 0.015 0.051 0.261 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912], [0.015 0.024 0.051 0.261 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912] | [0.015 0.024 0.051 0.261 0.262 0.384 0.575 0.581 0.696 0.783 0.898 0.912]
heapsort
12
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1], key: [2 3 3 3 3 0 3 0 0 0 1 2 3 2 2 3 1 2 3 2 0 0 0 3 1 2 1 3 0 0 1 3 0 3 2 0 2 1 2 1 0 1 3 0 3 2 0 2 1 2], initial_trace: 0 trace | s:
1, 2, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 24, 25, 26, 27, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29 | 29
naive_string_matcher
50
find_maximum_subarray_kadane: key: [-0.66 -0.563 0.187 0.254 0.233 0.59 0.742 -0.405 -0.39 0.37 0.642 -0.355 -0.514 -0.522 -0.94 0.769 -0.311 -0.577 0.689 0.962 0.041 0.843 -0.294 -0.402 0.081 0.154 -0.23 -0.653 0.237 -0.542 -0.002 -0.701 0.914 0.093 0.37 -0.851 0.785 0.995 -0.946 0.122 0.765 -0.084 -0.682 -0.839 -0.235 -0.346 -0.222 -0.87 0.342 0.096 0.275 0.302 0.596 0.537 -0.824 0.752 -0.605 -0.595], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), (2, 6), (2, 6), (2, 6), (2, 10), (2, 10), (2, 10), (2, 10), (2, 10), (2, 10), (2, 10), (2, 10), (2, 10), (2, 10), (2, 10), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21), (18, 21) | (18, 21)
find_maximum_subarray_kadane
58
mst_kruskal: A: [[0 0 0 0 0 0], [0 0.732 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0.434 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0.595]], initial_trace: [[0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0]] trace | 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]]
mst_kruskal
6
segments_intersect: x: [0.649 0.23 0.369 0.242], y: [0.389 0.804 0.166 0.99] intersect:
1
segments_intersect
40
activity_selector: s: [0.142 0.413 0.439 0.795 0.334 0.297 0.347 0.248 0.276 0.348 0.76 0.51 0.014 0.424 0.091 0.405 0.627 0.14 0.157 0.296 0.459 0.212 0.342 0.665 0.422 0.224 0.033], f: [0.453 0.993 0.951 0.832 0.476 0.831 0.756 0.871 0.42 0.858 0.917 0.594 0.342 0.513 0.246 0.786 0.812 0.257 0.453 0.364 0.787 0.828 0.343 0.899 0.705 0.673 0.091], 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] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 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 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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 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 1 0 0 0 1]
activity_selector
27
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 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]], initial_trace: [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]
articulation_points
8
find_maximum_subarray_kadane: key: [-0.795 0.07 -0.923 -0.206 -0.339 0.21 0.086 -0.224 0.067 -0.863 -0.073 -0.977], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (1, 1), (1, 1), (5, 5), (5, 6), (5, 6), (5, 6), (5, 6), (5, 6) | (5, 6)
find_maximum_subarray_kadane
12
dfs: A: [[0 1 0 0 1 0 1 0 1 1 1 1 1 0 0 1 0 1 1 1], [1 1 0 1 0 1 1 1 1 0 0 0 0 0 1 1 1 0 1 0], [0 0 1 1 1 0 0 0 1 1 0 1 0 1 1 0 1 1 1 1], [0 0 0 1 0 1 1 0 1 0 1 1 1 0 1 0 1 1 1 0], [0 0 1 0 1 0 1 1 0 0 0 0 1 1 1 0 0 0 0 1], [1 0 0 0 0 1 0 0 0 0 1 1 0 1 0 1 1 0 1 0], [1 0 0 1 0 1 0 1 1 1 0 1 1 0 1 0 0 0 0 0], [1 0 0 0 1 0 1 0 0 0 1 1 1 0 1 1 0 0 1 0], [0 1 1 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1], [0 1 1 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 1 1 1 0 1 1 1 1 0 1 0 0 1], [0 1 0 1 1 0 0 0 1 0 1 1 0 1 1 0 0 0 0 1], [0 0 1 1 0 0 1 1 0 1 0 0 0 0 1 0 0 1 0 0], [0 0 0 0 1 1 0 1 1 0 0 1 0 1 0 0 0 1 1 1], [1 1 1 0 0 1 1 1 0 0 1 1 1 1 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 1 0 1 0 1], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 1 1 0 1 1 1], [0 0 1 0 0 0 0 1 1 0 1 1 1 1 1 1 0 1 0 0], [1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 1 0], [1 0 0 1 1 1 1 1 0 0 0 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] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 1 4 3 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 1 4 3 6 7 8 9 10 11 12 13 14 15 16 17 18 19], [0 0 2 1 4 3 6 7 8 9 5 11 12 13 14 15 16 17 18 19], [0 0 2 1 4 3 6 7 8 9 5 11 12 13 14 15 16 17 18 19], [0 0 2 1 4 3 6 10 8 9 5 11 12 13 14 15 16 17 18 19], [0 0 2 1 4 3 6 10 8 9 5 11 12 13 14 15 16 17 18 19], [0 0 2 1 7 3 6 10 8 9 5 11 12 13 14 15 16 17 18 19], [0 0 2 1 7 3 6 10 8 9 5 11 12 13 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 8 9 5 11 12 13 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 8 9 5 11 12 13 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 2 9 5 11 12 13 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 2 9 5 11 12 13 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 2 9 5 11 12 8 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 2 9 5 11 12 8 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 2 9 5 13 12 8 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 2 9 5 13 12 8 14 15 16 17 18 19], [0 0 4 1 7 3 6 10 2 9 5 13 12 8 11 15 16 17 18 19], [0 0 4 1 7 3 6 10 2 9 5 13 12 8 11 15 16 17 18 19], [0 0 4 1 7 3 14 10 2 9 5 13 12 8 11 15 16 17 18 19], [0 0 4 1 7 3 14 10 2 9 5 13 12 8 11 15 16 17 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 12 8 11 15 16 17 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 12 8 11 15 16 17 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 15 16 17 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 15 16 17 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 15 16 12 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 15 16 12 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 19], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 18 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 16 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15], [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15] | [0 0 4 1 7 3 14 10 2 6 5 13 9 8 11 17 18 12 13 15]
dfs
20
dijkstra: s: 11, A: [[0 0.794 0 0 0.108 0 0 0 0 0.746 0 0.37 0 0 0 0.121 0 0 0 0], [0.794 0 0 0 0 0 0 0 0 0 0 0 0.474 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.385 0 0 0 0.741 0 0 0.354 0.466 0], [0 0 0 0 0 0 0 0 0 0 0.723 0 0 0 0 0 0 0 0 0], [0.108 0 0 0 0 0 0 0.403 0 0.132 0 0 0 0 0 0 0.731 0 0 0], [0 0 0 0 0 0 0 0 0 0.602 0 0 0.237 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.685 0.432 0.541 0.499 0.31 0 0 0.088 0 0 0 0], [0 0 0 0 0.403 0 0 0.734 0 0.081 0.771 0 0 0 0.52 0 0.376 0.533 0 0], [0 0 0 0 0 0 0.685 0 0 0.564 0 0 0 0 0 0 0 0 0 0], [0.746 0 0 0 0.132 0.602 0.432 0.081 0.564 0 0 0 0 0 0 0 0 0 0.526 0], [0 0 0.385 0.723 0 0 0.541 0.771 0 0 0.764 0 0 0 0 0 0.835 0.391 0 0], [0.37 0 0 0 0 0 0.499 0 0 0 0 0.767 0 0.275 0 0 0 0 0 0.037], [0 0.474 0 0 0 0.237 0.31 0 0 0 0 0 0 0.477 0.255 0 0.539 0 0.883 0.283], [0 0 0 0 0 0 0 0 0 0 0 0.275 0.477 0.107 0 0 0.886 0 0 0], [0 0 0.741 0 0 0 0 0.52 0 0 0 0 0.255 0 0.53 0 0 0 0.248 0], [0.121 0 0 0 0 0 0.088 0 0 0 0 0 0 0 0 0.576 0.603 0 0.596 0.43], [0 0 0 0 0.731 0 0 0.376 0 0 0.835 0 0.539 0.886 0 0.603 0 0 0 0], [0 0 0.354 0 0 0 0 0.533 0 0 0.391 0 0 0 0 0 0 0 0.802 0], [0 0 0.466 0 0 0 0 0 0 0.526 0 0 0.883 0 0.248 0.596 0 0.802 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.037 0.283 0 0 0.43 0 0 0 0.081]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19] trace | pi:
[11 1 2 3 4 5 11 7 8 9 10 11 12 11 14 15 16 17 18 11], [11 1 2 3 4 5 11 7 8 9 10 11 19 11 14 19 16 17 18 11], [11 1 2 3 4 5 11 7 8 9 10 11 19 11 14 19 13 17 18 11], [11 12 2 3 4 12 11 7 8 9 10 11 19 11 12 19 12 17 12 11], [11 12 2 3 0 12 11 7 8 0 10 11 19 11 12 19 12 17 12 11], [11 12 2 3 0 12 11 7 8 0 10 11 19 11 12 19 12 17 15 11], [11 12 2 3 0 12 11 4 8 4 10 11 19 11 12 19 12 17 15 11], [11 12 2 3 0 12 11 4 6 4 6 11 19 11 12 19 12 17 15 11], [11 12 2 3 0 12 11 4 6 4 6 11 19 11 12 19 12 17 15 11], [11 12 14 3 0 12 11 4 6 4 6 11 19 11 12 19 12 17 14 11], [11 12 14 3 0 12 11 9 9 4 6 11 19 11 12 19 12 17 14 11], [11 12 14 3 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11], [11 12 14 3 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11], [11 12 18 3 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11], [11 12 18 3 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11], [11 12 18 10 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11], [11 12 18 10 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11], [11 12 18 10 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11], [11 12 18 10 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11] | [11 12 18 10 0 12 11 9 9 4 6 11 19 11 12 19 12 7 14 11]
dijkstra
20
dijkstra: s: 6, A: [[0 0.057 0 0 0.271 0 0 0.722 0 0.162 0 0 0 0 0.068], [0.057 0.11 0 0 0 0.267 0.355 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.333], [0 0 0 0 0 0 0 0.064 0.394 0 0 0 0 0 0.605], [0.271 0 0 0 0 0 0 0 0 0.292 0.398 0.778 0.582 0 0], [0 0.267 0 0 0 0 0 0 0.337 0.498 0 0 0.037 0 0], [0 0.355 0 0 0 0 0 0 0 0 0 0.505 0 0 0], [0.722 0 0 0.064 0 0 0 0 0 0 0 0.452 0.866 0 0], [0 0 0 0.394 0 0.337 0 0 0.907 0 0 0 0 0 0], [0.162 0 0 0 0.292 0.498 0 0 0 0.966 0 0 0 0 0], [0 0 0 0 0.398 0 0 0 0 0 0 0.815 0 0.211 0.168], [0 0 0 0 0.778 0 0.505 0.452 0 0 0.815 0 0.378 0 0], [0 0 0 0 0.582 0.037 0 0.866 0 0 0 0.378 0 0.28 0], [0 0 0 0 0 0 0 0 0 0 0.211 0 0.28 0.719 0], [0.068 0 0.333 0.605 0 0 0 0 0 0 0.168 0 0 0 0.168]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[0 6 2 3 4 5 6 7 8 9 10 6 12 13 14], [1 6 2 3 4 1 6 7 8 9 10 6 12 13 14], [1 6 2 3 0 1 6 0 8 0 10 6 12 13 0], [1 6 14 14 0 1 6 0 8 0 14 6 12 13 0], [1 6 14 14 0 1 6 11 8 0 14 6 11 13 0], [1 6 14 14 0 1 6 11 8 0 14 6 11 13 0], [1 6 14 14 0 1 6 11 5 0 14 6 5 13 0], [1 6 14 14 0 1 6 11 5 0 14 6 5 10 0], [1 6 14 14 0 1 6 11 5 0 14 6 5 10 0], [1 6 14 14 0 1 6 11 5 0 14 6 5 10 0], [1 6 14 14 0 1 6 11 5 0 14 6 5 10 0], [1 6 14 14 0 1 6 11 5 0 14 6 5 10 0], [1 6 14 7 0 1 6 11 5 0 14 6 5 10 0], [1 6 14 7 0 1 6 11 5 0 14 6 5 10 0] | [1 6 14 7 0 1 6 11 5 0 14 6 5 10 0]
dijkstra
15
activity_selector: s: [0.483 0.5 0.154 0.56 0.356 0.646 0.374 0.77 0.069 0.099 0.458 0.428 0.058 0.687 0.023 0.242 0.629 0.264 0.278 0.645 0.271 0.095 0.156 0.612 0.012 0.192 0.036 0.015 0.159 0.15 0.015 0.262 0.384 0.545], f: [0.905 0.52 0.903 0.656 0.708 0.948 0.398 0.856 0.702 0.98 0.592 0.747 0.328 0.97 0.753 0.455 0.753 0.275 0.718 0.753 0.981 0.602 0.546 0.633 0.733 0.401 0.637 0.573 0.381 0.574 0.369 0.617 0.946 0.581], 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] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 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 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 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 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 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 1], [0 1 0 0 0 0 1 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 1], [0 1 0 0 0 0 1 1 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 1], [0 1 0 0 0 0 1 1 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 1], [0 1 0 0 0 0 1 1 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 1], [0 1 0 0 0 0 1 1 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 1], [0 1 0 0 0 0 1 1 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 1], [0 1 0 0 0 0 1 1 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 1], [0 1 0 0 0 0 1 1 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 1] | [0 1 0 0 0 0 1 1 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 1]
activity_selector
34
quickselect: key: [0.302 0.139 0.404 0.598 0.986 0.412 0.429 0.18 0.738 0.993 0.548 0.09 0.258 0.702 0.182], initial_trace: 14 trace | pivot:
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 12, 12, 12, 12, 12, 12, 5, 5, 5, 5 | 5
quickselect
15
quicksort: key: [0.593 0.077 0.07 0.695 0.625 0.646 0.923 0.675 0.816 0.939 0.825 0.532 0.432 0.681], initial_trace: [0.593 0.077 0.07 0.695 0.625 0.646 0.923 0.675 0.816 0.939 0.825 0.532 0.432 0.681] trace | pred:
[0.593 0.077 0.07 0.695 0.625 0.646 0.923 0.675 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.695 0.625 0.646 0.923 0.675 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.695 0.625 0.646 0.923 0.675 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.625 0.695 0.646 0.923 0.675 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.625 0.646 0.695 0.923 0.675 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.625 0.646 0.695 0.923 0.675 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.625 0.646 0.675 0.923 0.695 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.625 0.646 0.675 0.923 0.695 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.625 0.646 0.675 0.923 0.695 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.625 0.646 0.675 0.923 0.695 0.816 0.939 0.825 0.532 0.432 0.681], [0.593 0.077 0.07 0.625 0.646 0.675 0.532 0.695 0.816 0.939 0.825 0.923 0.432 0.681], [0.593 0.077 0.07 0.625 0.646 0.675 0.532 0.432 0.816 0.939 0.825 0.923 0.695 0.681], [0.593 0.077 0.07 0.625 0.646 0.675 0.532 0.432 0.681 0.939 0.825 0.923 0.695 0.816], [0.593 0.077 0.07 0.625 0.646 0.675 0.532 0.432 0.681 0.939 0.825 0.923 0.695 0.816], [0.077 0.593 0.07 0.625 0.646 0.675 0.532 0.432 0.681 0.939 0.825 0.923 0.695 0.816], [0.077 0.07 0.593 0.625 0.646 0.675 0.532 0.432 0.681 0.939 0.825 0.923 0.695 0.816], [0.077 0.07 0.593 0.625 0.646 0.675 0.532 0.432 0.681 0.939 0.825 0.923 0.695 0.816], [0.077 0.07 0.593 0.625 0.646 0.675 0.532 0.432 0.681 0.939 0.825 0.923 0.695 0.816], [0.077 0.07 0.593 0.625 0.646 0.675 0.532 0.432 0.681 0.939 0.825 0.923 0.695 0.816], [0.077 0.07 0.593 0.625 0.646 0.675 0.532 0.432 0.681 0.939 0.825 0.923 0.695 0.816], [0.077 0.07 0.432 0.625 0.646 0.675 0.532 0.593 0.681 0.939 0.825 0.923 0.695 0.816], [0.077 0.07 0.432 0.625 0.646 0.675 0.532 0.593 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.625 0.646 0.675 0.532 0.593 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.625 0.646 0.675 0.532 0.593 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.625 0.646 0.675 0.532 0.593 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.625 0.646 0.675 0.532 0.593 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.646 0.675 0.625 0.593 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.593 0.675 0.625 0.646 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.593 0.675 0.625 0.646 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.593 0.625 0.675 0.646 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.939 0.825 0.923 0.695 0.816], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.695 0.825 0.923 0.939 0.816], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.695 0.816 0.923 0.939 0.825], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.695 0.816 0.923 0.939 0.825], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.695 0.816 0.923 0.939 0.825], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.695 0.816 0.825 0.939 0.923], [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.695 0.816 0.825 0.939 0.923] | [0.07 0.077 0.432 0.532 0.593 0.625 0.646 0.675 0.681 0.695 0.816 0.825 0.923 0.939]
quicksort
14
graham_scan: x: [-0.699 -0.057 -1.12 -1.11 -0.184 0.154 -0.56 -1.73 1.23 -0.83 1.74 -0.911 -1.32 -0.36 1.86 -0.648 1.44 -1.54 0.623 0.94 -0.925 -0.88 -0.687 0.065 0.188], y: [-1.68 1.45 -0.311 -1.64 -1 -1.29 -0.294 0.793 -1.44 1.18 -0.603 -1.66 -1.17 -0.868 -0.11 1.81 0.754 -0.763 1.69 0.058 0.229 1.33 1.15 -0.838 1.28], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] 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 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], [1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 1 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 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 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 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], [1 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0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0], [1 1 0 0 1 1 0 0 0 1 1 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 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0], [0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 1 0 1 1 0 0 1 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53] trace | pi:
[52 52 2 3 52 52 6 7 8 52 52 11 12 13 14 52 16 17 18 19 20 21 22 52 24 25 26 27 28 29 30 31 32 52 34 35 52 52 38 39 40 41 42 43 44 45 52 47 48 49 52 51 52 53], [52 52 23 1 52 52 0 9 5 52 52 33 5 1 9 52 0 15 23 5 1 4 36 52 23 4 1 4 4 10 0 0 0 52 0 5 52 52 4 0 40 1 0 1 4 1 52 0 0 0 52 23 52 9] | [52 52 23 1 52 52 0 9 5 52 52 33 5 1 9 52 0 15 23 5 1 4 36 52 23 4 1 4 4 10 0 0 0 52 0 5 52 52 4 0 21 1 0 1 4 1 52 0 0 0 52 23 52 9]
bfs
54
activity_selector: s: [0.228 0.786 0.339 0.261 0.813 0.433 0.918 0.268 0.178 0.245 0.419 0.022 0.162 0.354 0.464 0.769 0.09 0.127 0.178 0.148 0.717 0.381 0.449 0.001 0.174 0.106 0.361 0.128 0.332 0.266 0.026 0.11 0.164 0.518 0.218 0.011 0.568 0.509 0.063 0.815 0.274 0.01 0.051 0.171 0.824 0.21 0.041 0.442 0.33 0.145], f: [0.979 0.981 0.985 0.496 0.823 0.603 0.993 0.758 0.283 0.493 0.933 0.036 0.216 0.512 0.83 0.997 0.362 0.86 0.407 0.233 0.944 0.545 0.976 0.717 0.664 0.737 0.654 0.891 0.748 0.55 0.829 0.41 0.462 0.623 0.876 0.244 0.64 0.623 0.181 0.871 0.602 0.799 0.334 0.711 0.923 0.771 0.656 0.897 0.68 0.829], 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] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 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 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 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 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 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 1 0 0 0 0 0 0 0 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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 0 1 0 0 0 0 1 0 0 0 0 0 1 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 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0]
activity_selector
50
floyd_warshall: A: [[0.666 0 0 0 0 0.259 0], [0 0 0 0 0 0 0.075], [0 0 0 0 0 0.943 0], [0 0 0 0.633 0 0.139 0], [0 0 0 0 0.795 0 0], [0.259 0 0.943 0.139 0 0 0], [0 0.075 0 0 0 0 0.619]], initial_trace: [[0 0 0 0 0 0 0], [1 1 1 1 1 1 1], [2 2 2 2 2 2 2], [3 3 3 3 3 3 3], [4 4 4 4 4 4 4], [5 5 5 5 5 5 5], [6 6 6 6 6 6 6]] trace | Pi:
[[0 0 0 0 0 0 0], [1 1 1 1 1 1 1], [2 2 2 2 2 2 2], [3 3 3 3 3 3 3], [4 4 4 4 4 4 4], [5 5 5 5 5 5 5], [6 6 6 6 6 6 6]], [[0 0 0 0 0 0 0], [1 1 1 1 1 1 1], [2 2 2 2 2 2 2], [3 3 3 3 3 3 3], [4 4 4 4 4 4 4], [5 5 5 5 5 5 5], [6 6 6 6 6 6 1]], [[0 0 0 0 0 0 0], [1 1 1 1 1 1 1], [2 2 2 2 2 2 2], [3 3 3 3 3 3 3], [4 4 4 4 4 4 4], [5 5 5 5 5 5 5], [6 6 6 6 6 6 1]], [[0 0 0 0 0 0 0], [1 1 1 1 1 1 1], [2 2 2 2 2 2 2], [3 3 3 3 3 3 3], [4 4 4 4 4 4 4], [5 5 5 5 5 5 5], [6 6 6 6 6 6 1]], [[0 0 0 0 0 0 0], [1 1 1 1 1 1 1], [2 2 2 2 2 2 2], [3 3 3 3 3 3 3], [4 4 4 4 4 4 4], [5 5 5 5 5 5 5], [6 6 6 6 6 6 1]] | [[5 0 5 5 0 0 0], [1 1 1 1 1 1 1], [5 2 2 5 2 2 2], [5 3 5 5 3 3 3], [4 4 4 4 4 4 4], [5 5 5 5 5 5 5], [6 6 6 6 6 6 1]]
floyd_warshall
7
naive_string_matcher: string: [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 1 0 2 0 3 1 0 0 2 1 2 1 2 3 0 1 3 3 3 0 1 0 2], initial_trace: 0 trace | s:
0, 0, 0 | 0
naive_string_matcher
25
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 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1], key: [3 3 0 3 3 1 3 3 0 1 1 2 0 3 1 0 2 2 3 0 0 2 3 0 2 0 0 3 3 0 1 2 1 1 3 2 2 3 1 0 2 2 3 0 0 2], initial_trace: 0 trace | s:
0, 1, 1, 2, 3, 3, 4, 4, 4, 5, 6, 6, 7, 7, 8, 9, 10, 11, 12, 13, 13, 13, 13, 13, 13, 13, 13 | 13
naive_string_matcher
46