Datasets:

question
stringlengths
67
7.6k
answer
stringlengths
3
7.92k
algo_name
stringclasses
30 values
length
int64
4
64
find_maximum_subarray_kadane: key: [-0.88 -0.41 0.891 -0.892 -0.596 -0.484 0.663 -0.196 -0.24 0.344 -0.483 -0.365 0.446 0.879 -0.382 0.001 0.493 0.672 -0.202 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], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (2, 2), (12, 13), (12, 13), (12, 13), (12, 16), (12, 17), (12, 17), (12, 17), (12, 17), (12, 17), (12, 17), (12, 17), (12, 17), (12, 17), (12, 26), (12, 26), (12, 28), (12, 28), (12, 30), (12, 31), (12, 32), (12, 33), (12, 33), (12, 33), (12, 33) | (12, 33)
find_maximum_subarray_kadane
38
mst_prim: s: 5, A: [[0.398 0 0 0.039 0.21 0 0 0 0 0 0 0 0 0 0.369 0], [0 0.034 0.894 0 0.461 0 0.555 0 0 0 0.18 0 0.259 0.581 0.492 0], [0 0.894 0 0 0 0.576 0 0 0 0 0 0 0 0 0 0.404], [0.039 0 0 0 0 0 0.159 0 0 0.032 0 0 0.246 0 0 0], [0.21 0.461 0 0 0.535 0.412 0.292 0 0 0 0 0 0.379 0 0.293 0], [0 0 0.576 0 0.412 0 0 0 0 0 0 0 0 0.647 0 0], [0 0.555 0 0.159 0.292 0 0 0 0 0 0 0 0 0.284 0 0], [0 0 0 0 0 0 0 0.653 0 0 0 0 0 0.377 0 0.133], [0 0 0 0 0 0 0 0 0 0 0.067 0 0 0 0 0], [0 0 0 0.032 0 0 0 0 0 0.944 0 0 0.575 0.115 0 0], [0 0.18 0 0 0 0 0 0 0.067 0 0.826 0 0 0 0 0.537], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.259 0 0.246 0.379 0 0 0 0 0.575 0 0 0.569 0 0 0.937], [0 0.581 0 0 0 0.647 0.284 0.377 0 0.115 0 0 0 0 0 0.38], [0.369 0.492 0 0 0.293 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.404 0 0 0 0 0.133 0 0 0.537 0 0.937 0.38 0 0.989]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15] trace | pi:
[0 1 5 3 5 5 6 7 8 9 10 11 12 5 14 15], [4 4 5 3 5 5 4 7 8 9 10 11 4 5 4 15], [4 4 5 0 5 5 4 7 8 9 10 11 4 5 4 15], [4 4 5 0 5 5 3 7 8 3 10 11 3 5 4 15], [4 4 5 0 5 5 3 7 8 3 10 11 3 9 4 15], [4 4 5 0 5 5 3 13 8 3 10 11 3 9 4 13], [4 4 5 0 5 5 3 13 8 3 10 11 3 9 4 13], [4 12 5 0 5 5 3 13 8 3 10 11 3 9 4 13], [4 12 5 0 5 5 3 13 8 3 1 11 3 9 4 13], [4 12 5 0 5 5 3 13 10 3 1 11 3 9 4 13], [4 12 5 0 5 5 3 13 10 3 1 11 3 9 4 13], [4 12 5 0 5 5 3 13 10 3 1 11 3 9 4 13], [4 12 5 0 5 5 3 13 10 3 1 11 3 9 4 7], [4 12 15 0 5 5 3 13 10 3 1 11 3 9 4 7] | [4 12 15 0 5 5 3 13 10 3 1 11 3 9 4 7]
mst_prim
16
insertion_sort: key: [0.095 0.408 0.473 0.502 0.922 0.464 0.493 0.813], initial_trace: [0.095 0.408 0.473 0.502 0.922 0.464 0.493 0.813] trace | pred:
[0.095 0.408 0.473 0.502 0.922 0.464 0.493 0.813], [0.095 0.408 0.473 0.502 0.922 0.464 0.493 0.813], [0.095 0.408 0.473 0.502 0.922 0.464 0.493 0.813], [0.095 0.408 0.473 0.502 0.922 0.464 0.493 0.813], [0.095 0.408 0.464 0.473 0.502 0.922 0.493 0.813], [0.095 0.408 0.464 0.473 0.493 0.502 0.922 0.813] | [0.095 0.408 0.464 0.473 0.493 0.502 0.813 0.922]
insertion_sort
8
graham_scan: x: [1.03 -1.77 0.352 1.29 -0.613 -1.05 -0.974 0.112 0.268 0.853 -1.74], y: [0.538 -0.878 0.955 0.08 0.152 1.58 1.62 -1.44 1.82 -1.69 -0.304], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 1 0], [0 0 0 1 0 0 0 0 0 1 0], [1 0 0 1 0 0 0 0 0 1 0], [1 0 0 1 0 0 0 0 1 1 0], [1 0 1 1 0 0 0 0 1 1 0], [1 0 0 1 0 0 0 0 1 1 0], [1 0 0 1 0 0 1 0 1 1 0], [1 0 0 1 0 1 1 0 1 1 0], [1 0 0 1 1 1 1 0 1 1 0], [1 0 0 1 0 1 1 0 1 1 0], [1 0 0 1 0 1 1 0 1 1 1], [1 0 0 1 0 1 1 1 1 1 1], [1 0 0 1 0 1 1 0 1 1 1] | [1 1 0 1 0 1 1 0 1 1 1]
graham_scan
11
bridges: A: [[0 0 0 0 0 0], [0 1 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 1 0], [0 0 0 0 0 0]], initial_trace: [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]] trace | is_bridge:
[[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]], [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]] | [[0 -1 -1 -1 -1 -1], [-1 0 -1 -1 -1 -1], [-1 -1 0 -1 -1 -1], [-1 -1 -1 0 -1 -1], [-1 -1 -1 -1 0 -1], [-1 -1 -1 -1 -1 0]]
bridges
6
bellman_ford: s: 27, A: [[0.682 0 0 0 0 0 0.589 0 0 0 0.409 0 0 0 0 0 0 0.653 0 0.118 0.837 0 0.443 0.26 0.838 0.263 0 0 0 0 0 0 0.525 0.542 0 0.234 0], [0 0.467 0 0 0 0 0.437 0 0.533 0 0 0 0.316 0 0 0 0 0 0 0 0 0.857 0 0 0.327 0 0 0 0 0 0.16 0 0 0 0.978 0 0], [0 0 0.343 0 0.139 0 0 0 0 0 0 0 0.549 0 0 0 0 0 0.223 0 0 0 0 0 0 0 0 0 0.702 0 0 0.487 0 0 0.525 0 0.858], [0 0 0 0 0 0 0 0.074 0.233 0 0 0.511 0 0 0 0 0 0 0 0.81 0 0 0 0 0 0 0 0 0 0.532 0 0 0 0.121 0 0 0], [0 0 0.139 0 0.646 0 0 0.5 0.359 0.097 0 0 0.47 0 0 0 0 0.207 0.177 0 0 0 0 0 0 0 0 0 0 0 0 0.417 0 0.512 0 0.47 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.071 0 0 0.542 0 0 0.717 0 0 0.502 0.619 0 0 0 0 0 0.302 0.053 0.503 0.225 0.187 0], [0.589 0.437 0 0 0 0 0 0 0 0 0 0 0 0 0.401 0 0 0 0.395 0 0 0 0 0 0 0 0.418 0 0 0 0 0.415 0 0 0 0 0.404], [0 0 0 0.074 0.5 0 0 0.823 0 0.928 0.198 0 0 0 0.403 0 0 0 0.719 0.032 0 0 0.146 0 0 0 0.331 0 0.3 0 0 0 0 0.3 0 0 0.546], [0 0.533 0 0.233 0.359 0 0 0 0 0.254 0 0 0 0 0 0 0 0.225 0 0 0 0 0 0 0.743 0 0 0 0.45 0 0 0 0 0.472 0 0.763 0], [0 0 0 0 0.097 0 0 0.928 0.254 0 0 0 0 0.148 0 0 0 0 0 0 0 0 0.321 0.728 0 0.684 0 0.632 0 0.95 0 0.401 0 0.806 0 0 0], [0.409 0 0 0 0 0 0 0.198 0 0 0 0 0 0 0 0 0.73 0 0.399 0.289 0 0 0 0.462 0 0 0 0 0 0 0.212 0 0.662 0.43 0 0 0], [0 0 0 0.511 0 0 0 0 0 0 0 0.923 0.742 0 0.496 0 0.349 0 0 0 0.417 0 0.602 0.77 0 0 0.888 0.346 0 0.571 0 0 0 0.615 0 0 0], [0 0.316 0.549 0 0.47 0 0 0 0 0 0 0.742 0 0.207 0 0 0 0 0.487 0.778 0 0.367 0.11 0 0 0 0 0.594 0 0.422 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.148 0 0 0.207 0 0 0 0.074 0.335 0 0 0 0 0 0 0.545 0 0.888 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.401 0.403 0 0 0 0.496 0 0 0.26 0.359 0 0 0 0 0.572 0.712 0 0.71 0 0 0 0.886 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.071 0 0 0 0 0 0 0 0 0.359 0 0 0 0.616 0 0.379 0.345 0 0 0 0 0.839 0 0 0 0 0 0 0 0 0 0.332], [0 0 0 0 0 0 0 0 0 0 0.73 0.349 0 0.074 0 0 0.168 0 0 0.327 0 0.201 0 0 0 0.347 0 0 0 0.168 0 0 0 0 0 0 0.401], [0.653 0 0 0 0.207 0 0 0 0.225 0 0 0 0 0.335 0 0 0 0.512 0 0 0 0 0 0 0 0.51 0.935 0.467 0 0 0.549 0 0 0 0.46 0.077 0], [0 0 0.223 0 0.177 0.542 0.395 0.719 0 0 0.399 0 0.487 0 0 0.616 0 0 0 0 0.214 0 0 0 0.162 0 0 0 0 0 0 0 0.701 0 0.253 0 0.442], [0.118 0 0 0.81 0 0 0 0.032 0 0 0.289 0 0.778 0 0 0 0.327 0 0 0.781 0 0 0 0 0.269 0 0 0 0 0.22 0.463 0 0 0 0 0 0.087], [0.837 0 0 0 0 0 0 0 0 0 0 0.417 0 0 0.572 0.379 0 0 0.214 0 0.559 0 0.962 0 0 0.695 0.246 0 0 0 0 0.884 0 0 0.625 0 0], [0 0.857 0 0 0 0.717 0 0 0 0 0 0 0.367 0 0.712 0.345 0.201 0 0 0 0 0 0.346 0 0 0.76 0 0.788 0 0 0 0 0.051 0 0 0.694 0.071], [0.443 0 0 0 0 0 0 0.146 0 0.321 0 0.602 0.11 0 0 0 0 0 0 0 0.962 0.346 0.156 0 0 0 0 0 0.483 0 0.476 0 0 0 0 0 0], [0.26 0 0 0 0 0 0 0 0 0.728 0.462 0.77 0 0 0.71 0 0 0 0 0 0 0 0 0.262 0.563 0.205 0 0 0 0 0 0 0 0 0 0.382 0], [0.838 0.327 0 0 0 0.502 0 0 0.743 0 0 0 0 0.545 0 0 0 0 0.162 0.269 0 0 0 0.563 0.936 0 0 0 0 0 0.652 0.634 0 0 0 0 0], [0.263 0 0 0 0 0.619 0 0 0 0.684 0 0 0 0 0 0 0.347 0.51 0 0 0.695 0.76 0 0.205 0 0.683 0 0 0 0 0 0.05 0 0 0 0 0], [0 0 0 0 0 0 0.418 0.331 0 0 0 0.888 0 0.888 0 0.839 0 0.935 0 0 0.246 0 0 0 0 0 0 0 0.429 0.117 0 0 0 0.396 0 0 0], [0 0 0 0 0 0 0 0 0 0.632 0 0.346 0.594 0 0.886 0 0 0.467 0 0 0 0.788 0 0 0 0 0 0 0 0 0 0.626 0 0 0.126 0 0], [0 0 0.702 0 0 0 0 0.3 0.45 0 0 0 0 0 0 0 0 0 0 0 0 0 0.483 0 0 0 0.429 0 0 0 0 0 0 0 0 0.321 0.542], [0 0 0 0.532 0 0 0 0 0 0.95 0 0.571 0.422 0 0 0 0.168 0 0 0.22 0 0 0 0 0 0 0.117 0 0 0.094 0.502 0 0.503 0 0.602 0.593 0], [0 0.16 0 0 0 0 0 0 0 0 0.212 0 0 0 0 0 0 0.549 0 0.463 0 0 0.476 0 0.652 0 0 0 0 0.502 0.488 0 0 0 0 0.492 0.403], [0 0 0.487 0 0.417 0.302 0.415 0 0 0.401 0 0 0 0 0 0 0 0 0 0 0.884 0 0 0 0.634 0.05 0 0.626 0 0 0 0.48 0 0 0 0 0], [0.525 0 0 0 0 0.053 0 0 0 0 0.662 0 0 0 0 0 0 0 0.701 0 0 0.051 0 0 0 0 0 0 0 0.503 0 0 0.737 0 0.414 0 0], [0.542 0 0 0.121 0.512 0.503 0 0.3 0.472 0.806 0.43 0.615 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.396 0 0 0 0 0 0 0.831 0 0 0], [0 0.978 0.525 0 0 0.225 0 0 0 0 0 0 0 0 0 0 0 0.46 0.253 0 0.625 0 0 0 0 0 0 0.126 0 0.602 0 0 0.414 0 0 0 0], [0.234 0 0 0 0.47 0.187 0 0 0.763 0 0 0 0 0 0 0 0 0.077 0 0 0 0.694 0 0.382 0 0 0 0 0.321 0.593 0.492 0 0 0 0 0.67 0], [0 0 0.858 0 0 0 0.404 0.546 0 0 0 0 0 0 0 0.332 0.401 0 0.442 0.087 0 0.071 0 0 0 0 0 0 0.542 0 0.403 0 0 0 0 0 0.782]], 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] trace | pi:
[0 1 2 3 4 5 6 7 8 27 10 27 27 13 27 15 16 27 18 19 20 27 22 23 24 25 26 27 28 29 30 27 32 33 27 35 36], [17 12 34 11 17 34 31 14 17 27 10 27 27 9 11 21 11 27 34 12 34 27 12 11 31 31 11 27 28 34 17 27 34 11 27 17 21], [35 12 18 11 18 34 18 22 17 27 18 27 27 16 11 5 11 27 34 36 18 32 12 25 18 31 29 27 35 34 17 27 5 5 27 5 18], [35 24 18 11 18 34 18 22 17 27 18 27 27 16 15 5 11 27 34 24 18 32 12 25 18 31 20 27 35 34 10 27 5 5 27 5 21], [35 24 18 11 18 34 18 19 17 27 18 27 27 16 15 5 21 27 34 36 18 32 12 25 18 31 20 27 35 34 10 27 5 5 27 5 21], [35 24 18 11 18 34 18 19 17 27 18 27 27 16 15 5 21 27 34 36 18 32 12 25 18 31 20 27 35 34 36 27 5 5 27 5 21], [19 24 18 7 18 34 18 19 17 27 18 27 27 16 15 5 21 27 34 36 18 32 12 25 18 31 20 27 35 34 36 27 5 5 27 5 21], [19 24 18 7 18 34 18 19 17 27 18 27 27 16 15 5 21 27 34 36 18 32 12 25 18 31 20 27 35 34 36 27 5 5 27 5 21] | [19 24 18 7 18 34 18 19 17 27 18 27 27 16 15 5 21 27 34 36 18 32 12 25 18 31 20 27 35 34 36 27 5 3 27 5 21]
bellman_ford
37
segments_intersect: x: [0.545 0.328 0.715 0.732], y: [0.654 0.482 0.86 0.988] intersect:
0
segments_intersect
38
minimum: key: [0.8 0.953 0.62 0.216 0.075 0.603 0.348 0.48 0.767 0.903 0.639 0.195 0.293 0.888 0.186], initial_trace: 0 trace | min:
0, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 | 4
minimum
15
lcs_length: string: [0 0 1 1], key: [0 2 2 3], initial_trace: [[-1 -1 1 1], [-1 -1 0 0], [-1 -1 -1 -1], [-1 -1 -1 -1]] trace | b:
| [[-1 -1 1 1], [-1 -1 0 2], [-1 -1 -1 -1], [-1 -1 -1 -1]]
lcs_length
4
optimal_bst: p: [0.161 0.079 0.017 0.105 0.162 0.062 0], q: [0.012 0.064 0.051 0 0.126 0.004 0.156], initial_trace: [[0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0], [0 0 0 0 0 0 0]] trace | root:
[[0 0 0 0 0 0 0], [0 0 1 0 0 0 0], [0 0 0 2 0 0 0], [0 0 0 0 3 0 0], [0 0 0 0 0 4 0], [0 0 0 0 0 0 5], [0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0], [0 0 1 1 0 0 0], [0 0 0 2 3 0 0], [0 0 0 0 3 4 0], [0 0 0 0 0 4 4], [0 0 0 0 0 0 5], [0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0], [0 0 1 1 3 0 0], [0 0 0 2 3 3 0], [0 0 0 0 3 4 4], [0 0 0 0 0 4 4], [0 0 0 0 0 0 5], [0 0 0 0 0 0 0]], [[0 0 0 0 1 0 0], [0 0 1 1 3 3 0], [0 0 0 2 3 3 4], [0 0 0 0 3 4 4], [0 0 0 0 0 4 4], [0 0 0 0 0 0 5], [0 0 0 0 0 0 0]], [[0 0 0 0 1 3 0], [0 0 1 1 3 3 4], [0 0 0 2 3 3 4], [0 0 0 0 3 4 4], [0 0 0 0 0 4 4], [0 0 0 0 0 0 5], [0 0 0 0 0 0 0]] | [[0 0 0 0 1 3 3], [0 0 1 1 3 3 4], [0 0 0 2 3 3 4], [0 0 0 0 3 4 4], [0 0 0 0 0 4 4], [0 0 0 0 0 0 5], [0 0 0 0 0 0 0]]
optimal_bst
6
mst_prim: s: 15, A: [[0 0.794 0 0 0 0 0 0 0 0.844 0 0.334 0 0 0 0 0 0 0 0 0 0.146 0 0 0 0 0 0.796 0 0 0.906 0.53 0 0 0.032], [0.794 0 0.276 0 0 0 0 0 0 0 0 0.31 0 0.3 0 0 0.716 0.221 0 0 0 0 0 0 0.619 0 0 0 0 0 0 0 0.2 0.18 0], [0 0.276 0 0.312 0.059 0 0 0 0.683 0 0 0 0 0 0.586 0.746 0 0 0 0 0 0 0 0 0.08 0.162 0 0 0 0 0.304 0.595 0.48 0.808 0], [0 0 0.312 0 0.781 0 0 0 0 0 0.643 0 0 0 0.344 0 0 0 0 0 0 0 0.472 0 0 0 0.074 0.572 0.106 0 0.294 0 0 0.775 0], [0 0 0.059 0.781 0 0 0 0 0.669 0 0.444 0 0 0 0 0 0 0 0 0 0 0.201 0 0.761 0 0 0 0 0 0 0 0 0 0 0.623], [0 0 0 0 0 0 0 0.273 0 0 0 0 0 0.633 0 0.487 0.598 0 0 0.079 0.311 0.114 0 0 0 0 0 0.435 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.17 0 0.325 0 0 0 0 0.689 0.392 0 0 0 0.329 0 0 0 0 0 0.406 0 0 0 0], [0 0 0 0 0 0.273 0 0.062 0 0 0 0.337 0 0 0 0 0 0 0 0.169 0 0 0 0.686 0 0 0 0 0.554 0 0 0.512 0 0.612 0], [0 0 0.683 0 0.669 0 0 0 0 0 0.447 0 0 0 0 0 0 0 0.168 0 0 0 0 0.851 0.957 0 0 0 0.311 0 0 0.511 0.169 0 0], [0.844 0 0 0 0 0 0 0 0 0 0 0 0 0.655 0 0 0 0.241 0 0.15 0 0 0.525 0 0 0 0 0 0 0 0.683 0 0.643 0 0], [0 0 0 0.643 0.444 0 0 0 0.447 0 0.511 0.173 0.383 0 0 0 0 0 0 0 0 0.816 0.363 0 0.425 0 0.504 0 0.521 0 0 0.523 0 0 0], [0.334 0.31 0 0 0 0 0 0.337 0 0 0.173 0.343 0.612 0 0.662 0 0 0 0 0.218 0.332 0.062 0 0.563 0 0 0.863 0 0 0 0 0 0 0.244 0], [0 0 0 0 0 0 0.17 0 0 0 0.383 0.612 0 0 0.56 0 0 0.218 0 0.65 0 0 0 0.927 0 0 0 0 0 0 0 0 0.714 0.487 0], [0 0.3 0 0 0 0.633 0 0 0 0.655 0 0 0 0 0 0 0.617 0 0 0 0.384 0 0.469 0.789 0 0 0 0 0 0 0 0 0.127 0 0], [0 0 0.586 0.344 0 0 0.325 0 0 0 0 0.662 0.56 0 0.474 0 0 0 0 0 0 0 0 0.133 0.537 0.277 0 0 0 0 0 0.592 0.207 0 0], [0 0 0.746 0 0 0.487 0 0 0 0 0 0 0 0 0 0.508 0 0 0.69 0 0 0 0 0 0 0 0 0 0.036 0 0 0 0 0 0], [0 0.716 0 0 0 0.598 0 0 0 0 0 0 0 0.617 0 0 0.982 0 0.451 0.437 0 0.573 0 0.203 0 0 0.221 0.251 0 0.652 0 0.907 0 0.189 0], [0 0.221 0 0 0 0 0 0 0 0.241 0 0 0.218 0 0 0 0 0.432 0 0 0 0.695 0 0.368 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.168 0 0 0 0 0 0 0.69 0.451 0 0.159 0 0 0.398 0 0 0 0.249 0 0.504 0 0 0 0 0 0 0], [0 0 0 0 0 0.079 0.689 0.169 0 0.15 0 0.218 0.65 0 0 0 0.437 0 0 0.297 0 0 0.306 0.136 0.553 0.876 0 0 0 0 0 0 0.782 0.261 0], [0 0 0 0 0 0.311 0.392 0 0 0 0 0.332 0 0.384 0 0 0 0 0 0 0.856 0.713 0 0.783 0 0 0.614 0.381 0.246 0 0 0.224 0 0 0], [0.146 0 0 0 0.201 0.114 0 0 0 0 0.816 0.062 0 0 0 0 0.573 0.695 0.398 0 0.713 0.192 0 0.704 0 0 0 0 0.634 0 0 0 0 0.712 0], [0 0 0 0.472 0 0 0 0 0 0.525 0.363 0 0 0.469 0 0 0 0 0 0.306 0 0 0 0 0 0 0.638 0 0 0 0 0.115 0.851 0 0], [0 0 0 0 0.761 0 0 0.686 0.851 0 0 0.563 0.927 0.789 0.133 0 0.203 0.368 0 0.136 0.783 0.704 0 0.361 0.407 0 0 0 0 0 0 0 0 0.067 0.509], [0 0.619 0.08 0 0 0 0.329 0 0.957 0 0.425 0 0 0 0.537 0 0 0 0 0.553 0 0 0 0.407 0 0.874 0.209 0.65 0 0 0.396 0 0 0 0], [0 0 0.162 0 0 0 0 0 0 0 0 0 0 0 0.277 0 0 0 0.249 0.876 0 0 0 0 0.874 0 0 0 0 0.377 0 0 0 0.574 0], [0 0 0 0.074 0 0 0 0 0 0 0.504 0.863 0 0 0 0 0.221 0 0 0 0.614 0 0.638 0 0.209 0 0 0 0 0 0 0 0.309 0.416 0], [0.796 0 0 0.572 0 0.435 0 0 0 0 0 0 0 0 0 0 0.251 0 0.504 0 0.381 0 0 0 0.65 0 0 0.903 0 0 0 0 0.815 0.821 0], [0 0 0 0.106 0 0 0 0.554 0.311 0 0.521 0 0 0 0 0.036 0 0 0 0 0.246 0.634 0 0 0 0 0 0 0 0 0 0 0.208 0.342 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.652 0 0 0 0 0 0 0 0 0.377 0 0 0 0 0 0 0 0.211 0], [0.906 0 0.304 0.294 0 0 0.406 0 0 0.683 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.396 0 0 0 0 0 0 0 0 0 0], [0.53 0 0.595 0 0 0 0 0.512 0.511 0 0.523 0 0 0 0.592 0 0.907 0 0 0 0.224 0 0.115 0 0 0 0 0 0 0 0 0.6 0 0 0], [0 0.2 0.48 0 0 0 0 0 0.169 0.643 0 0 0.714 0.127 0.207 0 0 0 0 0.782 0 0 0.851 0 0 0 0.309 0.815 0.208 0 0 0 0 0 0.694], [0 0.18 0.808 0.775 0 0 0 0.612 0 0 0 0.244 0.487 0 0 0 0.189 0 0 0.261 0 0.712 0 0.067 0 0.574 0.416 0.821 0.342 0.211 0 0 0 0 0], [0.032 0 0 0 0.623 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.509 0 0 0 0 0 0 0 0 0.694 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] trace | pi:
[0 1 15 3 4 15 6 7 8 9 10 11 12 13 14 15 16 17 15 19 20 21 22 23 24 25 26 27 15 29 30 31 32 33 34], [0 1 15 28 4 15 6 28 28 9 28 11 12 13 14 15 16 17 15 19 28 28 22 23 24 25 26 27 15 29 30 31 28 28 34], [0 1 3 28 3 15 6 28 28 9 28 11 12 13 3 15 16 17 15 19 28 28 3 23 24 25 3 3 15 29 3 31 28 28 34], [0 1 3 28 3 15 6 28 28 9 26 26 12 13 3 15 26 17 15 19 28 28 3 23 26 25 3 3 15 29 3 31 28 28 34], [0 32 3 28 3 15 6 28 32 32 26 26 32 32 32 15 26 17 15 32 28 28 3 23 26 25 3 3 15 29 3 31 28 28 32], [0 32 3 28 3 15 6 28 32 32 26 26 32 32 32 15 26 17 15 32 28 28 13 13 26 25 3 3 15 29 3 31 28 28 32], [0 32 3 28 8 15 6 28 32 32 8 26 32 32 32 15 26 17 8 32 28 28 13 13 26 25 3 3 15 29 3 8 28 28 32], [0 32 3 28 8 15 6 28 32 32 8 26 32 32 32 15 26 17 8 32 28 18 13 13 26 18 3 18 15 29 3 8 28 28 32], [1 32 1 28 8 15 6 28 32 32 8 1 32 32 32 15 26 1 8 32 28 18 13 13 26 18 3 18 15 29 3 8 28 1 32], [1 32 1 28 8 15 6 28 32 32 8 33 33 32 32 15 33 1 8 33 28 18 13 33 26 18 3 18 15 33 3 8 28 1 32], [1 32 1 28 8 15 6 28 32 32 8 33 33 32 23 15 33 1 8 23 28 18 13 33 26 18 3 18 15 33 3 8 28 1 23], [1 32 1 28 8 15 14 28 32 32 8 33 33 32 23 15 33 1 8 23 28 18 13 33 26 18 3 18 15 33 3 8 28 1 23], [1 32 1 28 8 19 14 19 32 19 8 19 33 32 23 15 33 1 8 23 28 18 19 33 26 18 3 18 15 33 3 8 28 1 23], [1 32 1 28 8 19 14 19 32 19 8 19 33 32 23 15 33 1 8 23 28 5 19 33 26 18 3 5 15 33 3 8 28 1 23], [21 32 1 28 21 19 14 19 32 19 8 21 33 32 23 15 33 1 8 23 28 5 19 33 26 18 3 5 15 33 3 8 28 1 23], [21 32 1 28 21 19 14 19 32 19 11 21 33 32 23 15 33 1 8 23 28 5 19 33 26 18 3 5 15 33 3 8 28 1 23], [21 32 1 28 21 19 14 19 32 19 11 21 33 32 23 15 33 1 8 23 28 5 19 33 26 18 3 5 15 33 3 8 28 1 0], [21 32 1 28 21 19 14 19 32 19 11 21 33 32 23 15 33 1 8 23 28 5 19 33 26 18 3 5 15 33 3 8 28 1 0], [21 32 1 28 21 19 14 19 32 19 11 21 33 32 23 15 33 1 8 23 28 5 19 33 26 18 3 5 15 33 3 8 28 1 0], [21 32 1 28 21 19 14 19 32 19 11 21 33 32 23 15 33 1 8 23 28 5 19 33 26 18 3 5 15 33 3 8 28 1 0], [21 32 1 28 21 19 14 19 32 19 11 21 10 32 23 15 33 1 8 23 28 5 19 33 26 18 3 5 15 33 3 8 28 1 0], [21 32 1 28 21 19 14 19 32 19 11 21 10 32 23 15 33 1 8 23 28 5 19 33 26 18 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 14 19 32 19 11 21 10 32 23 15 33 1 8 23 28 5 19 33 26 18 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 14 19 32 19 11 21 10 32 23 15 33 1 8 23 28 5 19 33 2 2 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 14 19 32 19 11 21 10 32 23 15 33 1 8 23 28 5 19 33 2 2 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 14 19 32 19 11 21 10 32 23 15 33 1 8 23 28 5 19 33 2 2 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 14 19 32 19 11 21 10 32 23 15 33 1 8 23 28 5 19 33 2 2 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 14 19 32 19 11 21 17 32 23 15 33 1 8 23 28 5 19 33 2 2 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 12 19 32 19 11 21 17 32 23 15 33 1 8 23 28 5 19 33 2 2 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 12 19 32 19 11 21 17 32 23 15 33 1 8 23 28 5 19 33 2 2 3 16 15 33 3 8 28 1 0], [21 32 4 28 21 19 12 19 32 19 11 21 17 32 23 15 33 1 8 23 28 5 19 33 2 2 3 16 15 33 3 20 28 1 0], [21 32 4 28 21 19 12 19 32 19 11 21 17 32 23 15 33 1 8 23 28 5 31 33 2 2 3 16 15 33 3 20 28 1 0], [21 32 4 28 21 19 12 19 32 19 11 21 17 32 23 15 33 1 8 23 28 5 31 33 2 2 3 16 15 33 3 20 28 1 0], [21 32 4 28 21 19 12 19 32 19 11 21 17 32 23 15 33 1 8 23 28 5 31 33 2 2 3 16 15 33 3 20 28 1 0] | [21 32 4 28 21 19 12 19 32 19 11 21 17 32 23 15 33 1 8 23 28 5 31 33 2 2 3 16 15 33 3 20 28 1 0]
mst_prim
35
bubble_sort: key: [0.925 0.508 0.919 0.061], initial_trace: [0.925 0.508 0.919 0.061] trace | pred:
[0.925 0.508 0.061 0.919], [0.925 0.061 0.508 0.919], [0.061 0.925 0.508 0.919], [0.061 0.925 0.508 0.919], [0.061 0.508 0.925 0.919] | [0.061 0.508 0.919 0.925]
bubble_sort
4
bellman_ford: s: 11, A: [[0.657 0 0 0 0 0 0 0 0 0.373 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.664 0 0 0 0 0.604 0.385 0.171 0 0.117 0.38 0 0 0 0 0.409 0.7 0 0.111 0 0.04 0], [0 0 0.953 0 0 0 0 0.482 0.639 0.549 0 0 0 0 0 0 0 0 0 0 0 0 0.694], [0 0 0 0.884 0 0 0 0 0 0 0.521 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.5 0 0.223 0 0.336 0 0 0 0.351 0 0 0.15 0 0 0.668 0.328 0 0.555 0], [0 0 0 0 0 0 0.615 0 0 0 0 0.742 0 0 0 0.126 0.392 0 0.519 0 0.181 0 0], [0 0.604 0 0 0.223 0.615 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.232 0 0.135], [0 0.385 0.482 0 0 0 0 0 0 0 0.856 0.125 0 0 0 0.335 0.135 0 0.435 0 0.794 0 0], [0 0.171 0.639 0 0.336 0 0 0 0 0 0.086 0.382 0 0.334 0 0 0.68 0.745 0.632 0 0 0 0], [0.373 0 0.549 0 0 0 0 0 0 0 0 0 0 0 0.175 0 0 0 0 0 0 0 0], [0 0.117 0 0.521 0 0 0 0.856 0.086 0 0.095 0 0 0 0.77 0 0 0.529 0 0 0.6 0.672 0], [0 0.38 0 0 0 0.742 0 0.125 0.382 0 0 0 0 0.239 0 0 0.197 0 0.72 0 0.204 0 0], [0 0 0 0 0.351 0 0 0 0 0 0 0 0.638 0 0 0.707 0.813 0 0.433 0 0 0 0], [0 0 0 0 0 0 0 0 0.334 0 0 0.239 0 0.629 0 0 0.745 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.175 0.77 0 0 0 0.739 0 0.376 0 0 0.087 0 0 0], [0 0 0 0 0.15 0.126 0 0.335 0 0 0 0 0.707 0 0 0 0.275 0 0 0 0 0 0], [0 0.409 0 0 0 0.392 0 0.135 0.68 0 0 0.197 0.813 0.745 0.376 0.275 0.536 0 0 0 0 0 0.581], [0 0.7 0 0 0 0 0 0 0.745 0 0.529 0 0 0 0 0 0 0.715 0 0.261 0 0 0], [0 0 0 0 0.668 0.519 0 0.435 0.632 0 0 0.72 0.433 0 0 0 0 0 0.484 0 0 0 0], [0 0.111 0 0 0.328 0 0 0 0 0 0 0 0 0 0.087 0 0 0.261 0 0.099 0 0 0], [0 0 0 0 0 0.181 0.232 0.794 0 0 0.6 0.204 0 0 0 0 0 0 0 0 0 0 0.579], [0 0.04 0 0 0.555 0 0 0 0 0 0.672 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.694 0 0 0 0.135 0 0 0 0 0 0 0 0 0 0.581 0 0 0 0.579 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22] trace | pi:
[0 11 2 3 4 11 6 11 11 9 10 11 12 11 14 15 11 17 11 19 11 21 22], [0 11 7 3 8 20 20 11 11 9 8 11 16 11 16 7 11 1 7 1 11 1 16], [0 11 7 10 15 20 20 11 11 14 8 11 18 11 16 7 11 19 7 1 11 1 6] | [9 11 7 10 15 20 20 11 11 14 8 11 4 11 16 7 11 19 7 1 11 1 6]
bellman_ford
23
heapsort: key: [0.715 0.732 0.654 0.482 0.86], initial_trace: [0.715 0.732 0.654 0.482 0.86] trace | pred:
[0.715 0.732 0.654 0.482 0.86], [0.715 0.732 0.654 0.482 0.86], [0.715 0.732 0.654 0.482 0.86], [0.715 0.86 0.654 0.482 0.732], [0.715 0.86 0.654 0.482 0.732], [0.86 0.715 0.654 0.482 0.732], [0.86 0.732 0.654 0.482 0.715], [0.86 0.732 0.654 0.482 0.715], [0.715 0.732 0.654 0.482 0.86], [0.732 0.715 0.654 0.482 0.86], [0.732 0.715 0.654 0.482 0.86], [0.482 0.715 0.654 0.732 0.86], [0.715 0.482 0.654 0.732 0.86], [0.715 0.482 0.654 0.732 0.86], [0.654 0.482 0.715 0.732 0.86], [0.654 0.482 0.715 0.732 0.86], [0.482 0.654 0.715 0.732 0.86] | [0.482 0.654 0.715 0.732 0.86]
heapsort
5
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 1 1 1 1 1], key: [0 2 0 3 1 0 2 1 0 0 3 1 1 0 3 3 3 2 1 3 2 2 0 3 1 0], initial_trace: 0 trace | s:
1, 1, 1, 1 | 1
naive_string_matcher
26
quicksort: key: [0.979 0.019 0.535 0.133 0.849], initial_trace: [0.979 0.019 0.535 0.133 0.849] trace | pred:
[0.019 0.979 0.535 0.133 0.849], [0.019 0.535 0.979 0.133 0.849], [0.019 0.535 0.133 0.979 0.849], [0.019 0.535 0.133 0.849 0.979], [0.019 0.535 0.133 0.849 0.979], [0.019 0.535 0.133 0.849 0.979] | [0.019 0.133 0.535 0.849 0.979]
quicksort
5
quickselect: key: [0.867 0.099 0.965 0.133 0.248 0.072 0.687 0.392 0.905 0.139 0.078 0.926 0.723 0.973 0.962 0.667 0.194 0.961 0.554 0.331 0.333 0.391 0.967 0.477 0.712 0.456 0.914 0.043 0.331 0.568 0.217 0.197 0.386 0.228 0.308 0.075 0.105 0.583 0.189 0.234 0.054 0.364 0.557 0.814 0.791 0.29 0.552 0.2], 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, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 41, 41, 41, 41, 41, 41, 41, 41, 7, 7, 7, 21 | 21
quickselect
48
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 1 1 1 1 1 1 1 1 1 1 1], key: [2 2 0 2 0 3 1 3 3 0 2 2 0 3 3 3 1 0 2 0 0 1 3 1 1 1 3 1 3 0 2 0 0 0 0 2 3 3 3 3 3 1 0 1 0 2 0 2 0 3 1 3 3 0 2 2], initial_trace: 0 trace | s:
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | 1
naive_string_matcher
56
bfs: s: 0, A: [[0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 1], [0 0 0 1 0 0 1 1], [0 0 1 0 0 0 0 0], [0 0 0 0 0 1 1 1], [0 1 0 0 1 1 0 1], [0 0 1 0 1 0 0 1], [0 1 1 0 1 1 1 1]], initial_trace: [0 1 2 3 4 5 6 7] trace | pi:
| [0 1 2 3 4 5 6 7]
bfs
8
dijkstra: s: 3, A: [[0.607 0 0 0 0.305 0 0.797 0], [0 0.903 0.152 0 0 0.59 0.343 0.851], [0 0.152 0 0 0 0.355 0 0.422], [0 0 0 0 0 0 0 0], [0.305 0 0 0 0 0.568 0 0], [0 0.59 0.355 0 0.568 0.47 0 0], [0.797 0.343 0 0 0 0 0.695 0], [0 0.851 0.422 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7] trace | pi:
| [0 1 2 3 4 5 6 7]
dijkstra
8
segments_intersect: x: [0.422 0.121 0.641 0.823], y: [0.295 0.769 0.443 0.145] intersect:
0
segments_intersect
28
task_scheduling: d: [48 5 25 29 19 16 20 48 11 14 41 3 1 24 33 23 39 45 36 47 30 27 47 35 4 33 14 27 5 4 43 5 1 36 40 12 13 44 46 48 7 20 38 11 30 37 8 32], w: [0.304 0.238 0.404 0.616 0.361 0.766 0.138 0.097 0.948 0.856 0.948 0.404 0.794 0.17 0.922 0.347 0.511 0.785 0.539 0.819 0.608 0.904 0.606 0.404 0.175 0.985 0.301 0.02 0.014 0.198 0.362 0.179 0.237 0.647 0.836 0.051 0.428 0.958 0.641 0.649 0.027 0.455 0.828 0.996 0.397 0.464 0.278 0.526], 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] 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 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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 1 1 1 1 1 1 1 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1], [1 0 1 1 0 1 0 1 1 1 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1], [1 0 1 1 0 1 0 1 1 1 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1], [1 0 1 1 0 1 0 1 1 1 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1] | [1 0 1 1 0 1 0 1 1 1 1 0 0 0 1 0 1 1 1 1 1 1 1 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 1 1 0 0 1 1 1 1 0 1]
task_scheduling
48
binary_search: key: [0.004 0.007 0.045 0.061 0.064 0.071 0.092 0.103 0.112 0.13 0.141 0.148 0.159 0.162 0.193 0.24 0.242 0.267 0.282 0.311 0.337 0.387 0.389 0.439 0.45 0.458 0.459 0.48 0.484 0.49 0.5 0.542 0.559 0.57 0.57 0.578 0.602 0.618 0.642 0.651 0.68 0.7 0.713 0.715 0.721 0.736 0.769 0.829 0.842 0.857 0.859 0.872 0.872 0.951 0.96 0.967], target: 0.410, initial_trace: (0, 55) trace | (low, high):
(0, 27), (14, 27), (21, 27), (21, 24), (23, 24) | (23, 23)
binary_search
56
find_maximum_subarray_kadane: key: [0.957 -0.854 0.699 -0.153 0.479 -0.664 -0.31 0.167 -0.847 0.631 -0.198 0.13 -0.972 -0.067 0.344 0.208 0.844 -0.979 0.068 -0.436 0.899 0.937 -0.602 -0.568 -0.275 0.747 -0.955], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (0, 0), (0, 0), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (0, 4), (14, 16), (14, 16), (14, 16), (14, 16), (14, 16), (14, 21), (14, 21), (14, 21), (14, 21), (14, 21) | (14, 21)
find_maximum_subarray_kadane
27
dijkstra: s: 8, A: [[0.851 0 0.098 0 0 0 0 0 0 0 0 0 0.24 0 0 0.404 0 0.181 0 0 0.365], [0 0.058 0 0 0.768 0 0 0 0 0 0 0 0 0 0 0 0 0.272 0 0 0.732], [0.098 0 0.895 0 0 0 0 0 0 0.688 0 0 0 0.42 0 0.183 0.289 0 0 0 0], [0 0 0 0.164 0 0 0 0.329 0 0 0 0 0.048 0 0.652 0.544 0 0 0 0 0.411], [0 0.768 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.593 0.292], [0 0 0 0 0 0.757 0 0 0 0 0 0 0 0 0.598 0.723 0 0 0 0.257 0], [0 0 0 0 0 0 0 0 0 0 0 0.4 0 0.858 0 0 0 0 0.043 0 0], [0 0 0 0.329 0 0 0 0.436 0.181 0 0 0 0 0 0 0.424 0 0.466 0 0 0.183], [0 0 0 0 0 0 0 0.181 0.223 0 0 0 0 0 0 0 0.082 0.21 0 0 0], [0 0 0.688 0 0 0 0 0 0 0 0 0 0 0.44 0 0 0 0.601 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.4 0 0 0 0 0 0 0.353 0 0.037 0.082 0 0 0 0], [0.24 0 0 0.048 0 0 0 0 0 0 0 0 0 0 0 0.189 0 0.252 0 0 0], [0 0 0.42 0 0 0 0.858 0 0 0.44 0 0.353 0 0.267 0 0 0 0 0 0 0.355], [0 0 0 0.652 0 0.598 0 0 0 0 0 0 0 0 0.543 0 0 0.608 0 0.693 0.524], [0.404 0 0.183 0.544 0 0.723 0 0.424 0 0 0 0.037 0.189 0 0 0.125 0 0 0 0 0.382], [0 0 0.289 0 0 0 0 0 0.082 0 0 0.082 0 0 0 0 0.209 0 0 0 0], [0.181 0.272 0 0 0 0 0 0.466 0.21 0.601 0 0 0.252 0 0.608 0 0 0 0 0 0.094], [0 0 0 0 0 0 0.043 0 0 0 0 0 0 0 0 0 0 0 0.803 0 0.194], [0 0 0 0 0.593 0.257 0 0 0 0 0 0 0 0 0.693 0 0 0 0 0.652 0], [0.365 0.732 0 0.411 0.292 0 0 0.183 0 0 0 0 0 0.355 0.524 0.382 0 0.094 0.194 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] trace | pi:
[0 1 2 3 4 5 6 8 8 9 10 11 12 13 14 15 8 8 18 19 20], [0 1 16 3 4 5 6 8 8 9 10 16 12 13 14 15 8 8 18 19 20], [0 1 16 3 4 5 11 8 8 9 10 16 12 11 14 11 8 8 18 19 20], [0 1 16 7 4 5 11 8 8 9 10 16 12 11 14 11 8 8 18 19 7], [15 1 16 7 4 15 11 8 8 9 10 16 15 11 14 11 8 8 18 19 7], [17 17 16 7 4 15 11 8 8 17 10 16 15 11 17 11 8 8 18 19 17], [17 17 16 7 20 15 11 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 7 20 15 11 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 12 20 15 11 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 12 20 15 11 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 12 20 15 11 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 12 20 15 11 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 12 20 15 18 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 12 20 15 18 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 12 20 15 18 8 8 17 10 16 15 11 17 11 8 8 20 19 17], [17 17 16 12 20 15 18 8 8 17 10 16 15 11 17 11 8 8 20 4 17], [17 17 16 12 20 15 18 8 8 17 10 16 15 11 17 11 8 8 20 4 17], [17 17 16 12 20 15 18 8 8 17 10 16 15 11 17 11 8 8 20 4 17], [17 17 16 12 20 15 18 8 8 17 10 16 15 11 17 11 8 8 20 5 17] | [17 17 16 12 20 15 18 8 8 17 10 16 15 11 17 11 8 8 20 5 17]
dijkstra
21
task_scheduling: d: [26 2 26 11 24 29 40 41 12 4 13 25 57 53 15 19 7 11 14 54 6 45 25 25 31 40 28 19 52 14 7 49 10 55 39 47 44 29 6 23 51 52 4 8 35 41 31 57 8 6 48 4 49 35 3 43 52], w: [0.708 0.534 0.461 0.719 0.749 0.781 0.598 0.483 0.967 0.635 0.424 0.84 0.26 0.259 0.212 0.317 0.333 0.794 0.727 0.575 0.075 0.704 0.453 0.415 0.65 0.42 0.795 0.593 0.472 0.296 0.763 0.441 0.031 0.386 0.184 0.365 0.367 0.211 0.231 0.841 0.819 0.26 0.874 0.079 0.969 0.237 0.33 0.595 0.254 0.392 0.706 0.839 0.263 0.192 0.535 0.247 0.763], 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] 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 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [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 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 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 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.85 0.424 0.791] intersect:
0
segments_intersect
35
articulation_points: A: [[0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 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 1]], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0] trace | is_cut:
[0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 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
13
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [2 0 2 1 1 3 2 3 0 3 0 2 1 3 2 1 2 1 3], initial_trace: 0 trace | s:
0, 1, 2, 2, 2, 3, 4, 5, 6, 6, 7, 8, 9, 10, 11, 11 | 11
naive_string_matcher
19
insertion_sort: key: [0.719 0.328 0.466 0.865 0.903 0.707 0.275 0.432 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], initial_trace: [0.719 0.328 0.466 0.865 0.903 0.707 0.275 0.432 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427] trace | pred:
[0.328 0.719 0.466 0.865 0.903 0.707 0.275 0.432 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.328 0.466 0.719 0.865 0.903 0.707 0.275 0.432 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.328 0.466 0.719 0.865 0.903 0.707 0.275 0.432 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.328 0.466 0.719 0.865 0.903 0.707 0.275 0.432 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.328 0.466 0.707 0.719 0.865 0.903 0.275 0.432 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.275 0.328 0.466 0.707 0.719 0.865 0.903 0.432 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.275 0.328 0.432 0.466 0.707 0.719 0.865 0.903 0.076 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.275 0.328 0.432 0.466 0.707 0.719 0.865 0.903 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.275 0.328 0.432 0.466 0.707 0.719 0.865 0.903 0.905 0.615 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.275 0.328 0.432 0.466 0.615 0.707 0.719 0.865 0.903 0.905 0.428 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.275 0.328 0.428 0.432 0.466 0.615 0.707 0.719 0.865 0.903 0.905 0.297 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.275 0.297 0.328 0.428 0.432 0.466 0.615 0.707 0.719 0.865 0.903 0.905 0.553 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.275 0.297 0.328 0.428 0.432 0.466 0.553 0.615 0.707 0.719 0.865 0.903 0.905 0.097 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.097 0.275 0.297 0.328 0.428 0.432 0.466 0.553 0.615 0.707 0.719 0.865 0.903 0.905 0.65 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.097 0.275 0.297 0.328 0.428 0.432 0.466 0.553 0.615 0.65 0.707 0.719 0.865 0.903 0.905 0.152 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.097 0.152 0.275 0.297 0.328 0.428 0.432 0.466 0.553 0.615 0.65 0.707 0.719 0.865 0.903 0.905 0.404 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.097 0.152 0.275 0.297 0.328 0.404 0.428 0.432 0.466 0.553 0.615 0.65 0.707 0.719 0.865 0.903 0.905 0.649 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.097 0.152 0.275 0.297 0.328 0.404 0.428 0.432 0.466 0.553 0.615 0.649 0.65 0.707 0.719 0.865 0.903 0.905 0.736 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.097 0.152 0.275 0.297 0.328 0.404 0.428 0.432 0.466 0.553 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.076 0.097 0.152 0.275 0.297 0.328 0.404 0.428 0.432 0.466 0.553 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.059 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.059 0.076 0.097 0.152 0.275 0.297 0.328 0.404 0.428 0.432 0.466 0.553 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.327 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.553 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.001 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.553 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.595 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.553 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.537 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.537 0.553 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.537 0.553 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.954 0.51 0.584 0.563 0.55 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.51 0.537 0.553 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.954 0.584 0.563 0.55 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.51 0.537 0.553 0.584 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.954 0.563 0.55 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.51 0.537 0.553 0.563 0.584 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.954 0.55 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.51 0.537 0.55 0.553 0.563 0.584 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.954 0.549 0.427], [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.428 0.432 0.466 0.51 0.537 0.549 0.55 0.553 0.563 0.584 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.954 0.427] | [0.001 0.059 0.076 0.097 0.152 0.275 0.297 0.327 0.328 0.404 0.427 0.428 0.432 0.466 0.51 0.537 0.549 0.55 0.553 0.563 0.584 0.595 0.615 0.649 0.65 0.707 0.719 0.736 0.865 0.903 0.905 0.916 0.954]
insertion_sort
33
quickselect: key: [0.665 0.892 0.527 0.148 0.992 0.585 0.357 0.398 0.416 0.874 0.149 0.929 0.704 0.626 0.388 0.622 0.296 0.596 0.979 0.073 0.85 0.424 0.74 0.168 0.345 0.583 0.077 0.815 0.401 0.565 0.014 0.467 0.672 0.604 0.922], initial_trace: 34 trace | pivot:
34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 25, 25, 25, 25 | 25
quickselect
35
bellman_ford: s: 12, A: [[0.614 0.206 0.466 0 0 0 0.191 0 0 0.108 0 0.515 0], [0.206 0.516 0.292 0 0 0 0 0 0 0 0.217 0 0], [0.466 0.292 0.727 0 0.289 0 0 0 0.799 0 0.747 0.448 0], [0 0 0 0 0.733 0 0 0 0 0 0 0 0.167], [0 0 0.289 0.733 0.246 0.389 0 0.18 0 0.383 0.677 0 0], [0 0 0 0 0.389 0.902 0 0 0.551 0.955 0 0 0], [0.191 0 0 0 0 0 0 0 0.554 0 0 0 0], [0 0 0 0 0.18 0 0 0 0 0 0.569 0 0], [0 0 0.799 0 0 0.551 0.554 0 0 0.195 0 0 0.108], [0.108 0 0 0 0.383 0.955 0 0 0.195 0.677 0 0 0.342], [0 0.217 0.747 0 0.677 0 0 0.569 0 0 0.75 0 0], [0.515 0 0.448 0 0 0 0 0 0 0 0 0 0.063], [0 0 0 0.167 0 0 0 0 0.108 0.342 0 0.063 0.119]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12] trace | pi:
[0 1 2 12 4 5 6 7 12 12 10 12 12], [9 1 11 12 9 8 8 7 12 8 10 12 12], [9 0 11 12 9 8 0 4 12 8 2 12 12], [9 0 11 12 9 8 0 4 12 8 1 12 12] | [9 0 11 12 9 8 0 4 12 8 1 12 12]
bellman_ford
13
activity_selector: s: [0.292 0.16 0.79 0.107 0.066 0.07 0.752 0.178 0.624 0.454 0.545 0.094 0.254 0.326 0.846 0.304 0.147 0.447 0.075 0.444], f: [0.969 0.986 0.989 0.359 0.105 0.279 0.994 0.816 0.868 0.645 0.629 0.311 0.908 0.477 0.867 0.518 0.524 0.858 0.621 0.632], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 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 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0] | [0 0 0 1 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0]
activity_selector
20
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 1 1 1 1 1 1], key: [0 2 3 2 1 0 2 0 0 3 1 0 3 0 1 0 3 1 2 3 1 1 3 3 0 1 0 3 1 2 3 1 1 3], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16 | 17
kmp_matcher
34
bellman_ford: s: 4, A: [[0 0 0 0.47 0.376 0 0 0.333 0 0 0 0.355 0 0.31 0 0 0.292 0 0 0 0 0 0 0.569 0 0.093 0 0 0], [0 0.873 0.299 0.124 0 0 0.332 0.411 0 0 0.201 0 0.521 0 0 0 0 0 0 0.069 0 0 0 0 0 0 0 0 0], [0 0.299 0 0 0 0 0 0 0 0.404 0 0 0 0 0 0 0 0 0 0.413 0 0 0 0 0.089 0.3 0 0 0.665], [0.47 0.124 0 0 0.443 0 0 0.324 0 0 0 0 0 0.381 0 0 0.376 0 0.735 0.435 0.341 0.65 0.75 0 0.398 0 0 0 0.659], [0.376 0 0 0.443 0 0 0 0 0 0 0.277 0 0.29 0 0 0 0 0 0.502 0 0 0 0.584 0 0.458 0 0 0 0], [0 0 0 0 0 0.805 0 0 0.226 0 0.527 0 0 0.189 0.79 0.645 0 0.412 0 0.742 0 0.431 0.592 0.785 0.709 0 0 0.877 0], [0 0.332 0 0 0 0 0.765 0.81 0 0 0 0 0 0.487 0 0 0.412 0 0.3 0 0 0.592 0 0 0 0.158 0 0 0], [0.333 0.411 0 0.324 0 0 0.81 0.518 0 0 0 0 0 0.624 0 0.271 0 0 0.439 0 0 0 0 0 0 0.709 0.318 0 0], [0 0 0 0 0 0.226 0 0 0 0.55 0.379 0 0 0.159 0 0.39 0.239 0 0 0 0 0.61 0 0 0 0 0.136 0.101 0], [0 0 0.404 0 0 0 0 0 0.55 0 0 0 0.106 0 0 0 0 0 0.723 0.285 0 0 0.537 0 0.534 0 0 0 0], [0 0.201 0 0 0.277 0.527 0 0 0.379 0 0 0.649 0.79 0.552 0.242 0 0.884 0 0 0 0 0 0 0 0.912 0 0 0 0], [0.355 0 0 0 0 0 0 0 0 0 0.649 0.485 0.074 0 0 0.577 0 0 0.634 0 0 0.5 0 0 0 0.238 0 0.038 0.554], [0 0.521 0 0 0.29 0 0 0 0 0.106 0.79 0.074 0 0.329 0 0.384 0 0.588 0.294 0 0 0 0 0 0.507 0 0.275 0.361 0.216], [0.31 0 0 0.381 0 0.189 0.487 0.624 0.159 0 0.552 0 0.329 0 0 0 0 0.135 0.448 0 0 0.246 0.143 0 0 0 0 0 0], [0 0 0 0 0 0.79 0 0 0 0 0.242 0 0 0 0.113 0 0 0 0 0 0 0.565 0 0.741 0.429 0 0.732 0 0], [0 0 0 0 0 0.645 0 0.271 0.39 0 0 0.577 0.384 0 0 0 0 0.564 0 0.623 0.795 0 0.698 0 0 0 0 0 0], [0.292 0 0 0.376 0 0 0.412 0 0.239 0 0.884 0 0 0 0 0 0.817 0 0 0 0 0.205 0 0 0.627 0 0 0 0], [0 0 0 0 0 0.412 0 0 0 0 0 0 0.588 0.135 0 0.564 0 0.136 0.064 0 0 0 0 0 0 0.495 0 0 0], [0 0 0 0.735 0.502 0 0.3 0.439 0 0.723 0 0.634 0.294 0.448 0 0 0 0.064 0.207 0.407 0.405 0 0.284 0.369 0 0.114 0 0 0.193], [0 0.069 0.413 0.435 0 0.742 0 0 0 0.285 0 0 0 0 0 0.623 0 0 0.407 0.67 0 0 0 0 0 0 0 0 0], [0 0 0 0.341 0 0 0 0 0 0 0 0 0 0 0 0.795 0 0 0.405 0 0 0 0 0 0.208 0 0 0.405 0], [0 0 0 0.65 0 0.431 0.592 0 0.61 0 0 0.5 0 0.246 0.565 0 0.205 0 0 0 0 0 0 0 0 0.919 0 0.365 0], [0 0 0 0.75 0.584 0.592 0 0 0 0.537 0 0 0 0.143 0 0.698 0 0 0.284 0 0 0 0 0 0.31 0 0 0 0.305], [0.569 0 0 0 0 0.785 0 0 0 0 0 0 0 0 0.741 0 0 0 0.369 0 0 0 0 0 0.393 0 0.561 0.268 0], [0 0 0.089 0.398 0.458 0.709 0 0 0 0.534 0.912 0 0.507 0 0.429 0 0.627 0 0 0 0.208 0 0.31 0.393 0.21 0 0 0 0], [0.093 0 0.3 0 0 0 0.158 0.709 0 0 0 0.238 0 0 0 0 0 0.495 0.114 0 0 0.919 0 0 0 0.071 0 0 0], [0 0 0 0 0 0 0 0.318 0.136 0 0 0 0.275 0 0.732 0 0 0 0 0 0 0 0 0.561 0 0 0 0 0], [0 0 0 0 0 0.877 0 0 0.101 0 0 0.038 0.361 0 0 0 0 0 0 0 0.405 0.365 0 0.268 0 0 0 0.499 0], [0 0 0.665 0.659 0 0 0 0 0 0 0 0.554 0.216 0 0 0 0 0 0.193 0 0 0 0.305 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] trace | pi:
[4 1 2 4 4 5 6 7 8 9 4 11 4 13 14 15 16 17 4 19 20 21 4 23 4 25 26 27 28], [4 10 24 4 4 10 18 0 10 12 4 12 4 12 10 12 0 18 4 3 24 3 4 24 4 0 12 12 12], [4 10 24 4 4 10 25 0 10 12 4 12 4 12 10 12 0 18 4 1 24 11 4 24 4 0 12 11 12], [4 10 24 4 4 10 25 0 27 12 4 12 4 12 10 12 0 18 4 1 24 27 4 27 4 0 12 11 12] | [4 10 24 4 4 8 25 0 27 12 4 12 4 12 10 12 0 18 4 1 24 27 4 27 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 1 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 1 1 1], [0 0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0], [0 0 0 0 1 1 0 1 1 1 0 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 1 1 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 0 13 14 0 16 0 18 19 20 21 0 23 24 0 26 0 28 29 30 31 32], [0 15 12 25 15 25 6 12 12 15 22 11 0 15 27 0 12 0 17 12 17 27 0 12 15 0 12 0 17 15 17 17 17] | [0 15 12 25 15 25 2 12 12 15 22 9 0 15 27 0 12 0 17 12 17 27 0 12 15 0 12 0 17 15 17 17 17]
bfs
33
kmp_matcher: string: [0 0 0 0 0 1], key: [1 3 0 0 3 0], initial_trace: 0 trace | s:
0, 1 | 2
kmp_matcher
6
bfs: s: 7, A: [[1 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 1 1 1 0 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 0], [0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0], [1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 1 0 1 0 1 1 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 0 0 0 1 1 0 1 0 0 0 1 0], [0 0 1 1 1 1 0 1 1 1 0 1 1 1 1 0 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 1 0 1 0 1 0 0 1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 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 1 1 0 1 1 1 0 0], [1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 1 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0], [0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 1 0 1 1 0 0 0 1 0 1 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 0 0 1 0 0 0 0], [0 0 0 0 1 1 1 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 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 47 48 49 50 51 52 53 54 55 56 57 58] trace | pi:
[0 1 2 7 4 7 7 7 8 9 10 7 7 13 14 15 16 7 18 7 20 21 22 23 24 25 7 27 28 29 30 7 32 7 7 35 36 7 38 39 7 41 42 43 7 7 46 47 48 7 7 51 52 7 54 55 56 7 58] | [5 6 3 7 3 7 7 7 3 3 5 7 7 3 3 31 17 7 3 7 6 11 3 3 11 3 7 3 6 6 11 7 6 7 7 12 11 7 12 5 7 3 17 3 7 7 5 5 3 7 7 3 11 7 5 26 3 7 5]
bfs
59
articulation_points: A: [[0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 1 0 0 0 1 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 1], [0 0 0 1 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 0 0 0 0 0 0 0 0] | [0 1 0 0 0 0 0 0 0 0 0 0 0]
articulation_points
13
find_maximum_subarray_kadane: key: [-0.779 -0.971 -0.816 -0.755 0.264 -0.612 0.347 -0.919 -0.677 -0.145 -0.609 -0.596 -0.88 -0.217 -0.644 0.524 0.981 -0.324 0.441 0.165 -0.266 -0.728 -0.846 0.845 0.273 0.295 0.612 -0.831 0.441 0.895 0.85 -0.323], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (0, 0), (3, 3), (4, 4), (4, 4), (6, 6), (6, 6), (6, 6), (6, 6), (6, 6), (6, 6), (6, 6), (6, 6), (6, 6), (15, 15), (15, 16), (15, 16), (15, 18), (15, 19), (15, 19), (15, 19), (15, 19), (15, 19), (15, 19), (15, 19), (23, 26), (23, 26), (23, 26), (23, 29), (23, 30) | (23, 30)
find_maximum_subarray_kadane
32
dfs: A: [[0 0 1 0 1 1 1 0], [1 0 0 1 0 1 1 0], [0 1 1 0 0 0 0 1], [1 1 0 0 0 0 1 0], [0 0 1 1 1 1 0 0], [0 1 1 0 0 0 0 1], [0 0 1 1 0 0 0 0], [1 0 0 1 0 1 1 1]], initial_trace: [0 1 2 3 4 5 6 7] trace | pi:
[0 1 2 3 4 5 6 7], [0 1 0 3 4 5 6 7], [0 1 0 3 4 5 6 7], [0 2 0 3 4 5 6 7], [0 2 0 3 4 5 6 7], [0 2 0 1 4 5 6 7], [0 2 0 1 4 5 6 7], [0 2 0 1 4 5 3 7], [0 2 0 1 4 5 3 7], [0 2 0 1 4 5 3 7], [0 2 0 1 4 5 3 7], [0 2 0 1 4 1 3 7], [0 2 0 1 4 1 3 7], [0 2 0 1 4 1 3 5], [0 2 0 1 4 1 3 5], [0 2 0 1 4 1 3 5], [0 2 0 1 4 1 3 5], [0 2 0 1 4 1 3 5], [0 2 0 1 4 1 3 5], [0 2 0 1 0 1 3 5], [0 2 0 1 0 1 3 5], [0 2 0 1 0 1 3 5] | [0 2 0 1 0 1 3 5]
dfs
8
dag_shortest_paths: s: 5, A: [[0 0 0.442 0.24 0 0 0.187 0 0 0 0 0.814 0 0], [0 0 0.038 0 0.345 0 0 0 0 0.432 0 0 0.79 0.126], [0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.45 0.568 0 0 0 0 0.353 0.796 0.827 0 0 0.386 0.462], [0 0 0.628 0 0 0 0 0.901 0 0.675 0 0 0.664 0], [0 0 0 0 0 0 0 0.597 0 0 0 0 0.284 0], [0 0.0641 0 0 0 0.936 0 0.86 0 0.481 0 0 0.0142 0.334], [0 0 0 0 0 0 0 0 0 0.963 0 0 0 0], [0 0 0.186 0 0.909 0.793 0 0.0152 0 0.0337 0 0 0 0.827], [0 0 0 0 0 0 0 0 0 0 0.723 0 0 0], [0 0 0.659 0 0 0 0 0 0 0 0 0 0 0], [0 0.944 0.226 0 0 0.491 0.486 0.898 0.061 0 0.00851 0 0 0], [0 0 0 0 0 0 0 0 0 0 0.387 0 0 0], [0 0 0 0 0.798 0.00519 0 0 0 0 0 0 0.105 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 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 7 8 9 10 11 12 13], [0 1 2 3 4 5 6 5 8 9 10 11 5 13], [0 1 2 3 4 5 6 5 8 9 12 11 5 13], [0 1 2 3 4 5 6 5 8 7 12 11 5 13], [0 1 2 3 4 5 6 5 8 7 12 11 5 13] | [0 1 10 3 4 5 6 5 8 7 12 11 5 13]
dag_shortest_paths
14
matrix_chain_order: p: [0.215 0.684 0.172 0.07 0.996], initial_trace: [[0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0]] trace | s:
[[0 0 0 0 0], [0 0 1 0 0], [0 0 0 2 0], [0 0 0 0 3], [0 0 0 0 0]], [[0 0 0 0 0], [0 0 1 1 2], [0 0 0 2 3], [0 0 0 0 3], [0 0 0 0 0]] | [[0 0 0 0 0], [0 0 1 1 3], [0 0 0 2 3], [0 0 0 0 3], [0 0 0 0 0]]
matrix_chain_order
5
segments_intersect: x: [0.182 0.566 0.963 0.717], y: [0.659 0.337 0.356 0.629] intersect:
0
segments_intersect
24
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], key: [2 0 3 1 2 1 3 2 3 2 2 3 2 3 0 1 1 1 3 3 2 3 2 3], initial_trace: 0 trace | s:
0, 1, 2, 3, 4, 4, 5, 6, 7, 7, 7, 7, 8, 9, 9, 10, 10, 10 | 10
naive_string_matcher
24
dijkstra: s: 10, A: [[0 0 0.098 0 0 0 0 0 0 0.586 0 0.254 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.082 0.287 0 0 0 0.53 0.112 0 0.349], [0.098 0 0.933 0 0.316 0.8 0 0 0 0 0.552 0 0.608 0.893 0 0 0.476 0], [0 0 0 0.756 0 0 0 0 0 0.217 0 0 0 0 0 0 0 0], [0 0 0.316 0 0 0 0 0 0 0.063 0 0.248 0 0.796 0.113 0.414 0 0.922], [0 0 0.8 0 0 0.883 0 0.912 0 0 0 0.919 0 0.574 0 0 0 0], [0 0 0 0 0 0 0.719 0 0 0 0 0 0 0 0.355 0.066 0 0.96], [0 0 0 0 0 0.912 0 0 0 0 0 0.222 0 0 0.43 0 0 0], [0 0 0 0 0 0 0 0 0.591 0.225 0 0 0 0 0 0 0 0], [0.586 0.082 0 0.217 0.063 0 0 0 0.225 0.816 0 0.357 0 0 0.512 0 0 0], [0 0.287 0.552 0 0 0 0 0 0 0 0 0 0.282 0 0.146 0.434 0 0.68], [0.254 0 0 0 0.248 0.919 0 0.222 0 0.357 0 0.916 0.663 0 0 0 0.211 0], [0 0 0.608 0 0 0 0 0 0 0 0.282 0.663 0 0 0.764 0 0 0], [0 0 0.893 0 0.796 0.574 0 0 0 0 0 0 0 0.329 0 0 0 0], [0 0.53 0 0 0.113 0 0.355 0.43 0 0.512 0.146 0 0.764 0 0 0 0.622 0], [0 0.112 0 0 0.414 0 0.066 0 0 0 0.434 0 0 0 0 0 0 0], [0 0 0.476 0 0 0 0 0 0 0 0 0.211 0 0 0.622 0 0.83 0], [0 0.349 0 0 0.922 0 0.96 0 0 0 0.68 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] trace | pi:
[0 10 10 3 4 5 6 7 8 9 10 11 10 13 10 10 16 10], [0 10 10 3 14 5 14 14 8 14 10 11 10 13 10 10 14 10], [0 10 10 3 14 5 14 14 8 4 10 4 10 4 10 10 14 10], [0 10 10 3 14 5 14 14 8 4 10 4 10 4 10 10 14 10], [0 10 10 3 14 5 14 14 8 4 10 4 10 4 10 1 14 1], [9 10 10 9 14 5 14 14 9 4 10 4 10 4 10 1 14 1], [9 10 10 9 14 5 15 14 9 4 10 4 10 4 10 1 14 1], [9 10 10 9 14 5 15 14 9 4 10 4 10 4 10 1 14 1], [11 10 10 9 14 11 15 14 9 4 10 4 10 4 10 1 11 1], [11 10 10 9 14 11 15 14 9 4 10 4 10 4 10 1 11 1], [11 10 10 9 14 11 15 14 9 4 10 4 10 4 10 1 11 1], [2 10 10 9 14 2 15 14 9 4 10 4 10 4 10 1 11 1], [2 10 10 9 14 2 15 14 9 4 10 4 10 4 10 1 11 1], [2 10 10 9 14 2 15 14 9 4 10 4 10 4 10 1 11 1], [2 10 10 9 14 2 15 14 9 4 10 4 10 4 10 1 11 1], [2 10 10 9 14 2 15 14 9 4 10 4 10 4 10 1 11 1], [2 10 10 9 14 2 15 14 9 4 10 4 10 4 10 1 11 1] | [2 10 10 9 14 2 15 14 9 4 10 4 10 4 10 1 11 1]
dijkstra
18
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 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1], key: [1 0 2 0 1 3 3 2 1 1 2 1 3 3 0 1 2 3 3 0 1 2 3 3 2 3 3 2 1 3 0 1 2 0 2 1 0 0 0 1 3 3 1 1 2 3 3 0 0 3 2 1 3 3 0 1 2 3 3 0 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, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 | 10
kmp_matcher
62
topological_sort: A: [[0 0 1 0 0 1 1 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 1 0 0 0 0 0 0 0 0 0 1 0 0 0], [1 1 0 0 0 1 1 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [1 0 0 1 1 1 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 0 1 1 1 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 1 0 0 1 0 0 1 0 0 0 0 1], [0 1 0 0 1 1 0 1 1 0 1 0 0 0 1], [0 0 0 0 1 0 1 0 0 0 0 1 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 2, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 2, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 2, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], 2, [0 1 2 3 4 5 6 7 8 9 10 2 12 13 14], 11, [0 1 2 3 4 5 11 7 8 9 10 2 12 13 14], 6, [0 1 2 3 4 5 11 7 8 9 10 2 12 13 14], 6, [0 1 2 3 4 5 11 7 6 9 10 2 12 13 14], 8, [0 1 2 3 4 8 11 7 6 9 10 2 12 13 14], 5, [5 1 2 3 4 8 11 7 6 9 10 2 12 13 14], 0, [5 1 2 3 4 8 11 7 6 9 10 2 12 13 14], 0, [5 1 2 3 4 8 11 7 6 9 10 2 12 13 14], 0, [5 0 2 3 4 8 11 7 6 9 10 2 12 13 14], 1, [5 0 2 3 4 8 11 7 6 9 10 2 12 13 14], 1, [5 0 2 3 4 8 11 7 6 9 10 2 12 13 14], 1, [5 0 2 1 4 8 11 7 6 9 10 2 12 13 14], 3, [5 0 2 1 4 8 11 7 6 9 10 2 12 13 14], 3, [5 0 2 1 4 8 11 7 6 9 10 2 12 13 14], 3, [5 0 2 1 3 8 11 7 6 9 10 2 12 13 14], 4, [5 0 2 1 3 8 11 7 6 9 10 2 12 13 14], 4, [5 0 2 1 3 8 11 7 6 9 10 2 12 13 14], 4, [5 0 2 1 3 8 11 7 6 9 10 2 12 13 14], 4, [5 0 2 1 3 8 11 7 6 4 10 2 12 13 14], 9, [5 0 2 1 3 8 11 9 6 4 10 2 12 13 14], 7, [5 0 2 1 3 8 11 9 6 4 10 2 12 13 14], 7, [5 0 2 1 3 8 11 9 6 4 10 2 12 13 14], 7, [5 0 2 1 3 8 11 9 6 4 7 2 12 13 14], 10, [5 0 2 1 3 8 11 9 6 4 7 2 12 13 14], 10, [5 0 2 1 3 8 11 9 6 4 7 2 12 13 14], 10, [5 0 2 1 3 8 11 9 6 4 7 2 12 13 14], 10, [5 0 2 1 3 8 11 9 6 4 7 2 12 13 10], 14, [5 0 2 1 3 8 11 9 6 4 7 2 14 13 10], 12, [5 0 2 1 3 8 11 9 6 4 7 2 14 13 10], 12, [5 0 2 1 3 8 11 9 6 4 7 2 14 13 10], 12 | [5 0 2 1 3 8 11 9 6 4 7 2 14 12 10], 13
topological_sort
15
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 1 1], key: [0 0 2 1 0 1 2 0 2 1 1 2 1], initial_trace: 0 trace | s:
1, 2 | 2
naive_string_matcher
13
bubble_sort: key: [0.931 0.947 0.427 0.196 0.027 0.743 0.771 0.738], initial_trace: [0.931 0.947 0.427 0.196 0.027 0.743 0.771 0.738] trace | pred:
[0.931 0.947 0.427 0.196 0.027 0.743 0.738 0.771], [0.931 0.947 0.427 0.196 0.027 0.738 0.743 0.771], [0.931 0.947 0.427 0.196 0.027 0.738 0.743 0.771], [0.931 0.947 0.427 0.027 0.196 0.738 0.743 0.771], [0.931 0.947 0.027 0.427 0.196 0.738 0.743 0.771], [0.931 0.027 0.947 0.427 0.196 0.738 0.743 0.771], [0.027 0.931 0.947 0.427 0.196 0.738 0.743 0.771], [0.027 0.931 0.947 0.427 0.196 0.738 0.743 0.771], [0.027 0.931 0.947 0.427 0.196 0.738 0.743 0.771], [0.027 0.931 0.947 0.427 0.196 0.738 0.743 0.771], [0.027 0.931 0.947 0.196 0.427 0.738 0.743 0.771], [0.027 0.931 0.196 0.947 0.427 0.738 0.743 0.771], [0.027 0.196 0.931 0.947 0.427 0.738 0.743 0.771], [0.027 0.196 0.931 0.947 0.427 0.738 0.743 0.771], [0.027 0.196 0.931 0.947 0.427 0.738 0.743 0.771], [0.027 0.196 0.931 0.947 0.427 0.738 0.743 0.771], [0.027 0.196 0.931 0.427 0.947 0.738 0.743 0.771], [0.027 0.196 0.427 0.931 0.947 0.738 0.743 0.771], [0.027 0.196 0.427 0.931 0.947 0.738 0.743 0.771], [0.027 0.196 0.427 0.931 0.947 0.738 0.743 0.771], [0.027 0.196 0.427 0.931 0.738 0.947 0.743 0.771], [0.027 0.196 0.427 0.738 0.931 0.947 0.743 0.771], [0.027 0.196 0.427 0.738 0.931 0.947 0.743 0.771], [0.027 0.196 0.427 0.738 0.931 0.743 0.947 0.771], [0.027 0.196 0.427 0.738 0.743 0.931 0.947 0.771], [0.027 0.196 0.427 0.738 0.743 0.931 0.771 0.947], [0.027 0.196 0.427 0.738 0.743 0.771 0.931 0.947] | [0.027 0.196 0.427 0.738 0.743 0.771 0.931 0.947]
bubble_sort
8
floyd_warshall: A: [[0.718 0 0 0 0], [0 0 0.328 0 0.522], [0 0.328 0 0 0], [0 0 0 0 0], [0 0.522 0 0 0.235]], initial_trace: [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]] trace | Pi:
[[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 2], [3 3 3 3 3], [4 4 4 4 4]], [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 1], [3 3 3 3 3], [4 4 1 4 4]], [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 1], [3 3 3 3 3], [4 4 1 4 4]] | [[0 0 0 0 0], [1 1 1 1 1], [2 2 2 2 1], [3 3 3 3 3], [4 4 1 4 4]]
floyd_warshall
5
articulation_points: A: [[0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1], [0 1 0 0 0 0 0 0 0], [1 0 0 0 0 0 1 0 0]], initial_trace: [0 0 0 0 0 0 0 0 0] trace | is_cut:
[0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 1] | [0 0 0 0 0 0 0 0 1]
articulation_points
9
graham_scan: x: [0.958 1.12 -0.088 -0.995 0.972 1.31 -0.278 1.08 0.818 0.672 1.19 0.405 0.424 0.214 -1.09 0.882 0.219 -0.613 -1.04 1.02 -1.46 1.3 0.002 -1.52 -1.26 -1.46], y: [-1.44 1.3 0.983 -0.493 -1.14 -0.538 -0.174 0.286 1.77 1.37 -0.001 -0.99 0.663 -0.213 -0.454 1.14 -1.73 -0.847 1.5 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1 0 0 1 1], [1 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 1 1], [1 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 1 1], [1 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 1 1], [1 1 0 0 0 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 1 1 0 0 1 1], [1 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 1 1], [1 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 1 0] | [1 1 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 1 0 1 1 0]
graham_scan
26
segments_intersect: x: [0.237 0.823 0.992 0.036], y: [0.537 0.829 0.965 0.396] intersect:
1
segments_intersect
51
articulation_points: A: [[0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 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 0 0 0 0 0 0], [1 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0]], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0] trace | is_cut:
[0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [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
12
dfs: A: [[0 1 1 0 1 0 0], [0 0 1 1 1 0 1], [0 1 1 1 0 1 0], [0 0 0 0 1 1 0], [1 0 1 1 0 1 1], [1 0 0 0 1 0 1], [0 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 0 2 3 4 5 6], [0 0 2 3 4 5 6], [0 0 1 3 4 5 6], [0 0 1 3 4 5 6], [0 0 1 2 4 5 6], [0 0 1 2 4 5 6], [0 0 1 2 3 5 6], [0 0 1 2 3 5 6], [0 0 1 2 3 4 6], [0 0 1 2 3 4 6], [0 0 1 2 3 4 5], [0 0 1 2 3 4 5], [0 0 1 2 3 4 5], [0 0 1 2 3 4 5], [0 0 1 2 3 4 5], [0 0 1 2 3 4 5], [0 0 1 2 3 4 5], [0 0 1 2 3 4 5] | [0 0 1 2 3 4 5]
dfs
7
minimum: key: [0.315 0.693 0.745 0.559 0.626 0.937 0.146 0.111 0.543 0.753 0.031 0.161 0.338], initial_trace: 0 trace | min:
0, 0, 0, 0, 0, 6, 7, 7, 7, 10, 10 | 10
minimum
13
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: [2 0 3 0 2 1 0 1 2 0 1 0 1 2 3 0 1 3 0 1 0 2 1 0 1], initial_trace: 0 trace | s:
1, 1, 2, 3, 3, 3, 3 | 3
naive_string_matcher
25
graham_scan: x: [-0.107 0.137 -1.44 -1.04 0.305 1.03 0.957 0.791 -1.07 0.726 0.929 -1.49 -1.6 0.14 0.803 1.42 -0.019 -0.06 -0.307 1.69 -0.239 0.023 -0.304 -0.82 -0.736 1.32], y: [1.28 -0.797 -1.26 1.51 0.952 -1.51 -1.71 -0.823 -0.904 1.34 -1.67 -1.03 -0.513 -0.674 1.77 -0.921 -1.26 0.666 -0.313 -0.169 -1.96 -0.645 -0.998 0.663 -0.355 0.462], 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] trace | in_hull:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 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 1 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 1 0 1 0 0 0 0], [0 0 0 1 0 0 1 0 0 1 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 1 0 0], [1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 1 0 1 0 0 0 0 0 1 1 0 0 0 1 0 1 0], [0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 1 1], [1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 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 28 29 30 31 32 33] trace | pi:
[0 1 2 3 24 24 24 7 8 9 10 24 12 13 14 15 24 17 18 19 20 21 22 23 24 25 24 27 24 29 30 31 32 24], [33 28 11 3 24 24 24 16 6 28 4 24 4 4 11 26 24 4 5 6 6 26 6 28 24 4 24 5 24 4 6 16 6 24] | [33 28 11 7 24 24 24 16 6 28 4 24 4 4 11 26 24 4 5 6 6 26 6 28 24 4 24 5 24 4 6 16 6 24]
bfs
34
insertion_sort: key: [0.173 0.305 0.403 0.541 0.353 0.715], initial_trace: [0.173 0.305 0.403 0.541 0.353 0.715] trace | pred:
[0.173 0.305 0.403 0.541 0.353 0.715], [0.173 0.305 0.403 0.541 0.353 0.715], [0.173 0.305 0.403 0.541 0.353 0.715], [0.173 0.305 0.353 0.403 0.541 0.715] | [0.173 0.305 0.353 0.403 0.541 0.715]
insertion_sort
6
segments_intersect: x: [0.105 0.785 0.425 0.779], y: [0.913 0.752 0.646 0.281] intersect:
0
segments_intersect
33
quickselect: key: [0.951 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 0.06 0.192 0.552 0.561 0.874 0.769 0.032 0.95 0.49 0.428 0.444 0.117 0.349 0.014 0.534 0.786 0.839 0.3 0.756], initial_trace: 52 trace | pivot:
52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16 | 16
quickselect
53
lcs_length: string: [0 0 0 0 0 1 1 1 1], key: [0 1 3 3 2 1 1 3 3], initial_trace: [[-1 -1 -1 -1 -1 1 1 1 1], [-1 -1 -1 -1 -1 0 0 0 0], [-1 -1 -1 -1 -1 1 0 0 0], [-1 -1 -1 -1 -1 1 0 0 0], [-1 -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 -1 -1 -1 -1]] trace | b:
[[-1 -1 -1 -1 -1 1 1 1 1], [-1 -1 -1 -1 -1 0 0 1 1], [-1 -1 -1 -1 -1 1 2 0 0], [-1 -1 -1 -1 -1 1 2 0 0], [-1 -1 -1 -1 -1 1 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], [-1 -1 -1 -1 -1 0 0 2 1], [-1 -1 -1 -1 -1 1 1 0 0], [-1 -1 -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 -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 0 2 2], [-1 -1 -1 -1 -1 1 1 0 0], [-1 -1 -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 -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 0 2 2], [-1 -1 -1 -1 -1 1 1 0 0], [-1 -1 -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 -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
9
mst_prim: s: 14, A: [[0.517 0 0.397 0 0.754 0.241 0 0 0 0 0.073 0 0 0 0 0.251 0 0 0 0 0 0.218 0 0], [0 0 0.569 0.125 0 0.234 0.753 0.522 0 0 0 0 0.849 0 0 0 0 0.767 0.432 0 0 0 0 0], [0.397 0.569 0 0.17 0 0 0.608 0 0 0 0.424 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0.125 0.17 0 0 0 0.524 0.178 0.226 0 0 0.404 0 0.249 0 0 0 0.268 0.26 0.783 0 0 0.527 0], [0.754 0 0 0 0.63 0 0 0 0 0 0.711 0 0 0 0 0.292 0 0 0.191 0.505 0 0 0 0], [0.241 0.234 0 0 0 0 0 0 0.48 0 0 0 0 0 0 0.167 0 0.373 0 0.544 0.099 0 0 0.368], [0 0.753 0.608 0.524 0 0 0 0 0 0.172 0.359 0 0 0 0 0 0 0 0.245 0 0 0 0 0], [0 0.522 0 0.178 0 0 0 0.789 0 0 0 0 0 0 0.577 0 0.06 0 0 0.161 0 0 0.387 0.537], [0 0 0 0.226 0 0.48 0 0 0.096 0 0.255 0 0 0 0.31 0 0.242 0 0 0 0 0.842 0.215 0], [0 0 0 0 0 0 0.172 0 0 0 0 0 0 0.853 0 0 0.185 0 0 0 0 0.444 0 0], [0.073 0 0.424 0 0.711 0 0.359 0 0.255 0 0 0 0 0 0 0 0 0 0 0 0.182 0 0.591 0], [0 0 0 0.404 0 0 0 0 0 0 0 0 0 0.675 0 0 0 0 0.636 0 0 0 0 0.821], [0 0.849 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.845 0 0 0 0.929 0 0 0], [0 0 0 0.249 0 0 0 0 0 0.853 0 0.675 0 0 0.215 0 0 0 0.784 0 0 0 0.43 0], [0 0 0 0 0 0 0 0.577 0.31 0 0 0 0 0.215 0 0 0 0 0.595 0 0 0.209 0.553 0], [0.251 0 0 0 0.292 0.167 0 0 0 0 0 0 0 0 0 0.831 0 0 0 0.144 0 0.292 0 0], [0 0 0 0 0 0 0 0.06 0.242 0.185 0 0 0.845 0 0 0 0 0 0.655 0 0.436 0.531 0 0], [0 0.767 0 0.268 0 0.373 0 0 0 0 0 0 0 0 0 0 0 0 0 0.381 0.6 0.572 0.219 0], [0 0.432 0 0.26 0.191 0 0.245 0 0 0 0 0.636 0 0.784 0.595 0 0.655 0 0.424 0 0.272 0 0.445 0], [0 0 0 0.783 0.505 0.544 0 0.161 0 0 0 0 0 0 0 0.144 0 0.381 0 0 0 0.345 0 0], [0 0 0 0 0 0.099 0 0 0 0 0.182 0 0.929 0 0 0 0.436 0.6 0.272 0 0 0 0 0], [0.218 0 0 0 0 0 0 0 0.842 0.444 0 0 0 0 0.209 0.292 0.531 0.572 0 0.345 0 0 0 0.321], [0 0 0 0.527 0 0 0 0.387 0.215 0 0.591 0 0 0.43 0.553 0 0 0.219 0.445 0 0 0 0 0.214], [0 0 0 0 0 0.368 0 0.537 0 0 0 0.821 0 0 0 0 0 0 0 0 0 0.321 0.214 0.119]], 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] trace | pi:
[0 1 2 3 4 5 6 14 14 9 10 11 12 14 14 15 16 17 14 19 20 14 14 23], [21 1 2 3 4 5 6 14 14 21 10 11 12 14 14 21 21 21 14 21 20 14 14 21], [21 1 2 13 4 5 6 14 14 21 10 13 12 14 14 21 21 21 14 21 20 14 13 21], [21 1 0 13 0 0 6 14 14 21 0 13 12 14 14 0 21 21 14 21 20 14 13 21], [21 1 0 13 10 0 10 14 10 21 0 13 12 14 14 0 21 21 14 21 10 14 13 21], [21 1 0 13 10 20 10 14 10 21 0 13 20 14 14 0 20 21 20 21 10 14 13 21], [21 5 0 13 10 20 10 14 10 21 0 13 20 14 14 5 20 5 20 21 10 14 13 21], [21 5 0 13 15 20 10 14 10 21 0 13 20 14 14 5 20 5 20 15 10 14 13 21], [21 5 0 13 15 20 10 19 10 21 0 13 20 14 14 5 20 5 20 15 10 14 13 21], [21 5 0 7 15 20 10 19 10 21 0 13 20 14 14 5 7 5 20 15 10 14 7 21], [21 5 0 7 15 20 10 19 16 16 0 13 16 14 14 5 7 5 20 15 10 14 7 21], [21 3 3 7 15 20 10 19 3 16 0 3 16 14 14 5 7 3 3 15 10 14 7 21], [21 3 3 7 15 20 10 19 3 16 0 3 16 14 14 5 7 3 3 15 10 14 7 21], [21 3 3 7 15 20 10 19 3 16 0 3 16 14 14 5 7 3 3 15 10 14 7 21], [21 3 3 7 15 20 9 19 3 16 0 3 16 14 14 5 7 3 3 15 10 14 7 21], [21 3 3 7 15 20 9 19 3 16 0 3 16 14 14 5 7 3 6 15 10 14 7 21], [21 3 3 7 15 20 9 19 3 16 0 3 16 14 14 5 7 3 6 15 10 14 8 21], [21 3 3 7 15 20 9 19 3 16 0 3 16 14 14 5 7 22 6 15 10 14 8 22], [21 3 3 7 15 20 9 19 3 16 0 3 16 14 14 5 7 22 6 15 10 14 8 22], [21 3 3 7 15 20 9 19 3 16 0 3 16 14 14 5 7 22 6 15 10 14 8 22], [21 3 3 7 18 20 9 19 3 16 0 3 16 14 14 5 7 22 6 15 10 14 8 22], [21 3 3 7 18 20 9 19 3 16 0 3 16 14 14 5 7 22 6 15 10 14 8 22], [21 3 3 7 18 20 9 19 3 16 0 3 16 14 14 5 7 22 6 15 10 14 8 22] | [21 3 3 7 18 20 9 19 3 16 0 3 16 14 14 5 7 22 6 15 10 14 8 22]
mst_prim
24
quickselect: key: [0.677 0.21 0.771 0.249 0.639 0.83 0.281 0.871 0.739 0.78 0.93 0.823 0.619 0.259 0.661 0.791 0.067 0.269 0.028 0.455 0.342 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 0.923 0.063 0.461 0.191], initial_trace: 50 trace | pivot:
50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 22, 22, 22, 22, 22, 22, 22, 22, 22, 24, 24, 24, 24, 24, 24 | 24
quickselect
51
dijkstra: s: 11, A: [[0 0 0 0 0 0 0.284 0 0 0 0 0 0 0 0 0 0 0.75 0.515 0 0 0 0.896 0 0 0 0], [0 0.868 0.645 0 0 0 0 0.156 0 0.072 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.692 0 0.187], [0 0.645 0.04 0.196 0 0 0 0 0 0.317 0 0 0 0 0.532 0 0 0 0 0 0 0.576 0.615 0 0 0 0], [0 0 0.196 0 0.691 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.348 0.169 0 0 0 0 0 0], [0 0 0 0.691 0.85 0 0 0 0 0 0 0.862 0.333 0 0 0.41 0 0 0 0.453 0 0 0 0.184 0 0 0], [0 0 0 0 0 0 0.458 0 0 0 0 0.516 0.219 0 0 0 0 0 0 0 0.924 0 0.309 0.572 0.331 0 0], [0.284 0 0 0 0 0.458 0.526 0 0 0.412 0 0 0 0 0.883 0 0.448 0 0 0.274 0 0 0 0 0.715 0 0.327], [0 0.156 0 0 0 0 0 0.037 0.914 0 0.53 0.556 0 0 0 0.609 0 0 0 0.529 0 0.348 0 0.705 0 0.741 0], [0 0 0 0 0 0 0 0.914 0.712 0 0 0 0 0 0 0 0 0.537 0 0 0 0 0 0.706 0 0 0], [0 0.072 0.317 0 0 0 0.412 0 0 0 0 0.584 0.463 0 0 0.381 0 0.603 0.55 0 0.606 0.351 0 0 0 0.986 0], [0 0 0 0 0 0 0 0.53 0 0 0.222 0 0 0 0.403 0 0 0 0 0 0 0 0.826 0 0 0 0], [0 0 0 0 0.862 0.516 0 0.556 0 0.584 0 0 0.303 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.333 0.219 0 0 0 0.463 0 0.303 0 0 0.701 0 0 0.398 0 0.629 0 0 0.437 0.384 0 0 0.559], [0 0 0 0 0 0 0 0 0 0 0 0 0 0.386 0 0 0 0 0.575 0 0 0 0.194 0 0 0 0.811], [0 0 0.532 0 0 0 0.883 0 0 0 0.403 0 0.701 0 0 0 0.843 0.102 0 0 0.936 0.285 0 0 0 0 0], [0 0 0 0 0.41 0 0 0.609 0 0.381 0 0 0 0 0 0 0 0 0 0 0.387 0.096 0 0 0.818 0 0.398], [0 0 0 0 0 0 0.448 0 0 0 0 0 0 0 0.843 0 0 0 0 0 0.767 0.29 0 0.58 0.696 0 0], [0.75 0 0 0 0 0 0 0 0.537 0.603 0 0 0.398 0 0.102 0 0 0.102 0 0.816 0 0 0 0 0 0 0], [0.515 0 0 0 0 0 0 0 0 0.55 0 0 0 0.575 0 0 0 0 0.588 0.217 0.588 0.771 0 0 0 0 0], [0 0 0 0.348 0.453 0 0.274 0.529 0 0 0 0 0.629 0 0 0 0 0.816 0.217 0 0 0 0 0 0 0.369 0.558], [0 0 0 0.169 0 0.924 0 0 0 0.606 0 0 0 0 0.936 0.387 0.767 0 0.588 0 0 0 0 0.127 0.932 0 0.246], [0 0 0.576 0 0 0 0 0.348 0 0.351 0 0 0 0 0.285 0.096 0.29 0 0.771 0 0 0 0.744 0.464 0.433 0 0.043], [0.896 0 0.615 0 0 0.309 0 0 0 0 0.826 0 0.437 0.194 0 0 0 0 0 0 0 0.744 0 0.496 0 0.464 0], [0 0 0 0 0.184 0.572 0 0.705 0.706 0 0 0 0.384 0 0 0 0.58 0 0 0 0.127 0.464 0.496 0.433 0 0 0], [0 0.692 0 0 0 0.331 0.715 0 0 0 0 0 0 0 0 0.818 0.696 0 0 0 0.932 0.433 0 0 0.705 0 0], [0 0 0 0 0 0 0 0.741 0 0.986 0 0 0 0 0 0 0 0 0 0.369 0 0 0.464 0 0 0.327 0], [0 0.187 0 0 0 0 0.327 0 0 0 0 0 0.559 0.811 0 0.398 0 0 0 0.558 0.246 0.043 0 0 0 0 0.854]], 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] trace | pi:
[0 1 2 3 11 11 6 11 8 11 10 11 11 13 14 15 16 17 18 19 20 21 22 23 24 25 26], [0 1 2 3 12 11 6 11 8 11 10 11 11 13 12 15 16 12 18 12 20 21 12 12 24 25 12], [0 1 2 3 12 11 5 11 8 11 10 11 11 13 12 15 16 12 18 12 5 21 12 12 5 25 12], [0 7 2 3 12 11 5 11 7 11 7 11 11 13 12 7 16 12 18 12 5 7 12 12 5 7 12], [0 9 9 3 12 11 5 11 7 11 7 11 11 13 12 9 16 12 9 12 9 7 12 12 5 7 12], [0 9 9 4 12 11 5 11 7 11 7 11 11 13 12 9 16 12 9 12 9 7 12 12 5 7 12], [0 9 9 4 12 11 5 11 7 11 7 11 11 13 12 9 16 12 9 12 9 7 12 12 5 7 1], [0 9 9 4 12 11 5 11 23 11 7 11 11 13 12 9 23 12 9 12 23 7 12 12 5 7 1], [17 9 9 4 12 11 5 11 17 11 7 11 11 13 17 9 23 12 9 12 23 7 12 12 5 7 1], [17 9 9 4 12 11 5 11 17 11 7 11 11 22 17 9 23 12 9 12 23 7 12 12 5 22 1], [17 9 9 4 12 11 5 11 17 11 7 11 11 22 17 9 23 12 9 12 23 7 12 12 5 22 1], [17 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 23 12 9 12 23 7 12 12 5 22 1], [17 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 23 12 9 12 23 26 12 12 5 22 1], [17 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 23 12 9 12 23 26 12 12 5 22 1], [17 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [17 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [17 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [17 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [17 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [6 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [6 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [6 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [6 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [6 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [6 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1], [6 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1] | [6 9 9 20 12 11 5 11 17 11 7 11 11 22 17 9 21 12 9 12 23 26 12 12 5 22 1]
dijkstra
27
topological_sort: A: [[0 1 1 1 0 0 1 1 0 1 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0 0 1], [0 0 1 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1], [0 0 0 1 1 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 1 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 1 1 0 0 0 1 0 0 1 0 1 1 0 0 0 0 1 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 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 1 1 1 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 0], [0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 1 0 0 0 0 0 1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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], 0, [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], 0, [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], 0, [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], 0, [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], 0, [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], 15, [0 1 2 15 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], 3, [0 1 2 15 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], 3, [0 1 2 15 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], 3, [0 1 2 15 4 5 3 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], 6, [0 1 2 15 4 5 3 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], 6, [0 1 2 15 4 5 3 7 8 9 10 6 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], 11, [0 1 2 15 4 5 3 7 8 9 10 6 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], 11, [0 1 2 15 4 5 3 7 8 9 10 6 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26], 11, [0 1 2 15 4 5 3 7 8 9 10 6 12 13 14 15 16 17 18 19 11 21 22 23 24 25 26], 20, [0 1 2 15 4 5 3 7 8 9 10 6 12 13 20 15 16 17 18 19 11 21 22 23 24 25 26], 14, [0 1 2 15 14 5 3 7 8 9 10 6 12 13 20 15 16 17 18 19 11 21 22 23 24 25 26], 4, [0 1 2 15 14 5 3 7 8 9 10 6 12 13 20 15 16 17 18 19 11 21 22 23 24 25 26], 4, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 21 22 23 24 25 26], 8, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 21 22 23 24 25 26], 8, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 21 22 23 24 25 26], 8, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 8 22 23 24 25 26], 21, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 8 22 23 24 25 26], 21, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 8 22 23 24 25 26], 21, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 8 22 23 24 21 26], 25, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 8 25 23 24 21 26], 22, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 8 25 23 24 21 26], 22, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 17 18 19 11 8 25 23 24 21 22], 26, [0 1 2 15 14 5 3 7 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 24 21 22], 17, [0 1 17 15 14 5 3 7 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 24 21 22], 2, [0 2 17 15 14 5 3 7 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 24 21 22], 1, [0 2 17 15 14 5 3 7 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 24 21 22], 1, [0 2 17 15 14 5 3 1 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 24 21 22], 7, [0 2 17 15 14 5 3 1 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 24 21 22], 7, [0 2 17 15 14 5 3 1 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 24 21 22], 7, [0 2 17 15 14 5 3 1 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 24 21 22], 7, [0 2 17 15 14 5 3 1 4 9 10 6 12 13 20 15 16 26 18 19 11 8 25 23 7 21 22], 24, [0 2 17 15 14 5 3 1 4 9 10 6 12 24 20 15 16 26 18 19 11 8 25 23 7 21 22], 13, [0 2 17 15 14 5 3 1 4 13 10 6 12 24 20 15 16 26 18 19 11 8 25 23 7 21 22], 9, [0 2 17 15 14 5 3 1 4 13 10 6 12 24 20 15 16 26 18 19 11 8 25 23 7 21 22], 9, [0 2 17 15 14 5 3 1 4 13 10 6 9 24 20 15 16 26 18 19 11 8 25 23 7 21 22], 12, [0 2 17 15 14 5 3 1 4 13 10 6 9 24 20 15 16 26 18 19 11 8 25 23 7 21 22], 12, [0 2 17 15 14 5 3 1 4 13 10 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 16, [16 2 17 15 14 5 3 1 4 13 10 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 0, [16 2 17 15 14 5 3 1 4 13 10 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 0, [16 2 17 15 14 5 3 1 4 13 10 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 0, [16 2 17 15 14 0 3 1 4 13 10 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 5, [16 2 17 15 14 0 3 1 4 13 10 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 5, [16 2 17 15 14 0 3 1 4 13 10 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 5, [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 10, [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 10, [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 10, [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 18 19 11 8 25 23 7 21 22], 10, [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 18 10 11 8 25 23 7 21 22], 19, [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 19 10 11 8 25 23 7 21 22], 18, [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 19 10 11 8 25 23 7 21 22], 18, [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 19 10 11 8 25 23 7 21 22], 18 | [16 2 17 15 14 0 3 1 4 13 5 6 9 24 20 15 12 26 19 10 11 8 25 18 7 21 22], 23
topological_sort
27
binary_search: key: [0.028 0.043 0.075 0.164 0.23 0.232 0.258 0.26 0.315 0.482 0.482 0.564 0.64 0.657 0.697 0.713 0.718 0.817 0.855 0.857 0.94 0.941], target: 0.943, initial_trace: (0, 21) trace | (low, high):
(11, 21), (17, 21), (20, 21) | (21, 21)
binary_search
22
find_maximum_subarray_kadane: key: [-0.572 -0.839 -0.126 -0.48 -0.66 0.118 0.359 -0.54 -0.625 -0.372 -0.229 0.724 0.427 -0.48 -0.926 0.383 0.935 -0.782 -0.948 0.672 -0.957 -0.989 -0.604 -0.533 0.434 0.677 -0.293 0.969 -0.617 -0.422 0.06 -0.524 -0.373 -0.909 0.6 -0.181 -0.23 0.391 -0.134 -0.875 -0.497 -0.018 -0.003 -1 0.036 -0.312 -0.263 -0.814 0.258 0.362 0.061 -0.589 -0.841 -0.833 0.508 -0.652 0.259 -0.529 1 -0.039 0.813 -0.145 0.514], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (2, 2), (2, 2), (2, 2), (5, 5), (5, 6), (5, 6), (5, 6), (5, 6), (5, 6), (11, 11), (11, 12), (11, 12), (11, 12), (11, 12), (15, 16), (15, 16), (15, 16), (15, 16), (15, 16), (15, 16), (15, 16), (15, 16), (15, 16), (15, 16), (15, 16), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27), (24, 27) | (58, 62)
find_maximum_subarray_kadane
63
insertion_sort: key: [0.619 0.259 0.661 0.791 0.067 0.269 0.028 0.455 0.342 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], initial_trace: [0.619 0.259 0.661 0.791 0.067 0.269 0.028 0.455 0.342 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] trace | pred:
[0.259 0.619 0.661 0.791 0.067 0.269 0.028 0.455 0.342 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.259 0.619 0.661 0.791 0.067 0.269 0.028 0.455 0.342 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.259 0.619 0.661 0.791 0.067 0.269 0.028 0.455 0.342 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.067 0.259 0.619 0.661 0.791 0.269 0.028 0.455 0.342 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.067 0.259 0.269 0.619 0.661 0.791 0.028 0.455 0.342 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.028 0.067 0.259 0.269 0.619 0.661 0.791 0.455 0.342 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.028 0.067 0.259 0.269 0.455 0.619 0.661 0.791 0.342 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.028 0.067 0.259 0.269 0.342 0.455 0.619 0.661 0.791 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.028 0.067 0.259 0.269 0.342 0.455 0.619 0.622 0.661 0.791 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.028 0.067 0.259 0.269 0.342 0.455 0.565 0.619 0.622 0.661 0.791 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.028 0.067 0.259 0.269 0.342 0.441 0.455 0.565 0.619 0.622 0.661 0.791 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.028 0.067 0.259 0.269 0.342 0.441 0.455 0.565 0.577 0.619 0.622 0.661 0.791 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.028 0.067 0.259 0.269 0.342 0.441 0.455 0.49 0.565 0.577 0.619 0.622 0.661 0.791 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.028 0.067 0.182 0.259 0.269 0.342 0.441 0.455 0.49 0.565 0.577 0.619 0.622 0.661 0.791 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.028 0.067 0.182 0.259 0.269 0.342 0.437 0.441 0.455 0.49 0.565 0.577 0.619 0.622 0.661 0.791 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.028 0.067 0.182 0.259 0.269 0.342 0.437 0.441 0.455 0.49 0.565 0.577 0.619 0.622 0.661 0.772 0.791 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.028 0.067 0.182 0.259 0.269 0.342 0.437 0.441 0.455 0.49 0.565 0.577 0.619 0.622 0.661 0.772 0.791 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.028 0.067 0.182 0.259 0.269 0.342 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.661 0.772 0.791 0.907 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.028 0.067 0.182 0.259 0.269 0.342 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.661 0.751 0.772 0.791 0.907 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.028 0.067 0.182 0.259 0.269 0.342 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.654 0.661 0.751 0.772 0.791 0.907 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.028 0.067 0.182 0.189 0.259 0.269 0.342 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.654 0.661 0.751 0.772 0.791 0.907 0.689 0.637 0.354 0.239 0.738 0.186 0.636 0.873 0.26 0.968 0.763], [0.028 0.067 0.182 0.189 0.259 0.269 0.342 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.654 0.661 0.689 0.751 0.772 0.791 0.907 0.637 0.354 0.239 0.738 0.186 0.636 0.873 0.26 0.968 0.763], [0.028 0.067 0.182 0.189 0.259 0.269 0.342 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.637 0.654 0.661 0.689 0.751 0.772 0.791 0.907 0.354 0.239 0.738 0.186 0.636 0.873 0.26 0.968 0.763], [0.028 0.067 0.182 0.189 0.259 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.637 0.654 0.661 0.689 0.751 0.772 0.791 0.907 0.239 0.738 0.186 0.636 0.873 0.26 0.968 0.763], [0.028 0.067 0.182 0.189 0.239 0.259 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.637 0.654 0.661 0.689 0.751 0.772 0.791 0.907 0.738 0.186 0.636 0.873 0.26 0.968 0.763], [0.028 0.067 0.182 0.189 0.239 0.259 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.637 0.654 0.661 0.689 0.738 0.751 0.772 0.791 0.907 0.186 0.636 0.873 0.26 0.968 0.763], [0.028 0.067 0.182 0.186 0.189 0.239 0.259 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.637 0.654 0.661 0.689 0.738 0.751 0.772 0.791 0.907 0.636 0.873 0.26 0.968 0.763], [0.028 0.067 0.182 0.186 0.189 0.239 0.259 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.636 0.637 0.654 0.661 0.689 0.738 0.751 0.772 0.791 0.907 0.873 0.26 0.968 0.763], [0.028 0.067 0.182 0.186 0.189 0.239 0.259 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.636 0.637 0.654 0.661 0.689 0.738 0.751 0.772 0.791 0.873 0.907 0.26 0.968 0.763], [0.028 0.067 0.182 0.186 0.189 0.239 0.259 0.26 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.636 0.637 0.654 0.661 0.689 0.738 0.751 0.772 0.791 0.873 0.907 0.968 0.763], [0.028 0.067 0.182 0.186 0.189 0.239 0.259 0.26 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.636 0.637 0.654 0.661 0.689 0.738 0.751 0.772 0.791 0.873 0.907 0.968 0.763] | [0.028 0.067 0.182 0.186 0.189 0.239 0.259 0.26 0.269 0.342 0.354 0.437 0.441 0.453 0.455 0.49 0.565 0.577 0.619 0.622 0.636 0.637 0.654 0.661 0.689 0.738 0.751 0.763 0.772 0.791 0.873 0.907 0.968]
insertion_sort
33
dfs: A: [[0 1 1 1 1 0 1 1 0 0 1 0 1 0 1 0 1 0 0 1 1 0 1 0 0], [1 0 0 1 0 0 1 1 1 0 0 0 1 1 1 0 0 0 1 0 1 1 1 0 0], [1 0 0 1 1 0 0 1 0 0 0 1 1 1 1 1 0 0 1 0 1 1 1 1 1], [1 1 1 0 1 0 0 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 0 0 1], [1 0 1 1 0 0 1 0 0 0 1 0 0 0 0 1 0 1 1 1 1 1 1 0 1], [1 1 1 0 1 1 0 1 0 0 1 1 1 1 0 1 1 1 1 1 0 1 0 0 1], [0 0 1 1 1 0 1 1 1 1 0 1 0 1 1 0 1 1 1 0 0 0 0 0 0], [1 1 1 1 1 1 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 1 0 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18 19 20 21 22 23 24], [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], [0 0 2 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 2 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 5 4 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 5 4 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 5 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 5 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 8 9 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 8 9 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 11 12 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 11 8 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 11 8 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 12 8 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 12 8 13 14 15 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 12 8 13 14 11 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 12 8 13 14 11 16 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 12 8 13 14 11 15 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 12 8 13 14 11 15 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 12 8 13 16 11 15 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 9 5 12 8 13 16 11 15 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 13 16 11 15 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 13 16 11 15 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 17 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 18 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 19 20 21 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 19 20 18 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 19 20 18 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 20 18 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 20 18 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 22 23 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 22 20 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 22 20 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 24], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23], [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23] | [0 0 3 1 2 7 4 6 10 14 5 12 8 9 16 11 15 13 17 21 19 18 23 20 23]
dfs
25
segments_intersect: x: [0.733 0.192 0.637 0.015], y: [0.159 0.15 0.369 0.617] intersect:
0
segments_intersect
23
insertion_sort: key: [0.499 0.989 0.069 0.663 0.361 0.122 0.269 0.379 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], initial_trace: [0.499 0.989 0.069 0.663 0.361 0.122 0.269 0.379 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97] trace | pred:
[0.499 0.989 0.069 0.663 0.361 0.122 0.269 0.379 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.499 0.989 0.663 0.361 0.122 0.269 0.379 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.499 0.663 0.989 0.361 0.122 0.269 0.379 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.361 0.499 0.663 0.989 0.122 0.269 0.379 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.122 0.361 0.499 0.663 0.989 0.269 0.379 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.122 0.269 0.361 0.499 0.663 0.989 0.379 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.122 0.269 0.361 0.379 0.499 0.663 0.989 0.647 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.122 0.269 0.361 0.379 0.499 0.647 0.663 0.989 0.975 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.122 0.269 0.361 0.379 0.499 0.647 0.663 0.975 0.989 0.196 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.122 0.196 0.269 0.361 0.379 0.499 0.647 0.663 0.975 0.989 0.85 0.424 0.791 0.626 0.267 0.97], [0.069 0.122 0.196 0.269 0.361 0.379 0.499 0.647 0.663 0.85 0.975 0.989 0.424 0.791 0.626 0.267 0.97], [0.069 0.122 0.196 0.269 0.361 0.379 0.424 0.499 0.647 0.663 0.85 0.975 0.989 0.791 0.626 0.267 0.97], [0.069 0.122 0.196 0.269 0.361 0.379 0.424 0.499 0.647 0.663 0.791 0.85 0.975 0.989 0.626 0.267 0.97], [0.069 0.122 0.196 0.269 0.361 0.379 0.424 0.499 0.626 0.647 0.663 0.791 0.85 0.975 0.989 0.267 0.97], [0.069 0.122 0.196 0.267 0.269 0.361 0.379 0.424 0.499 0.626 0.647 0.663 0.791 0.85 0.975 0.989 0.97] | [0.069 0.122 0.196 0.267 0.269 0.361 0.379 0.424 0.499 0.626 0.647 0.663 0.791 0.85 0.97 0.975 0.989]
insertion_sort
17
quickselect: key: [0.869 0.147 0.761 0.37 0.971 0.791 0.825 0.737 0.803 0.337 0.428 0.843 0.737 0.628 0.088 0.324 0.848 0.19 0.268 0.036 0.737 0.949 0.563 0.18 0.986 0.987 0.587 0.92 0.932 0.205 0.958 0.534 0.266 0.638 0.826 0.737 0.047 0.59 0.242 0.515 0.842 0.694 0.8 0.061 0.528 0.526 0.706 0.534 0.379 0.719 0.652 0.304 0.481 0.451 0.573], initial_trace: 54 trace | pivot:
54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 54, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 0, 0, 0, 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, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 37, 37, 37 | 37
quickselect
55
bfs: s: 32, A: [[0 0 1 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 1], [1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1], [1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 0 1 0 0 0 0 1 1 0 1 0 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 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 1 1 1 1 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 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 1 0 0], [1 1 0 1 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 1 1 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0]], 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] trace | pi:
[0 32 2 3 4 32 32 32 32 9 10 11 32 13 14 15 16 17 18 32 20 21 32 23 24 32 26 32 28 32 30 31 32 33 34 35 36], [7 32 19 12 7 32 32 32 32 29 10 6 32 19 1 1 16 8 1 32 22 5 32 7 8 32 12 32 28 32 30 19 32 12 5 1 1] | [7 32 19 12 7 32 32 32 32 29 2 6 32 19 1 1 2 8 1 32 22 5 32 7 8 32 12 32 17 32 4 19 32 12 5 1 1]
bfs
37
quickselect: key: [0.986 0.259 0.885 0.257 0.434 0.83 0.482 0.876 0.898 0.394 0.246 0.888 0.649 0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], initial_trace: 25 trace | pivot:
25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 6, 6, 6, 6, 6, 6 | 17
quickselect
26
dag_shortest_paths: s: 3, A: [[0 0 0 0 0 0 0 0 0 0 0 0.353], [0.184 0 0 0 0 0 0 0 0.0426 0.433 0 0], [0 0 0 0 0 0 0 0 0 0 0 0.596], [0.349 0.18 0 0 0 0 0 0 0.903 0 0 0.112], [0.751 0 0 0 0 0 0 0 0 0 0 0.513], [0.819 0 0.25 0 0 0 0 0 0.433 0.58 0.689 0], [0.537 0 0 0 0.286 0.982 0 0 0 0.992 0 0.0388], [0.0502 0.23 0 0 0 0 0.765 0 0 0 0 0.682], [0 0 0.558 0 0 0 0 0 0 0 0.511 0.702], [0.903 0 0 0 0 0 0 0 0.746 0 0 0.519], [0 0 0.659 0 0 0 0 0 0 0 0 0.173], [0 0 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [3 3 2 3 4 5 6 7 3 9 10 3], [3 3 2 3 4 5 6 7 1 1 10 3], [3 3 2 3 4 5 6 7 1 1 10 3], [3 3 8 3 4 5 6 7 1 1 8 3], [3 3 8 3 4 5 6 7 1 1 8 3], [3 3 8 3 4 5 6 7 1 1 8 3] | [3 3 8 3 4 5 6 7 1 1 8 3]
dag_shortest_paths
12
segments_intersect: x: [0.306 0.055 0.213 0.971], y: [0.775 0.991 0.602 0.035] intersect:
0
segments_intersect
62
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 1 1 1 1 1], key: [3 1 0 1 2 3 1 1 2 1 0 1 2 1 3 0 1 1 1 2 2 0 0 3 3 0 1 1 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 | 14
kmp_matcher
29
bfs: s: 35, A: [[0 0 0 1 0 0 0 1 0 0 0 0 1 0 1 1 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0], [0 1 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 1 1], [0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 1 0 0 1 0], [1 0 0 0 0 0 0 1 0 1 0 1 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0], [0 0 1 0 1 0 1 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 0 1 0 0 0 1 1 1], [0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0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1 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0], [0 1 0 0 1 0 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 1 0 1 1 1], [0 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 1 1 0 0 0 1 0 0 1 1], [0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0 1 0 0 0 1 1 0 1 0 0 0], [0 0 0 0 0 1 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 1 0 0 0 0 1 0 0 0 0], [0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 0 0 1 0 0 0 1 0 1], [0 1 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 0 0 1 0 1 1 0 0 0 0 0], [0 1 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45] trace | pi:
[0 1 2 3 35 5 6 7 35 35 35 11 35 13 35 15 16 17 35 35 20 21 22 23 24 25 26 27 35 29 35 31 35 33 34 35 35 37 35 39 40 35 42 43 44 45] | [12 28 4 9 35 10 4 12 35 35 35 9 35 18 35 38 8 8 35 35 14 38 4 12 9 8 4 19 35 9 35 4 35 12 10 35 35 10 35 4 8 35 9 4 4 4]
bfs
46
insertion_sort: key: [0.193 0.236 0.185 0.301 0.901 0.389 0.587 0.096 0.343 0.166 0.171 0.161 0.78], initial_trace: [0.193 0.236 0.185 0.301 0.901 0.389 0.587 0.096 0.343 0.166 0.171 0.161 0.78] trace | pred:
[0.193 0.236 0.185 0.301 0.901 0.389 0.587 0.096 0.343 0.166 0.171 0.161 0.78], [0.185 0.193 0.236 0.301 0.901 0.389 0.587 0.096 0.343 0.166 0.171 0.161 0.78], [0.185 0.193 0.236 0.301 0.901 0.389 0.587 0.096 0.343 0.166 0.171 0.161 0.78], [0.185 0.193 0.236 0.301 0.901 0.389 0.587 0.096 0.343 0.166 0.171 0.161 0.78], [0.185 0.193 0.236 0.301 0.389 0.901 0.587 0.096 0.343 0.166 0.171 0.161 0.78], [0.185 0.193 0.236 0.301 0.389 0.587 0.901 0.096 0.343 0.166 0.171 0.161 0.78], [0.096 0.185 0.193 0.236 0.301 0.389 0.587 0.901 0.343 0.166 0.171 0.161 0.78], [0.096 0.185 0.193 0.236 0.301 0.343 0.389 0.587 0.901 0.166 0.171 0.161 0.78], [0.096 0.166 0.185 0.193 0.236 0.301 0.343 0.389 0.587 0.901 0.171 0.161 0.78], [0.096 0.166 0.171 0.185 0.193 0.236 0.301 0.343 0.389 0.587 0.901 0.161 0.78], [0.096 0.161 0.166 0.171 0.185 0.193 0.236 0.301 0.343 0.389 0.587 0.901 0.78] | [0.096 0.161 0.166 0.171 0.185 0.193 0.236 0.301 0.343 0.389 0.587 0.78 0.901]
insertion_sort
13
dag_shortest_paths: s: 9, A: [[0 0 0.485 0 0.477 0.585 0.545 0 0 0 0 0.126], [0 0 0.456 0 0 0 0.33 0 0.86 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0.245 0 0.867 0 0.57 0 0 0.981 0 0 0 0], [0 0 0 0 0 0.0487 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.872 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.317 0 0 0 0 0 0 0], [0 0 0.363 0 0.301 0 0 0 0 0 0 0], [0.992 0.35 0 0 0.785 0 0.112 0.401 0 0 0 0], [0 0.322 0.441 0 0 0.442 0 0 0.205 0 0 0], [0 0 0 0 0 0.814 0 0 0.399 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [9 9 2 3 9 5 9 9 8 9 10 11], [9 9 2 3 7 5 9 9 8 9 10 11], [9 9 1 3 7 5 9 9 1 9 10 11], [9 9 1 3 7 0 9 9 1 9 10 0], [9 9 1 3 7 0 9 9 1 9 10 0], [9 9 1 3 7 0 9 9 1 9 10 0], [9 9 1 3 7 0 9 9 1 9 10 0], [9 9 1 3 7 4 9 9 1 9 10 0] | [9 9 1 3 7 4 9 9 1 9 10 0]
dag_shortest_paths
12
dag_shortest_paths: s: 1, A: [[0 0.791 0 0 0 0 0 0 0], [0 0 0 0 0.00253 0 0 0 0], [0.88 0.699 0 0.785 0.752 0 0 0 0], [0.744 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0], [0.242 0 0 0 0.0509 0 0.765 0 0], [0 0 0 0 0.64 0 0 0 0], [0 0.982 0 0 0.0533 0 0.079 0 0], [0 0 0 0 0.655 0.324 0.267 0.0868 0]], initial_trace: [0 1 2 3 4 5 6 7 8] trace | pi:
[0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8], [0 1 2 3 4 5 6 7 8] | [0 1 2 3 1 5 6 7 8]
dag_shortest_paths
9
mst_prim: s: 5, A: [[0 0 0 0 0 0.392 0.12 0 0 0 0 0 0 0 0.422 0 0 0.431 0 0 0 0 0.469 0 0 0 0 0], [0 0.523 0.341 0.488 0 0 0 0 0 0 0.798 0 0 0 0.895 0 0.535 0.602 0.24 0.613 0.306 0.659 0 0.6 0.497 0.114 0 0], [0 0.341 0.2 0.642 0 0.14 0 0.621 0 0 0 0.655 0.556 0 0 0.771 0 0 0 0 0.265 0 0 0 0 0.727 0 0], [0 0.488 0.642 0.084 0 0 0 0.42 0.176 0 0 0 0 0.168 0 0 0.618 0.094 0 0 0 0 0.243 0 0 0.448 0 0], [0 0 0 0 0 0 0 0.242 0 0 0 0.44 0 0 0 0.341 0 0 0 0 0 0 0 0 0 0 0 0], [0.392 0 0.14 0 0 0 0 0.645 0 0 0 0.149 0.858 0 0 0 0 0.364 0 0 0 0 0 0 0.65 0 0.476 0], [0.12 0 0 0 0 0 0 0 0 0 0.646 0.215 0 0 0 0 0 0 0 0 0.377 0.689 0 0 0.079 0 0 0], [0 0 0.621 0.42 0.242 0.645 0 0.744 0 0 0 0 0 0 0.206 0 0 0 0 0 0 0.591 0 0 0 0 0 0], [0 0 0 0.176 0 0 0 0 0.339 0 0 0 0 0 0 0 0 0 0 0 0 0.53 0 0.212 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.058 0.702 0 0 0 0.937 0.192 0 0 0.385 0 0 0 0 0 0 0 0 0], [0 0.798 0 0 0 0 0.646 0 0 0.702 0 0.207 0 0 0 0.577 0 0 0 0 0.258 0 0.292 0 0.098 0.401 0.611 0], [0 0 0.655 0 0.44 0.149 0.215 0 0 0 0.207 0.667 0 0.168 0 0 0 0 0.256 0 0 0 0 0 0 0 0 0], [0 0 0.556 0 0 0.858 0 0 0 0 0 0 0 0 0 0 0 0 0.662 0 0 0 0 0 0.145 0 0.351 0], [0 0 0 0.168 0 0 0 0 0 0 0 0.168 0 0 0.37 0 0.146 0 0.27 0.758 0 0 0 0 0 0 0.961 0], [0.422 0.895 0 0 0 0 0 0.206 0 0.937 0 0 0 0.37 0.898 0.129 0 0 0.081 0 0 0.383 0.533 0.768 0.319 0 0 0], [0 0 0.771 0 0.341 0 0 0 0 0.192 0.577 0 0 0 0.129 0.861 0 0 0 0 0 0 0 0 0 0 0.112 0.29], [0 0.535 0 0.618 0 0 0 0 0 0 0 0 0 0.146 0 0 0 0 0.178 0 0 0 0 0 0.437 0 0 0], [0.431 0.602 0 0.094 0 0.364 0 0 0 0 0 0 0 0 0 0 0 0.356 0 0 0 0 0.502 0 0.572 0.308 0.301 0], [0 0.24 0 0 0 0 0 0 0 0.385 0 0.256 0.662 0.27 0.081 0 0.178 0 0.098 0 0 0.07 0.628 0 0 0 0 0.598], [0 0.613 0 0 0 0 0 0 0 0 0 0 0 0.758 0 0 0 0 0 0.208 0.101 0 0 0 0 0 0 0], [0 0.306 0.265 0 0 0 0.377 0 0 0 0.258 0 0 0 0 0 0 0 0 0.101 0 0 0 0.852 0 0 0 0], [0 0.659 0 0 0 0 0.689 0.591 0.53 0 0 0 0 0 0.383 0 0 0 0.07 0 0 0 0 0 0 0 0 0], [0.469 0 0 0.243 0 0 0 0 0 0 0.292 0 0 0 0.533 0 0 0.502 0.628 0 0 0 0.574 0.68 0.196 0 0 0], [0 0.6 0 0 0 0 0 0 0.212 0 0 0 0 0 0.768 0 0 0 0 0 0.852 0 0.68 0 0 0 0 0.495], [0 0.497 0 0 0 0.65 0.079 0 0 0 0.098 0 0.145 0 0.319 0 0.437 0.572 0 0 0 0 0.196 0 0.956 0 0 0.565], [0 0.114 0.727 0.448 0 0 0 0 0 0 0.401 0 0 0 0 0 0 0.308 0 0 0 0 0 0 0 0.774 0.311 0], [0 0 0 0 0 0.476 0 0 0 0 0.611 0 0.351 0.961 0 0.112 0 0.301 0 0 0 0 0 0 0 0.311 0 0.202], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.29 0 0 0.598 0 0 0 0 0.495 0.565 0 0.202 0.303]], 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:
[5 1 5 3 4 5 6 5 8 9 10 5 5 13 14 15 16 5 18 19 20 21 22 23 5 25 5 27], [5 2 5 2 4 5 6 2 8 9 10 5 2 13 14 2 16 5 18 19 2 21 22 23 5 2 5 27], [5 2 5 2 11 5 11 2 8 9 11 5 2 11 14 2 16 5 11 19 2 21 22 23 5 2 5 27], [5 2 5 13 11 5 11 2 8 9 11 5 2 11 13 2 13 5 11 13 2 21 22 23 5 2 5 27], [5 2 5 13 11 5 11 2 8 9 11 5 2 11 13 2 13 5 16 13 2 21 22 23 16 2 5 27], [5 2 5 13 11 5 11 3 3 9 11 5 2 11 13 2 13 3 16 13 2 21 3 23 16 3 5 27], [5 2 5 13 11 5 11 3 3 9 11 5 2 11 13 2 13 3 16 13 2 21 3 23 16 17 17 27], [5 2 5 13 11 5 11 3 3 9 11 5 2 11 13 2 13 3 16 13 2 8 3 8 16 17 17 27], [5 18 5 13 11 5 11 3 3 18 11 5 2 11 18 2 13 3 16 13 2 18 3 8 16 17 17 18], [5 18 5 13 11 5 11 3 3 18 11 5 2 11 18 2 13 3 16 13 2 18 3 8 16 17 17 18], [5 18 5 13 11 5 11 14 3 18 11 5 2 11 18 14 13 3 16 13 2 18 3 8 14 17 17 18], [5 18 5 13 15 5 11 14 3 15 11 5 2 11 18 14 13 3 16 13 2 18 3 8 14 17 15 15], [5 18 5 13 15 5 11 14 3 15 11 5 26 11 18 14 13 3 16 13 2 18 3 8 14 17 15 26], [5 18 5 13 15 5 11 14 3 15 11 5 26 11 18 14 13 3 16 13 2 18 3 8 14 17 15 26], [5 18 5 13 15 5 11 14 3 15 11 5 26 11 18 14 13 3 16 13 2 18 3 8 14 17 15 26], [5 18 5 13 7 5 11 14 3 15 11 5 26 11 18 14 13 3 16 13 2 18 3 8 14 17 15 26], [5 18 5 13 7 5 11 14 3 15 11 5 26 11 18 14 13 3 16 13 10 18 3 8 10 17 15 26], [5 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 13 10 18 24 8 10 17 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 13 10 18 24 8 10 17 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 13 10 18 24 8 10 17 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 13 10 18 24 8 10 17 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 13 10 18 24 8 10 17 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 13 10 18 24 8 10 17 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 1 10 18 24 8 10 1 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 1 10 18 24 8 10 1 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 1 10 18 24 8 10 1 15 26], [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 20 10 18 24 8 10 1 15 26] | [6 18 5 13 7 5 24 14 3 15 11 5 24 11 18 14 13 3 16 20 10 18 24 8 10 1 15 26]
mst_prim
28
mst_prim: s: 17, A: [[0.057 0 0 0 0.486 0 0 0.695 0 0 0 0 0.456 0 0 0 0 0 0.241 0.22 0 0 0 0 0.601 0 0], [0 0.067 0 0 0 0 0 0 0 0 0 0 0 0.228 0 0 0 0 0 0.549 0 0.86 0 0 0.121 0.508 0.403], [0 0 0 0 0.872 0 0 0 0 0 0.305 0 0 0 0.592 0 0 0 0.193 0 0 0 0.053 0 0 0.761 0.913], [0 0 0 0 0 0 0 0.685 0 0.51 0.44 0 0 0 0 0 0 0 0 0 0 0 0 0.115 0 0 0.605], [0.486 0 0.872 0 0.161 0 0 0 0 0 0 0 0 0 0 0.239 0 0.149 0 0 0 0.199 0 0 0 0.066 0], [0 0 0 0 0 0 0 0.907 0 0 0 0 0 0 0 0 0 0.32 0 0.07 0.835 0.278 0 0 0 0 0], [0 0 0 0 0 0 0.092 0 0 0 0 0 0 0 0.258 0 0 0.504 0.718 0 0 0 0.636 0.099 0 0 0], [0.695 0 0 0.685 0 0.907 0 0.799 0 0 0 0 0 0.332 0.368 0 0 0 0 0 0 0 0 0.675 0.185 0 0], [0 0 0 0 0 0 0 0 0.944 0.341 0 0 0 0 0.429 0 0 0 0 0 0 0 0 0 0 0 0.117], [0 0 0 0.51 0 0 0 0 0.341 0.715 0 0.322 0.194 0 0 0 0 0 0 0 0 0 0.458 0.793 0.282 0 0], [0 0 0.305 0.44 0 0 0 0 0 0 0.365 0.759 0.526 0.54 0 0 0 0.812 0 0 0 0 0 0 0 0.324 0], [0 0 0 0 0 0 0 0 0 0.322 0.759 0 0.321 0 0.85 0 0 0 0 0 0 0 0.187 0 0 0 0], [0.456 0 0 0 0 0 0 0 0 0.194 0.526 0.321 0 0.313 0.642 0 0.494 0 0.061 0 0 0 0 0.333 0 0 0], [0 0.228 0 0 0 0 0 0.332 0 0 0.54 0 0.313 0.185 0 0 0 0.413 0 0 0 0 0 0 0 0 0], [0 0 0.592 0 0 0 0.258 0.368 0.429 0 0 0.85 0.642 0 0 0 0 0.951 0 0 0 0 0.298 0 0 0 0.314], [0 0 0 0 0.239 0 0 0 0 0 0 0 0 0 0 0.881 0 0 0.753 0 0 0 0.844 0 0 0.725 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.494 0 0 0 0 0 0 0 0 0 0 0 0 0 0.613], [0 0 0 0 0.149 0.32 0.504 0 0 0 0.812 0 0 0.413 0.951 0 0 0 0 0 0 0 0 0 0.593 0 0], [0.241 0 0.193 0 0 0 0.718 0 0 0 0 0 0.061 0 0 0.753 0 0 0.192 0 0 0 0 0 0 0 0], [0.22 0.549 0 0 0 0.07 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.28 0.68 0 0 0 0 0], [0 0 0 0 0 0.835 0 0 0 0 0 0 0 0 0 0 0 0 0 0.28 0 0 0 0 0 0 0], [0 0.86 0 0 0.199 0.278 0 0 0 0 0 0 0 0 0 0 0 0 0 0.68 0 0 0 0 0 0 0], [0 0 0.053 0 0 0 0.636 0 0 0.458 0 0.187 0 0 0.298 0.844 0 0 0 0 0 0 0 0 0 0 0.693], [0 0 0 0.115 0 0 0.099 0.675 0 0.793 0 0 0.333 0 0 0 0 0 0 0 0 0 0 0.754 0 0 0], [0.601 0.121 0 0 0 0 0 0.185 0 0.282 0 0 0 0 0 0 0 0.593 0 0 0 0 0 0 0 0 0.237], [0 0.508 0.761 0 0.066 0 0 0 0 0 0.324 0 0 0 0 0.725 0 0 0 0 0 0 0 0 0 0.481 0], [0 0.403 0.913 0.605 0 0 0 0 0.117 0 0 0 0 0 0.314 0 0.613 0 0 0 0 0 0.693 0 0.237 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] trace | pi:
[0 1 2 3 17 17 17 7 8 9 17 11 12 17 17 15 16 17 18 19 20 21 22 23 17 25 26], [4 1 4 3 17 17 17 7 8 9 17 11 12 17 17 4 16 17 18 19 20 4 22 23 17 4 26], [4 25 25 3 17 17 17 7 8 9 25 11 12 17 17 4 16 17 18 19 20 4 22 23 17 4 26], [4 25 25 3 17 21 17 7 8 9 25 11 12 17 17 4 16 17 18 21 20 4 22 23 17 4 26], [4 25 25 3 17 21 17 7 8 9 25 11 12 17 17 4 16 17 15 21 20 4 15 23 17 4 26], [4 25 25 3 17 21 17 5 8 9 25 11 12 17 17 4 16 17 15 5 5 4 15 23 17 4 26], [19 25 25 3 17 21 17 5 8 9 25 11 12 17 17 4 16 17 15 5 19 4 15 23 17 4 26], [19 25 25 3 17 21 17 0 8 9 25 11 0 17 17 4 16 17 0 5 19 4 15 23 17 4 26], [19 25 18 3 17 21 17 0 8 9 25 11 18 17 17 4 16 17 0 5 19 4 15 23 17 4 26], [19 25 18 3 17 21 17 0 8 12 25 12 18 12 12 4 12 17 0 5 19 4 15 12 17 4 26], [19 25 18 3 17 21 17 0 8 12 2 12 18 12 2 4 12 17 0 5 19 4 2 12 17 4 2], [19 25 18 3 17 21 17 0 8 12 2 22 18 12 22 4 12 17 0 5 19 4 2 12 17 4 22], [19 25 18 3 17 21 17 0 8 12 2 22 18 12 22 4 12 17 0 5 19 4 2 12 17 4 22], [19 25 18 9 17 21 17 0 9 12 2 22 18 12 22 4 12 17 0 5 19 4 2 12 9 4 22], [19 25 18 9 17 21 17 0 9 12 2 22 18 12 22 4 12 17 0 5 19 4 2 12 9 4 22], [19 24 18 9 17 21 17 24 9 12 2 22 18 12 22 4 12 17 0 5 19 4 2 12 9 4 24], [19 24 18 9 17 21 17 24 9 12 2 22 18 1 22 4 12 17 0 5 19 4 2 12 9 4 24], [19 24 18 9 17 21 17 24 9 12 2 22 18 1 22 4 12 17 0 5 19 4 2 12 9 4 24], [19 24 18 9 17 21 17 24 9 12 2 22 18 1 22 4 12 17 0 5 19 4 2 12 9 4 24], [19 24 18 9 17 21 17 24 26 12 2 22 18 1 22 4 12 17 0 5 19 4 2 12 9 4 24], [19 24 18 9 17 21 17 24 26 12 2 22 18 1 22 4 12 17 0 5 19 4 2 12 9 4 24], [19 24 18 9 17 21 14 24 26 12 2 22 18 1 22 4 12 17 0 5 19 4 2 12 9 4 24], [19 24 18 9 17 21 14 24 26 12 2 22 18 1 22 4 12 17 0 5 19 4 2 6 9 4 24], [19 24 18 23 17 21 14 24 26 12 2 22 18 1 22 4 12 17 0 5 19 4 2 6 9 4 24], [19 24 18 23 17 21 14 24 26 12 2 22 18 1 22 4 12 17 0 5 19 4 2 6 9 4 24], [19 24 18 23 17 21 14 24 26 12 2 22 18 1 22 4 12 17 0 5 19 4 2 6 9 4 24] | [19 24 18 23 17 21 14 24 26 12 2 22 18 1 22 4 12 17 0 5 19 4 2 6 9 4 24]
mst_prim
27
heapsort: key: [0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], initial_trace: [0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894] trace | pred:
[0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], [0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], [0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], [0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], [0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], [0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], [0.297 0.584 0.209 0.31 0.459 0.646 0.529 0.388 0.387 0.307 0.021 0.241 0.894], [0.297 0.584 0.209 0.31 0.459 0.894 0.529 0.388 0.387 0.307 0.021 0.241 0.646], [0.297 0.584 0.209 0.31 0.459 0.894 0.529 0.388 0.387 0.307 0.021 0.241 0.646], [0.297 0.584 0.209 0.31 0.459 0.894 0.529 0.388 0.387 0.307 0.021 0.241 0.646], [0.297 0.584 0.209 0.388 0.459 0.894 0.529 0.31 0.387 0.307 0.021 0.241 0.646], [0.297 0.584 0.209 0.388 0.459 0.894 0.529 0.31 0.387 0.307 0.021 0.241 0.646], [0.297 0.584 0.894 0.388 0.459 0.209 0.529 0.31 0.387 0.307 0.021 0.241 0.646], [0.297 0.584 0.894 0.388 0.459 0.646 0.529 0.31 0.387 0.307 0.021 0.241 0.209], [0.297 0.584 0.894 0.388 0.459 0.646 0.529 0.31 0.387 0.307 0.021 0.241 0.209], [0.297 0.584 0.894 0.388 0.459 0.646 0.529 0.31 0.387 0.307 0.021 0.241 0.209], [0.894 0.584 0.297 0.388 0.459 0.646 0.529 0.31 0.387 0.307 0.021 0.241 0.209], [0.894 0.584 0.646 0.388 0.459 0.297 0.529 0.31 0.387 0.307 0.021 0.241 0.209], [0.894 0.584 0.646 0.388 0.459 0.297 0.529 0.31 0.387 0.307 0.021 0.241 0.209], [0.209 0.584 0.646 0.388 0.459 0.297 0.529 0.31 0.387 0.307 0.021 0.241 0.894], [0.646 0.584 0.209 0.388 0.459 0.297 0.529 0.31 0.387 0.307 0.021 0.241 0.894], [0.646 0.584 0.529 0.388 0.459 0.297 0.209 0.31 0.387 0.307 0.021 0.241 0.894], [0.646 0.584 0.529 0.388 0.459 0.297 0.209 0.31 0.387 0.307 0.021 0.241 0.894], [0.241 0.584 0.529 0.388 0.459 0.297 0.209 0.31 0.387 0.307 0.021 0.646 0.894], [0.584 0.241 0.529 0.388 0.459 0.297 0.209 0.31 0.387 0.307 0.021 0.646 0.894], [0.584 0.459 0.529 0.388 0.241 0.297 0.209 0.31 0.387 0.307 0.021 0.646 0.894], [0.584 0.459 0.529 0.388 0.307 0.297 0.209 0.31 0.387 0.241 0.021 0.646 0.894], [0.584 0.459 0.529 0.388 0.307 0.297 0.209 0.31 0.387 0.241 0.021 0.646 0.894], [0.021 0.459 0.529 0.388 0.307 0.297 0.209 0.31 0.387 0.241 0.584 0.646 0.894], [0.529 0.459 0.021 0.388 0.307 0.297 0.209 0.31 0.387 0.241 0.584 0.646 0.894], [0.529 0.459 0.297 0.388 0.307 0.021 0.209 0.31 0.387 0.241 0.584 0.646 0.894], [0.529 0.459 0.297 0.388 0.307 0.021 0.209 0.31 0.387 0.241 0.584 0.646 0.894], [0.241 0.459 0.297 0.388 0.307 0.021 0.209 0.31 0.387 0.529 0.584 0.646 0.894], [0.459 0.241 0.297 0.388 0.307 0.021 0.209 0.31 0.387 0.529 0.584 0.646 0.894], [0.459 0.388 0.297 0.241 0.307 0.021 0.209 0.31 0.387 0.529 0.584 0.646 0.894], [0.459 0.388 0.297 0.387 0.307 0.021 0.209 0.31 0.241 0.529 0.584 0.646 0.894], [0.459 0.388 0.297 0.387 0.307 0.021 0.209 0.31 0.241 0.529 0.584 0.646 0.894], [0.241 0.388 0.297 0.387 0.307 0.021 0.209 0.31 0.459 0.529 0.584 0.646 0.894], [0.388 0.241 0.297 0.387 0.307 0.021 0.209 0.31 0.459 0.529 0.584 0.646 0.894], [0.388 0.387 0.297 0.241 0.307 0.021 0.209 0.31 0.459 0.529 0.584 0.646 0.894], [0.388 0.387 0.297 0.31 0.307 0.021 0.209 0.241 0.459 0.529 0.584 0.646 0.894], [0.388 0.387 0.297 0.31 0.307 0.021 0.209 0.241 0.459 0.529 0.584 0.646 0.894], [0.241 0.387 0.297 0.31 0.307 0.021 0.209 0.388 0.459 0.529 0.584 0.646 0.894], [0.387 0.241 0.297 0.31 0.307 0.021 0.209 0.388 0.459 0.529 0.584 0.646 0.894], [0.387 0.31 0.297 0.241 0.307 0.021 0.209 0.388 0.459 0.529 0.584 0.646 0.894], [0.387 0.31 0.297 0.241 0.307 0.021 0.209 0.388 0.459 0.529 0.584 0.646 0.894], [0.209 0.31 0.297 0.241 0.307 0.021 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.31 0.209 0.297 0.241 0.307 0.021 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.31 0.307 0.297 0.241 0.209 0.021 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.31 0.307 0.297 0.241 0.209 0.021 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.021 0.307 0.297 0.241 0.209 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.307 0.021 0.297 0.241 0.209 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.307 0.241 0.297 0.021 0.209 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.307 0.241 0.297 0.021 0.209 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.209 0.241 0.297 0.021 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.297 0.241 0.209 0.021 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.297 0.241 0.209 0.021 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.021 0.241 0.209 0.297 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.241 0.021 0.209 0.297 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.241 0.021 0.209 0.297 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.209 0.021 0.241 0.297 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.209 0.021 0.241 0.297 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894], [0.021 0.209 0.241 0.297 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894] | [0.021 0.209 0.241 0.297 0.307 0.31 0.387 0.388 0.459 0.529 0.584 0.646 0.894]
heapsort
13
dfs: A: [[0 0 1 1 0 1 1 0 1 1 1], [1 0 0 1 1 0 1 1 1 0 0], [1 0 0 0 1 0 1 0 1 1 1], [1 1 1 1 1 1 1 0 1 1 0], [0 1 1 0 1 1 0 1 1 1 1], [1 1 1 0 0 0 1 1 0 0 0], [0 0 1 0 1 0 0 0 1 0 0], [0 0 0 1 1 0 0 0 0 1 0], [1 0 0 1 0 0 0 0 1 0 0], [1 0 0 1 0 1 0 0 1 1 0], [0 0 1 1 0 1 0 1 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10], [0 1 0 3 4 5 6 7 8 9 10], [0 1 0 3 4 5 6 7 8 9 10], [0 1 0 3 2 5 6 7 8 9 10], [0 1 0 3 2 5 6 7 8 9 10], [0 4 0 3 2 5 6 7 8 9 10], [0 4 0 3 2 5 6 7 8 9 10], [0 4 0 1 2 5 6 7 8 9 10], [0 4 0 1 2 5 6 7 8 9 10], [0 4 0 1 2 3 6 7 8 9 10], [0 4 0 1 2 3 6 7 8 9 10], [0 4 0 1 2 3 5 7 8 9 10], [0 4 0 1 2 3 5 7 8 9 10], [0 4 0 1 2 3 5 7 6 9 10], [0 4 0 1 2 3 5 7 6 9 10], [0 4 0 1 2 3 5 7 6 9 10], [0 4 0 1 2 3 5 7 6 9 10], [0 4 0 1 2 3 5 5 6 9 10], [0 4 0 1 2 3 5 5 6 9 10], [0 4 0 1 2 3 5 5 6 7 10], [0 4 0 1 2 3 5 5 6 7 10], [0 4 0 1 2 3 5 5 6 7 10], [0 4 0 1 2 3 5 5 6 7 10], [0 4 0 1 2 3 5 5 6 7 10], [0 4 0 1 2 3 5 5 6 7 10], [0 4 0 1 2 3 5 5 6 7 10], [0 4 0 1 2 3 5 5 6 7 4], [0 4 0 1 2 3 5 5 6 7 4], [0 4 0 1 2 3 5 5 6 7 4], [0 4 0 1 2 3 5 5 6 7 4], [0 4 0 1 2 3 5 5 6 7 4] | [0 4 0 1 2 3 5 5 6 7 4]
dfs
11
dijkstra: s: 12, A: [[0 0 0.623 0 0.239 0.145 0.241 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.921 0 0 0 0.2 0], [0 0 0 0 0 0 0.894 0.145 0 0 0 0 0 0 0.75 0 0.498 0 0.253 0 0 0.359 0 0 0.567 0.916 0 0.774], [0.623 0 0.033 0 0 0 0 0 0 0.605 0 0 0 0 0 0 0.255 0 0 0 0.299 0 0 0.165 0.919 0 0 0], [0 0 0 0.297 0.428 0 0 0 0 0 0.416 0 0 0 0 0 0.394 0.441 0 0 0 0 0 0 0 0 0 0], [0.239 0 0 0.428 0.874 0.672 0.295 0 0 0 0 0.209 0.059 0 0 0 0.146 0 0 0 0 0 0 0 0 0 0 0], [0.145 0 0 0 0.672 0.507 0 0 0 0 0 0 0 0 0 0.343 0 0.565 0 0.717 0.174 0 0.494 0 0 0 0 0.318], [0.241 0.894 0 0 0.295 0 0.236 0 0.741 0 0 0 0 0 0.497 0.445 0 0.124 0.217 0 0.44 0 0 0 0 0 0 0], [0 0.145 0 0 0 0 0 0.759 0 0 0 0 0 0 0.669 0 0 0 0 0 0 0 0.288 0 0 0 0 0], [0 0 0 0 0 0 0.741 0 0.183 0 0 0 0 0 0 0 0 0 0 0.566 0 0.716 0.399 0 0 0 0 0], [0 0 0.605 0 0 0 0 0 0 0 0.304 0.083 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0 0 0], [0 0 0 0.416 0 0 0 0 0 0.304 0 0 0 0 0 0.173 0 0.343 0 0 0 0 0 0 0 0.547 0 0], [0 0 0 0 0.209 0 0 0 0 0.083 0 0.501 0 0.457 0 0.479 0.669 0 0 0 0 0 0 0 0 0.348 0 0.07], [0 0 0 0 0.059 0 0 0 0 0 0 0 0 0 0.817 0.592 0 0 0.163 0 0 0 0 0.599 0 0.615 0 0.536], [0 0 0 0 0 0 0 0 0 0 0 0.457 0 0 0 0.17 0 0 0.296 0 0 0 0 0 0 0.18 0 0.468], [0 0.75 0 0 0 0 0.497 0.669 0 0 0 0 0.817 0 0.677 0 0 0 0 0 0 0 0 0.19 0 0 0 0], [0 0 0 0 0 0.343 0.445 0 0 0 0.173 0.479 0.592 0.17 0 0.135 0.369 0.59 0 0 0 0 0 0 0 0 0 0], [0 0.498 0.255 0.394 0.146 0 0 0 0 0 0 0.669 0 0 0 0.369 0.272 0 0 0.962 0.689 0.225 0 0 0 0.575 0 0.831], [0 0 0 0.441 0 0.565 0.124 0 0 0 0.343 0 0 0 0 0.59 0 0.273 0 0 0 0.205 0 0 0.335 0 0 0], [0 0.253 0 0 0 0 0.217 0 0 0 0 0 0.163 0.296 0 0 0 0 0.041 0.448 0 0 0 0 0 0.636 0 0], [0 0 0 0 0 0.717 0 0 0.566 0 0 0 0 0 0 0 0.962 0 0.448 0.906 0.343 0 0 0 0 0 0.428 0.798], [0 0 0.299 0 0 0.174 0.44 0 0 0 0 0 0 0 0 0 0.689 0 0 0.343 0 0 0 0 0 0.254 0 0], [0 0.359 0 0 0 0 0 0 0.716 0 0 0 0 0 0 0 0.225 0.205 0 0 0 0 0 0 0 0 0 0], [0.921 0 0 0 0 0.494 0 0.288 0.399 0 0 0 0 0 0 0 0 0 0 0 0 0 0.101 0 0 0 0.595 0], [0 0 0.165 0 0 0 0 0 0 0 0 0 0.599 0 0.19 0 0 0 0 0 0 0 0 0.125 0 0.501 0 0], [0 0.567 0.919 0 0 0 0 0 0 0.09 0 0 0 0 0 0 0 0.335 0 0 0 0 0 0 0.433 0 0 0], [0 0.916 0 0 0 0 0 0 0 0 0.547 0.348 0.615 0.18 0 0 0.575 0 0.636 0 0.254 0 0 0.501 0 0.654 0 0], [0.2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.428 0 0 0.595 0 0 0 0.129 0], [0 0.774 0 0 0 0.318 0 0 0 0 0 0.07 0.536 0.468 0 0 0.831 0 0 0.798 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27] trace | pi:
[0 1 2 3 12 5 6 7 8 9 10 11 12 13 12 12 16 17 12 19 20 21 22 12 24 12 26 12], [4 1 2 4 12 4 4 7 8 9 10 4 12 13 12 12 4 17 12 19 20 21 22 12 24 12 26 12], [4 18 2 4 12 4 4 7 8 9 10 4 12 18 12 12 4 17 12 18 20 21 22 12 24 12 26 12], [4 18 16 4 12 4 4 7 8 9 10 4 12 18 12 16 4 17 12 18 16 16 22 12 24 12 26 12], [4 18 16 4 12 4 4 7 8 11 10 4 12 18 12 16 4 17 12 18 16 16 22 12 24 12 26 11], [4 18 16 4 12 0 4 7 8 11 10 4 12 18 12 16 4 17 12 18 16 16 0 12 24 12 0 11], [4 18 16 4 12 0 4 7 8 11 10 4 12 18 12 16 4 17 12 18 16 16 0 12 24 12 0 11], [4 18 16 4 12 0 4 7 8 11 9 4 12 18 12 16 4 17 12 18 16 16 0 12 9 12 0 11], [4 18 16 4 12 0 4 7 6 11 9 4 12 18 12 16 4 6 12 18 6 16 0 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 6 16 0 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 6 16 0 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 6 16 0 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 5 16 5 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 5 16 5 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 5 16 5 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 5 16 5 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 5 16 5 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 5 16 5 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 5 16 7 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 12 16 4 6 12 18 5 16 7 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 23 16 4 6 12 18 5 16 7 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 23 16 4 6 12 18 5 16 7 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 23 16 4 6 12 18 5 16 7 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 23 16 4 6 12 18 5 16 7 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 23 16 4 6 12 18 5 16 7 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 23 16 4 6 12 18 5 16 7 12 9 12 0 11], [4 18 16 4 12 0 4 1 6 11 9 4 12 18 23 16 4 6 12 18 5 16 7 12 9 12 0 11] | [4 18 16 4 12 0 4 1 6 11 9 4 12 18 23 16 4 6 12 18 5 16 7 12 9 12 0 11]
dijkstra
28
floyd_warshall: A: [[0.818 0 0 0 0.525 0 0 0 0 0 0 0 0.336], [0 0 0 0 0.537 0 0 0.34 0 0 0 0 0], [0 0 0.612 0 0 0.537 0 0.684 0.523 0 0 0 0.129], [0 0 0 0.198 0 0 0.234 0.726 0 0.297 0 0 0], [0.525 0.537 0 0 0 0 0.048 0 0 0 0 0 0], [0 0 0.537 0 0 0 0 0 0 0 0.119 0.441 0], [0 0 0 0.234 0.048 0 0.347 0 0 0 0 0 0], [0 0.34 0.684 0.726 0 0 0 0 0 0 0 0 0], [0 0 0.523 0 0 0 0 0 0 0 0.063 0.584 0], [0 0 0 0.297 0 0 0 0 0 0 0 0.771 0], [0 0 0 0 0 0.119 0 0 0.063 0 0 0 0], [0 0 0 0 0 0.441 0 0 0.584 0.771 0 0 0.284], [0.336 0 0.129 0 0 0 0 0 0 0 0 0.284 0]], initial_trace: [[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 1], [2 2 2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11 11], [12 12 12 12 12 12 12 12 12 12 12 12 12]] trace | Pi:
[[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 1], [2 2 2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4 4 4 0], [5 5 5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11 11], [12 12 12 12 0 12 12 12 12 12 12 12 12]], [[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 1], [2 2 2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 1 4 4 4 4 0], [5 5 5 5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 1 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11 11], [12 12 12 12 0 12 12 12 12 12 12 12 12]], [[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 1], [2 2 2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 1 4 4 4 4 0], [5 5 5 5 5 5 5 2 2 5 5 5 2], [6 6 6 6 6 6 6 6 6 6 6 6 6], [7 7 7 7 1 2 7 7 2 7 7 7 2], [8 8 8 8 8 2 8 2 8 8 8 8 2], [9 9 9 9 9 9 9 9 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11 11], [12 12 12 12 0 2 12 2 2 12 12 12 12]], [[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 1], [2 2 2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 1 4 4 4 4 0], [5 5 5 5 5 5 5 2 2 5 5 5 2], [6 6 6 6 6 6 6 3 6 3 6 6 6], [7 7 7 7 1 2 3 7 2 3 7 7 2], [8 8 8 8 8 2 8 2 8 8 8 8 2], [9 9 9 9 9 9 3 3 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11 11], [12 12 12 12 0 2 12 2 2 12 12 12 12]], [[0 4 0 0 0 0 4 1 0 0 0 0 0], [4 1 1 1 1 1 4 1 1 1 1 1 0], [2 2 2 2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 1 4 4 4 4 0], [5 5 5 5 5 5 5 2 2 5 5 5 2], [4 4 6 6 6 6 4 1 6 3 6 6 0], [4 7 7 7 1 2 4 7 2 3 7 7 2], [8 8 8 8 8 2 8 2 8 8 8 8 2], [9 9 9 9 9 9 3 3 9 9 9 9 9], [10 10 10 10 10 10 10 10 10 10 10 10 10], [11 11 11 11 11 11 11 11 11 11 11 11 11], [12 4 12 12 0 2 4 2 2 12 12 12 12]], [[0 4 0 0 0 0 4 1 0 0 0 0 0], [4 1 1 1 1 1 4 1 1 1 1 1 0], [2 2 2 2 2 2 2 2 2 2 5 5 2], [3 3 3 3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 1 4 4 4 4 0], [5 5 5 5 5 5 5 2 2 5 5 5 2], [4 4 6 6 6 6 4 1 6 3 6 6 0], [4 7 7 7 1 2 4 7 2 3 5 5 2], [8 8 8 8 8 2 8 2 8 8 8 8 2], [9 9 9 9 9 9 3 3 9 9 9 9 9], [10 10 5 10 10 10 10 2 10 10 10 5 2], [11 11 5 11 11 11 11 2 11 11 5 11 11], [12 4 12 12 0 2 4 2 2 12 5 12 12]], [[0 4 0 6 0 0 4 1 0 3 0 0 0], [4 1 1 6 1 1 4 1 1 3 1 1 0], [2 2 2 2 2 2 2 2 2 2 5 5 2], [4 4 3 3 6 3 3 3 3 3 3 3 0], [4 4 4 6 4 4 4 1 4 3 4 4 0], [5 5 5 5 5 5 5 2 2 5 5 5 2], [4 4 6 6 6 6 4 1 6 3 6 6 0], [4 7 7 7 1 2 4 7 2 3 5 5 2], [8 8 8 8 8 2 8 2 8 8 8 8 2], [4 4 9 9 6 9 3 3 9 9 9 9 0], [10 10 5 10 10 10 10 2 10 10 10 5 2], [11 11 5 11 11 11 11 2 11 11 5 11 11], [12 4 12 6 0 2 4 2 2 3 5 12 12]], [[0 4 7 6 0 2 4 1 2 3 5 5 0], [4 1 7 6 1 2 4 1 2 3 5 5 2], [4 7 2 7 1 2 4 2 2 3 5 5 2], [4 4 7 3 6 2 3 3 2 3 5 5 0], [4 4 7 6 4 2 4 1 2 3 5 5 0], [4 7 5 7 1 5 4 2 2 3 5 5 2], [4 4 7 6 6 2 4 1 2 3 5 5 0], [4 7 7 7 1 2 4 7 2 3 5 5 2], [4 7 8 7 1 2 4 2 8 3 8 8 2], [4 4 7 9 6 2 3 3 2 9 5 9 0], [4 7 5 7 1 10 4 2 10 3 10 5 2], [4 7 5 7 1 11 4 2 11 11 5 11 11], [12 7 12 6 0 2 4 2 2 3 5 12 12]], [[0 4 7 6 0 2 4 1 2 3 8 5 0], [4 1 7 6 1 2 4 1 2 3 8 5 2], [4 7 2 7 1 2 4 2 2 3 8 5 2], [4 4 7 3 6 2 3 3 2 3 8 5 0], [4 4 7 6 4 2 4 1 2 3 8 5 0], [4 7 5 7 1 5 4 2 2 3 5 5 2], [4 4 7 6 6 2 4 1 2 3 8 5 0], [4 7 7 7 1 2 4 7 2 3 8 5 2], [4 7 8 7 1 2 4 2 8 3 8 8 2], [4 4 7 9 6 2 3 3 2 9 8 9 0], [4 7 8 7 1 10 4 2 10 3 10 5 2], [4 7 5 7 1 11 4 2 11 11 5 11 11], [12 7 12 6 0 2 4 2 2 3 8 12 12]], [[0 4 7 6 0 2 4 1 2 3 8 9 0], [4 1 7 6 1 2 4 1 2 3 8 9 2], [4 7 2 7 1 2 4 2 2 3 8 5 2], [4 4 7 3 6 2 3 3 2 3 8 9 0], [4 4 7 6 4 2 4 1 2 3 8 9 0], [4 7 5 7 1 5 4 2 2 3 5 5 2], [4 4 7 6 6 2 4 1 2 3 8 9 0], [4 7 7 7 1 2 4 7 2 3 8 5 2], [4 7 8 7 1 2 4 2 8 3 8 8 2], [4 4 7 9 6 2 3 3 2 9 8 9 0], [4 7 8 7 1 10 4 2 10 3 10 5 2], [4 4 5 9 6 11 3 2 11 11 5 11 11], [12 7 12 6 0 2 4 2 2 3 8 12 12]], [[0 4 7 6 0 2 4 1 2 3 8 9 0], [4 1 7 6 1 2 4 1 2 3 8 9 2], [4 7 2 7 1 2 4 2 2 3 8 5 2], [4 4 7 3 6 2 3 3 2 3 8 9 0], [4 4 7 6 4 2 4 1 2 3 8 9 0], [4 7 5 7 1 5 4 2 10 3 5 5 2], [4 4 7 6 6 2 4 1 2 3 8 9 0], [4 7 7 7 1 2 4 7 2 3 8 5 2], [4 7 8 7 1 10 4 2 8 3 8 8 2], [4 4 7 9 6 2 3 3 2 9 8 9 0], [4 7 8 7 1 10 4 2 10 3 10 5 2], [4 4 5 9 6 11 3 2 11 11 5 11 11], [12 7 12 6 0 2 4 2 2 3 8 12 12]] | [[12 4 12 6 0 2 4 2 2 3 8 12 0], [4 1 7 6 1 2 4 1 2 3 8 12 2], [12 7 12 6 0 2 4 2 2 11 8 12 2], [4 4 12 3 6 11 3 3 11 3 5 9 0], [4 4 12 6 4 2 4 1 2 3 8 12 0], [12 7 5 9 0 5 4 2 10 11 5 5 2], [4 4 12 6 6 2 4 1 2 3 8 12 0], [12 7 7 7 1 2 4 7 2 3 8 12 2], [12 7 8 9 0 10 4 2 8 11 8 8 2], [4 4 12 9 6 11 3 3 11 9 5 9 11], [12 7 8 9 0 10 4 2 10 11 10 5 2], [12 7 12 9 0 11 4 2 11 11 5 11 11], [12 7 12 6 0 2 4 2 2 11 8 12 12]]
floyd_warshall
13
find_maximum_subarray_kadane: key: [-0.622 0.378 0.274 -0.292 -0.522 0.477 -0.629 0.273 0.746 -0.48 0.937 0.526 -0.558 -0.941 0.846 -0.874 -0.079 -0.618 0.384 0.976 -0.323 0.954 0.218 -0.296 0.305 0.74 0.476 -0.225 -0.552 -0.461], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 2), (1, 2), (1, 2), (1, 2), (1, 2), (1, 2), (7, 8), (7, 8), (7, 10), (7, 11), (7, 11), (7, 11), (7, 11), (7, 11), (7, 11), (7, 11), (7, 11), (7, 11), (7, 11), (7, 11), (18, 22), (18, 22), (18, 24), (18, 25), (18, 26), (18, 26), (18, 26) | (18, 26)
find_maximum_subarray_kadane
30
insertion_sort: key: [0.622 0.849 0.355 0.873 0.596 0.751 0.173 0.305 0.403 0.541 0.353 0.715 0.81 0.262 0.329 0.657 0.768 0.519 0.297 0.319 0.997 0.056 0.81 0.077], initial_trace: [0.622 0.849 0.355 0.873 0.596 0.751 0.173 0.305 0.403 0.541 0.353 0.715 0.81 0.262 0.329 0.657 0.768 0.519 0.297 0.319 0.997 0.056 0.81 0.077] trace | pred:
[0.622 0.849 0.355 0.873 0.596 0.751 0.173 0.305 0.403 0.541 0.353 0.715 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.355 0.622 0.849 0.873 0.596 0.751 0.173 0.305 0.403 0.541 0.353 0.715 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.355 0.622 0.849 0.873 0.596 0.751 0.173 0.305 0.403 0.541 0.353 0.715 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.355 0.596 0.622 0.849 0.873 0.751 0.173 0.305 0.403 0.541 0.353 0.715 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.355 0.596 0.622 0.751 0.849 0.873 0.173 0.305 0.403 0.541 0.353 0.715 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.173 0.355 0.596 0.622 0.751 0.849 0.873 0.305 0.403 0.541 0.353 0.715 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.173 0.305 0.355 0.596 0.622 0.751 0.849 0.873 0.403 0.541 0.353 0.715 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.173 0.305 0.355 0.403 0.596 0.622 0.751 0.849 0.873 0.541 0.353 0.715 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.173 0.305 0.355 0.403 0.541 0.596 0.622 0.751 0.849 0.873 0.353 0.715 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.173 0.305 0.353 0.355 0.403 0.541 0.596 0.622 0.751 0.849 0.873 0.715 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.173 0.305 0.353 0.355 0.403 0.541 0.596 0.622 0.715 0.751 0.849 0.873 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.173 0.305 0.353 0.355 0.403 0.541 0.596 0.622 0.715 0.751 0.81 0.849 0.873 0.262 0.329 0.657 0.768 0.519 0.297 0.319 0.997 0.056 0.81 0.077], [0.173 0.262 0.305 0.353 0.355 0.403 0.541 0.596 0.622 0.715 0.751 0.81 0.849 0.873 0.329 0.657 0.768 0.519 0.297 0.319 0.997 0.056 0.81 0.077], [0.173 0.262 0.305 0.329 0.353 0.355 0.403 0.541 0.596 0.622 0.715 0.751 0.81 0.849 0.873 0.657 0.768 0.519 0.297 0.319 0.997 0.056 0.81 0.077], [0.173 0.262 0.305 0.329 0.353 0.355 0.403 0.541 0.596 0.622 0.657 0.715 0.751 0.81 0.849 0.873 0.768 0.519 0.297 0.319 0.997 0.056 0.81 0.077], [0.173 0.262 0.305 0.329 0.353 0.355 0.403 0.541 0.596 0.622 0.657 0.715 0.751 0.768 0.81 0.849 0.873 0.519 0.297 0.319 0.997 0.056 0.81 0.077], [0.173 0.262 0.305 0.329 0.353 0.355 0.403 0.519 0.541 0.596 0.622 0.657 0.715 0.751 0.768 0.81 0.849 0.873 0.297 0.319 0.997 0.056 0.81 0.077], [0.173 0.262 0.297 0.305 0.329 0.353 0.355 0.403 0.519 0.541 0.596 0.622 0.657 0.715 0.751 0.768 0.81 0.849 0.873 0.319 0.997 0.056 0.81 0.077], [0.173 0.262 0.297 0.305 0.319 0.329 0.353 0.355 0.403 0.519 0.541 0.596 0.622 0.657 0.715 0.751 0.768 0.81 0.849 0.873 0.997 0.056 0.81 0.077], [0.173 0.262 0.297 0.305 0.319 0.329 0.353 0.355 0.403 0.519 0.541 0.596 0.622 0.657 0.715 0.751 0.768 0.81 0.849 0.873 0.997 0.056 0.81 0.077], [0.056 0.173 0.262 0.297 0.305 0.319 0.329 0.353 0.355 0.403 0.519 0.541 0.596 0.622 0.657 0.715 0.751 0.768 0.81 0.849 0.873 0.997 0.81 0.077], [0.056 0.173 0.262 0.297 0.305 0.319 0.329 0.353 0.355 0.403 0.519 0.541 0.596 0.622 0.657 0.715 0.751 0.768 0.81 0.81 0.849 0.873 0.997 0.077] | [0.056 0.077 0.173 0.262 0.297 0.305 0.319 0.329 0.353 0.355 0.403 0.519 0.541 0.596 0.622 0.657 0.715 0.751 0.768 0.81 0.81 0.849 0.873 0.997]
insertion_sort
24
matrix_chain_order: p: [0.635 0.818 0.553 0.097 0.3 0.231 0.894 0.855 0.901 0.426], initial_trace: [[0 0 0 0 0 0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 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 1 3 3 3 3 3 3], [0 0 0 2 3 3 3 3 3 3], [0 0 0 0 3 3 3 3 3 3], [0 0 0 0 0 4 5 6 7 8], [0 0 0 0 0 0 5 5 5 5], [0 0 0 0 0 0 0 6 7 8], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]] | [[0 0 0 0 0 0 0 0 0 0], [0 0 1 1 3 3 3 3 3 3], [0 0 0 2 3 3 3 3 3 3], [0 0 0 0 3 3 3 3 3 3], [0 0 0 0 0 4 5 6 7 8], [0 0 0 0 0 0 5 5 5 5], [0 0 0 0 0 0 0 6 7 8], [0 0 0 0 0 0 0 0 7 7], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]]
matrix_chain_order
10
segments_intersect: x: [0.08 0.68 0.807 0.381], y: [0.364 0.47 0.568 0.986] intersect:
0
segments_intersect
18
segments_intersect: x: [0.374 0.622 0.352 0.696], y: [0.931 0.495 0.191 0.608] intersect:
1
segments_intersect
12
task_scheduling: d: [11 12 3 2 4 4 16 8 7 3 4 4 12 6 2 12 5], w: [0.892 0.199 0.061 0.372 0.43 0.569 0.205 0.44 0.704 0.788 0.098 0.058 0.033 0.731 0.562 0.437 0.718], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1], [1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 1], [1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 1], [1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 1], [1 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 1], [1 0 0 0 0 0 0 1 1 1 0 0 0 1 0 1 1], [1 0 0 0 0 0 0 1 1 1 0 0 0 1 0 1 1], [1 0 0 0 0 0 0 1 1 1 0 0 0 1 0 1 1], [1 0 0 0 0 0 1 1 1 1 0 0 0 1 0 1 1], [1 1 0 0 0 0 1 1 1 1 0 0 0 1 0 1 1], [1 1 0 0 0 0 1 1 1 1 0 0 0 1 0 1 1], [1 1 0 0 0 0 1 1 1 1 0 0 0 1 0 1 1], [1 1 0 0 0 0 1 1 1 1 0 0 0 1 0 1 1] | [1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 1 1]
task_scheduling
17
minimum: key: [0.988 0.13 0.391 0.871 0.649 0.403 0.719 0.277 0.855 0.085 0.105 0.785 0.425 0.779 0.913 0.752 0.646 0.281 0.508 0.237 0.823 0.992 0.036 0.537 0.829 0.965 0.396 0.448 0.306 0.055 0.213 0.971 0.775 0.991 0.602 0.035 0.424 0.885 0.542 0.831 0.015 0.331 0.427 0.448 0.266 0.74 0.787 0.833 0.41 0.087], initial_trace: 0 trace | min:
1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 35, 35, 35, 35, 35, 40, 40, 40, 40, 40, 40, 40, 40, 40 | 40
minimum
50
strongly_connected_components: A: [[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]], initial_trace: [0 1 2 3 4] trace | scc_id:
[0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 4], [0 1 2 3 2], [0 1 2 3 2], [0 1 2 3 2], [0 1 2 3 2], [0 1 2 3 2], [0 1 2 3 2], [0 1 2 3 2] | [0 1 2 3 2]
strongly_connected_components
5
activity_selector: s: [0.058 0.266 0.269 0.212 0.673 0.433 0.882 0.035 0.065 0.164 0.408 0.56 0.526 0.157 0.306 0.211 0.217 0.814 0.389 0.815 0.132 0.306 0.782 0.475 0.742 0.759 0.052 0.041 0.269 0.515 0.168 0.018 0.65 0.296 0.364 0.461 0.225 0.525 0.085 0.376 0.016 0.206 0.618 0.13 0.123 0.169 0.306 0.423 0.051], f: [0.766 0.779 0.555 0.858 0.878 0.598 0.931 0.476 0.736 0.684 0.71 0.889 0.794 0.372 0.723 0.298 0.744 0.998 0.879 0.997 0.968 0.503 0.974 0.558 0.755 0.777 0.625 0.867 0.794 0.918 0.186 0.189 0.716 0.739 0.582 0.839 0.602 0.791 0.142 0.738 0.533 0.752 0.639 0.311 0.86 0.324 0.464 0.457 0.075], 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] 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 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 1], [0 0 0 0 0 0 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