Datasets:

question
stringlengths
65
3.42k
answer
stringlengths
3
5.8k
algo_name
stringclasses
30 values
insertion_sort: key: [0.428 0.804 0.623 0.445 0.502 0.63 0.251 0.219 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], initial_trace: [0.428 0.804 0.623 0.445 0.502 0.63 0.251 0.219 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578] trace | pred:
[0.428 0.804 0.623 0.445 0.502 0.63 0.251 0.219 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.428 0.623 0.804 0.445 0.502 0.63 0.251 0.219 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.428 0.445 0.623 0.804 0.502 0.63 0.251 0.219 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.428 0.445 0.502 0.623 0.804 0.63 0.251 0.219 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.428 0.445 0.502 0.623 0.63 0.804 0.251 0.219 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.251 0.428 0.445 0.502 0.623 0.63 0.804 0.219 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.219 0.251 0.428 0.445 0.502 0.623 0.63 0.804 0.41 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.219 0.251 0.41 0.428 0.445 0.502 0.623 0.63 0.804 0.048 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.048 0.219 0.251 0.41 0.428 0.445 0.502 0.623 0.63 0.804 0.004 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.048 0.219 0.251 0.41 0.428 0.445 0.502 0.623 0.63 0.804 0.569 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.048 0.219 0.251 0.41 0.428 0.445 0.502 0.569 0.623 0.63 0.804 0.113 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.048 0.113 0.219 0.251 0.41 0.428 0.445 0.502 0.569 0.623 0.63 0.804 0.391 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.048 0.113 0.219 0.251 0.391 0.41 0.428 0.445 0.502 0.569 0.623 0.63 0.804 0.505 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.048 0.113 0.219 0.251 0.391 0.41 0.428 0.445 0.502 0.505 0.569 0.623 0.63 0.804 0.038 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.219 0.251 0.391 0.41 0.428 0.445 0.502 0.505 0.569 0.623 0.63 0.804 0.286 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.219 0.251 0.286 0.391 0.41 0.428 0.445 0.502 0.505 0.569 0.623 0.63 0.804 0.182 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.286 0.391 0.41 0.428 0.445 0.502 0.505 0.569 0.623 0.63 0.804 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.286 0.391 0.41 0.428 0.445 0.502 0.505 0.569 0.623 0.63 0.804 0.995 0.267 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.391 0.41 0.428 0.445 0.502 0.505 0.569 0.623 0.63 0.804 0.995 0.496 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.391 0.41 0.428 0.445 0.496 0.502 0.505 0.569 0.623 0.63 0.804 0.995 0.516 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.391 0.41 0.428 0.445 0.496 0.502 0.505 0.516 0.569 0.623 0.63 0.804 0.995 0.598 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.391 0.41 0.428 0.445 0.496 0.502 0.505 0.516 0.569 0.598 0.623 0.63 0.804 0.995 0.851 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.391 0.41 0.428 0.445 0.496 0.502 0.505 0.516 0.569 0.598 0.623 0.63 0.804 0.851 0.995 0.858 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.391 0.41 0.428 0.445 0.496 0.502 0.505 0.516 0.569 0.598 0.623 0.63 0.804 0.851 0.858 0.995 0.461 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.391 0.41 0.428 0.445 0.461 0.496 0.502 0.505 0.516 0.569 0.598 0.623 0.63 0.804 0.851 0.858 0.995 0.32 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.32 0.391 0.41 0.428 0.445 0.461 0.496 0.502 0.505 0.516 0.569 0.598 0.623 0.63 0.804 0.851 0.858 0.995 0.672 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.32 0.391 0.41 0.428 0.445 0.461 0.496 0.502 0.505 0.516 0.569 0.598 0.623 0.63 0.672 0.804 0.851 0.858 0.995 0.417 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.32 0.391 0.41 0.417 0.428 0.445 0.461 0.496 0.502 0.505 0.516 0.569 0.598 0.623 0.63 0.672 0.804 0.851 0.858 0.995 0.848 0.578], [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.32 0.391 0.41 0.417 0.428 0.445 0.461 0.496 0.502 0.505 0.516 0.569 0.598 0.623 0.63 0.672 0.804 0.848 0.851 0.858 0.995 0.578] | [0.004 0.038 0.048 0.113 0.182 0.219 0.251 0.267 0.286 0.32 0.391 0.41 0.417 0.428 0.445 0.461 0.496 0.502 0.505 0.516 0.569 0.578 0.598 0.623 0.63 0.672 0.804 0.848 0.851 0.858 0.995]
insertion_sort
articulation_points: A: [[0 0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 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1] | [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1]
articulation_points
bellman_ford: s: 4, A: [[0.876 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0.448 0 0.049 0 0 0 0.2], [0 0 0 0 0 0 0 0.132 0 0 0.252], [0 0 0 0 0 0 0.541 0 0.998 0 0], [0 0.448 0 0 0 0 0 0 0.26 0 0], [0 0 0 0 0 0 0 0.569 0 0.46 0], [0 0.049 0 0.541 0 0 0 0.293 0.275 0 0], [0 0 0.132 0 0 0.569 0.293 0.55 0.293 0 0], [0 0 0 0.998 0.26 0 0.275 0.293 0 0 0], [0 0 0 0 0 0.46 0 0 0 0.185 0.493], [0 0.2 0.252 0 0 0 0 0 0 0.493 0.554]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 4 2 3 4 5 6 7 4 9 10], [0 4 2 8 4 5 1 8 4 9 1] | [0 4 7 6 4 7 1 8 4 10 1]
bellman_ford
strongly_connected_components: A: [[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 1 0 1], [0 1 0 0 0 0 0 0 0 0 1 0], [0 1 0 0 0 1 0 0 1 0 0 0], [0 0 0 0 0 1 0 0 1 0 0 0], [1 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 1 0 0 0 0], [0 0 0 0 0 1 0 0 1 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 1], [0 1 0 0 0 0 0 0 0 0 1 0], [0 0 1 0 0 0 0 0 0 1 0 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11] trace | scc_id:
[0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 8 9 10 11], [0 1 2 3 4 5 6 7 5 9 10 11], [0 1 2 3 4 5 6 7 5 9 10 11], [0 1 2 3 4 5 6 7 5 9 10 11], [0 1 2 3 4 5 6 7 5 9 10 11], [0 1 2 3 4 5 6 7 5 9 10 11], [0 1 2 3 4 5 6 7 5 2 10 11], [0 1 2 3 4 5 6 7 5 2 10 2], [0 1 2 3 4 5 6 7 5 2 10 2], [0 1 2 3 4 5 6 7 5 2 10 2], [0 1 2 3 4 5 6 7 5 2 10 2], [0 1 2 3 4 5 6 7 5 2 10 2], [0 1 2 3 4 5 6 7 5 2 10 2], [0 1 2 1 4 5 6 7 5 2 10 2], [0 1 2 1 4 5 6 7 5 2 10 2], [0 1 2 1 4 5 6 7 5 2 1 2], [0 1 2 1 4 5 6 7 5 2 1 2], [0 1 2 1 4 5 6 7 5 2 1 2], [0 1 2 1 4 5 6 7 5 2 1 2], [0 1 2 1 4 5 6 7 5 2 1 2], [0 1 2 1 4 5 0 7 5 2 1 2], [0 1 2 1 4 5 0 0 5 2 1 2], [0 1 2 1 4 5 0 0 5 2 1 2] | [0 1 2 1 4 5 0 0 5 2 1 2]
strongly_connected_components
activity_selector: s: [0.377 0.221 0.49 0.589], f: [0.524 0.716 0.738 0.933], initial_trace: [0 0 0 0] trace | selected:
[1 0 0 0], [1 0 0 0], [1 0 0 0] | [1 0 0 1]
activity_selector
dfs: A: [[0 1 1 1 1 1 0 0 0 0 1 0 0 1 0], [1 1 0 0 1 1 1 0 1 0 0 0 1 1 0], [1 0 0 0 1 1 1 0 1 1 0 0 0 1 1], [1 1 1 0 1 1 0 0 1 0 1 1 1 0 0], [1 0 0 0 1 1 0 1 1 0 1 1 1 1 1], [1 0 1 0 0 0 1 0 0 1 0 0 1 0 0], [1 0 0 0 1 0 0 0 1 1 1 0 0 0 1], [0 1 1 0 0 1 0 0 0 1 0 0 1 0 1], [0 0 0 0 0 0 1 0 1 1 0 0 1 1 1], [0 1 0 0 1 1 1 1 1 1 0 0 0 1 0], [0 0 1 0 0 0 0 1 1 1 1 1 0 1 1], [1 1 1 1 1 0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 0 0 1 1 0 1 0], [1 0 1 1 1 0 0 1 1 0 1 0 0 0 0], [1 1 1 1 1 0 0 1 1 1 1 0 1 1 1]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 0 2 3 4 5 6 7 8 9 10 11 12 13 14], [0 0 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 0 2 3 1 5 6 7 8 9 10 11 12 13 14], [0 0 2 3 1 4 6 7 8 9 10 11 12 13 14], [0 0 2 3 1 4 6 7 8 9 10 11 12 13 14], [0 0 5 3 1 4 6 7 8 9 10 11 12 13 14], [0 0 5 3 1 4 6 7 8 9 10 11 12 13 14], [0 0 5 3 1 4 2 7 8 9 10 11 12 13 14], [0 0 5 3 1 4 2 7 8 9 10 11 12 13 14], [0 0 5 3 1 4 2 7 6 9 10 11 12 13 14], [0 0 5 3 1 4 2 7 6 9 10 11 12 13 14], [0 0 5 3 1 4 2 7 6 8 10 11 12 13 14], [0 0 5 3 1 4 2 7 6 8 10 11 12 13 14], [0 0 5 3 1 4 2 9 6 8 10 11 12 13 14], [0 0 5 3 1 4 2 9 6 8 10 11 12 13 14], [0 0 5 3 1 4 2 9 6 8 10 11 7 13 14], [0 0 5 3 1 4 2 9 6 8 10 11 7 13 14], [0 0 5 12 1 4 2 9 6 8 10 11 7 13 14], [0 0 5 12 1 4 2 9 6 8 10 11 7 13 14], [0 0 5 12 1 4 2 9 6 8 3 11 7 13 14], [0 0 5 12 1 4 2 9 6 8 3 11 7 13 14], [0 0 5 12 1 4 2 9 6 8 3 10 7 13 14], [0 0 5 12 1 4 2 9 6 8 3 10 7 13 14], [0 0 5 12 1 4 2 9 6 8 3 10 7 13 14], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 14], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 14], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 14], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10], [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10] | [0 0 5 12 1 4 2 9 6 8 3 10 7 10 10]
dfs
binary_search: key: [0.056 0.067 0.09 0.102 0.136 0.153 0.271 0.277 0.282 0.329 0.35 0.413 0.502 0.557 0.576 0.601 0.844 0.859 0.895 0.933 0.95 0.953 0.96], target: 0.964, initial_trace: (0, 22) trace | (low, high):
(12, 22), (18, 22), (21, 22) | (22, 22)
binary_search
activity_selector: s: [0.504 0.185 0.167 0.083 0.311 0.483 0.67 0.545 0.326 0.113 0.134 0.559 0.528 0.237 0.372 0.119 0.505 0.583 0.186 0.143 0.058 0.036 0.144 0.052 0.179 0.709 0.004 0.194 0.007 0.064 0.318], f: [0.964 0.597 0.523 0.083 0.962 0.837 0.869 0.655 0.855 0.498 0.433 0.776 0.901 0.304 0.759 0.176 0.911 0.803 0.303 0.51 0.328 0.543 0.189 0.603 0.642 0.951 0.776 0.749 0.106 0.552 0.487], 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]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0 0 1 0 0 0 0 0 0 0 1 1 0 0 1 0]
graham_scan
minimum: key: [0.6 0.939 0.506 0.924 0.319 0.583 0.625 0.096 0.165 0.255 0.262 0.185], initial_trace: 0 trace | min:
0, 2, 2, 4, 4, 4, 7, 7, 7, 7 | 7
minimum
minimum: key: [0.013 0.041 0.544 0.025 0.823 0.746 0.189 0.801 0.327 0.132 0.781 0.13], initial_trace: 0 trace | min:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0 | 0
minimum
mst_prim: s: 9, A: [[0 0.543 0.399 0 0 0 0 0.347 0 0.131 0 0 0.424 0.64 0.821], [0.543 0 0 0 0 0.088 0.679 0 0 0 0.395 0.526 0.821 0 0], [0.399 0 0 0 0 0 0.865 0.474 0 0.048 0 0 0.222 0 0], [0 0 0 0.323 0 0 0 0 0.659 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.124 0 0 0 0 0 0 0.152], [0 0.088 0 0 0 0 0 0 0.371 0.103 0 0 0 0 0], [0 0.679 0.865 0 0 0 0 0 0.272 0.426 0 0 0 0 0], [0.347 0 0.474 0 0.124 0 0 0.654 0 0 0.407 0 0 0 0], [0 0 0 0.659 0 0.371 0.272 0 0 0 0 0 0.847 0 0], [0.131 0 0.048 0 0 0.103 0.426 0 0 0 0 0 0.696 0 0], [0 0.395 0 0 0 0 0 0.407 0 0 0.076 0 0 0 0], [0 0.526 0 0 0 0 0 0 0 0 0 0 0 0 0], [0.424 0.821 0.222 0 0 0 0 0 0.847 0.696 0 0 0.325 0 0], [0.64 0 0 0 0 0 0 0 0 0 0 0 0 0.281 0], [0.821 0 0 0 0.152 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[9 1 9 3 4 9 9 7 8 9 10 11 9 13 14], [9 1 9 3 4 9 9 2 8 9 10 11 2 13 14], [9 5 9 3 4 9 9 2 5 9 10 11 2 13 14], [9 5 9 3 4 9 9 2 5 9 1 1 2 13 14], [9 5 9 3 4 9 9 0 5 9 1 1 2 0 0], [9 5 9 3 4 9 9 0 5 9 1 1 2 0 0], [9 5 9 3 7 9 9 0 5 9 1 1 2 0 0], [9 5 9 3 7 9 9 0 5 9 1 1 2 0 4], [9 5 9 3 7 9 9 0 5 9 1 1 2 0 4], [9 5 9 8 7 9 8 0 5 9 1 1 2 0 4], [9 5 9 8 7 9 8 0 5 9 1 1 2 0 4], [9 5 9 8 7 9 8 0 5 9 1 1 2 0 4], [9 5 9 8 7 9 8 0 5 9 1 1 2 0 4], [9 5 9 8 7 9 8 0 5 9 1 1 2 0 4] | [9 5 9 8 7 9 8 0 5 9 1 1 2 0 4]
mst_prim
dfs: A: [[1 0 0 1 1 0 1 0 1 1 0], [1 1 0 0 1 0 1 1 1 0 1], [1 0 1 1 1 1 1 1 0 1 0], [1 1 1 1 1 1 0 0 0 0 0], [1 1 0 1 0 0 0 1 0 0 0], [0 1 0 0 1 0 0 0 0 1 1], [1 0 1 0 0 1 1 0 0 0 1], [0 1 0 1 1 0 1 0 0 1 0], [1 0 0 0 1 0 1 1 0 1 0], [0 0 1 1 0 0 0 1 1 0 0], [0 1 1 0 1 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10], [0 1 2 0 4 5 6 7 8 9 10], [0 1 2 0 4 5 6 7 8 9 10], [0 3 2 0 4 5 6 7 8 9 10], [0 3 2 0 4 5 6 7 8 9 10], [0 3 2 0 1 5 6 7 8 9 10], [0 3 2 0 1 5 6 7 8 9 10], [0 3 2 0 1 5 6 4 8 9 10], [0 3 2 0 1 5 6 4 8 9 10], [0 3 2 0 1 5 7 4 8 9 10], [0 3 2 0 1 5 7 4 8 9 10], [0 3 6 0 1 5 7 4 8 9 10], [0 3 6 0 1 5 7 4 8 9 10], [0 3 6 0 1 2 7 4 8 9 10], [0 3 6 0 1 2 7 4 8 9 10], [0 3 6 0 1 2 7 4 8 5 10], [0 3 6 0 1 2 7 4 8 5 10], [0 3 6 0 1 2 7 4 9 5 10], [0 3 6 0 1 2 7 4 9 5 10], [0 3 6 0 1 2 7 4 9 5 10], [0 3 6 0 1 2 7 4 9 5 10], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5], [0 3 6 0 1 2 7 4 9 5 5] | [0 3 6 0 1 2 7 4 9 5 5]
dfs
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 1 1], key: [1 3 1 3 1 0 1 0 0 0 1], initial_trace: 0 trace | s:
0, 0, 0, 1, 2, 3, 4 | 5
kmp_matcher
activity_selector: s: [0.313 0.454 0.289 0.371 0.174 0.044 0.769 0.395 0.058 0.775 0.55 0.011 0.365 0.08 0.037 0.249 0.306 0.421 0.076 0.501 0.6 0.246 0.731], f: [0.726 0.522 0.375 0.387 0.219 0.663 0.792 0.822 0.125 0.887 0.894 0.795 0.82 0.887 0.128 0.49 0.474 0.768 0.187 0.788 0.872 0.282 0.9], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 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 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 1 0], [0 0 1 0 1 0 0 0 1 0 0 0 0 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 1 0], [0 0 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0], [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0] | [0 1 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0]
activity_selector
bellman_ford: s: 14, A: [[0.113 0 0 0 0 0 0 0 0 0.963 0 0 0 0 0], [0 0 0 0 0 0 0 0 0.211 0.224 0 0 0 0.701 0], [0 0 0.612 0.225 0 0.698 0 0 0.779 0 0.401 0 0 0 0.644], [0 0 0.225 0 0.739 0 0.79 0 0 0 0 0.547 0 0 0], [0 0 0 0.739 0 0.278 0.853 0 0 0.678 0.562 0 0.448 0 0], [0 0 0.698 0 0.278 0.2 0 0 0 0.838 0 0.915 0 0 0.491], [0 0 0 0.79 0.853 0 0.823 0.22 0 0.648 0 0 0.477 0 0.213], [0 0 0 0 0 0 0.22 0 0 0.883 0 0 0 0 0], [0 0.211 0.779 0 0 0 0 0 0.631 0.167 0.16 0.277 0 0 0], [0.963 0.224 0 0 0.678 0.838 0.648 0.883 0.167 0 0 0 0 0 0], [0 0 0.401 0 0.562 0 0 0 0.16 0 0.619 0 0 0 0], [0 0 0 0.547 0 0.915 0 0 0.277 0 0 0 0 0 0], [0 0 0 0 0.448 0 0.477 0 0 0 0 0 0.072 0 0], [0 0.701 0 0 0 0 0 0 0 0 0 0 0 0.88 0.787], [0 0 0.644 0 0 0.491 0.213 0 0 0 0 0 0 0.787 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[0 1 14 3 4 14 14 7 8 9 10 11 12 14 14], [0 13 14 2 5 14 14 6 2 6 2 5 6 14 14], [9 9 14 2 5 14 14 6 9 6 2 5 6 14 14] | [9 9 14 2 5 14 14 6 9 6 2 8 6 14 14]
bellman_ford
bellman_ford: s: 13, A: [[0.268 0 0 0 0 0.391 0 0 0 0 0.157 0 0.238 0 0.675], [0 0 0 0 0 0 0 0.532 0 0 0 0 0 0 0], [0 0 0.332 0 0.55 0 0.555 0 0 0 0 0 0 0.643 0], [0 0 0 0 0 0 0 0 0 0.449 0 0 0.239 0 0], [0 0 0.55 0 0.558 0 0.203 0 0 0 0 0 0.236 0 0.238], [0.391 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0.555 0 0.203 0 0 0 0 0.16 0 0 0 0 0], [0 0.532 0 0 0 0 0 0 0 0.607 0.563 0.549 0.772 0 0], [0 0 0 0 0 0 0 0 0.154 0 0 0.501 0 0 0], [0 0 0 0.449 0 0 0.16 0.607 0 0 0 0.238 0.324 0 0], [0.157 0 0 0 0 0 0 0.563 0 0 0.91 0 0 0.213 0], [0 0 0 0 0 0 0 0.549 0.501 0.238 0 0.361 0.61 0 0], [0.238 0 0 0.239 0.236 0 0 0.772 0 0.324 0 0.61 0 0 0], [0 0 0.643 0 0 0 0 0 0 0 0.213 0 0 0.734 0], [0.675 0 0 0 0.238 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[0 1 13 3 4 5 6 7 8 9 13 11 12 13 14], [10 1 13 3 2 5 2 10 8 9 13 11 12 13 14], [10 7 13 3 2 0 2 10 8 6 13 7 0 13 0], [10 7 13 12 12 0 2 10 11 12 13 12 0 13 0], [10 7 13 12 12 0 4 10 11 12 13 9 0 13 0] | [10 7 13 12 12 0 4 10 11 12 13 9 0 13 0]
bellman_ford
bubble_sort: key: [0.457 0.591 0.561 0.263 0.46], initial_trace: [0.457 0.591 0.561 0.263 0.46] trace | pred:
[0.457 0.591 0.561 0.263 0.46], [0.457 0.591 0.263 0.561 0.46], [0.457 0.263 0.591 0.561 0.46], [0.263 0.457 0.591 0.561 0.46], [0.263 0.457 0.591 0.46 0.561], [0.263 0.457 0.46 0.591 0.561], [0.263 0.457 0.46 0.591 0.561], [0.263 0.457 0.46 0.561 0.591], [0.263 0.457 0.46 0.561 0.591] | [0.263 0.457 0.46 0.561 0.591]
bubble_sort
jarvis_march: x: [0.812 -0.369 0.704 1.81 -0.289 -0.271 1.4 -1.95 1.86 -0.076 -0.358], y: [0.325 -0.362 -0.415 0.105 -0.663 -0.212 0.241 -0.118 0.428 1.55 -0.385], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 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[0 0 1 1 1 0 0 0 1 1 0], [0 0 1 1 1 0 0 0 1 1 0], [0 0 1 1 1 0 0 0 1 1 0], [0 0 1 1 1 0 0 0 1 1 0], [0 0 1 1 1 0 0 0 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0], [0 0 1 1 1 0 0 1 1 1 0] | [0 0 1 1 1 0 0 1 1 1 0]
jarvis_march
find_maximum_subarray_kadane: key: [0.772 -0.373 0.64 -0.83], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (0, 2) | (0, 2)
find_maximum_subarray_kadane
bfs: s: 2, A: [[0 0 0 0], [0 0 1 1], [0 1 0 0], [0 1 0 1]], initial_trace: [0 1 2 3] trace | pi:
[0 2 2 3] | [0 2 2 1]
bfs
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1], key: [1 1 2 3 0 0 2 2 1 1 0 3 3 2 1 2 1 2 3 0 2 2 2 1 3 3 3 2 1 2 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 | 11
kmp_matcher
quickselect: key: [0.405 0.67 0.123 0.835 0.441], initial_trace: 4 trace | pivot:
4, 4, 4 | 4
quickselect
quicksort: key: [0.086 0.187 0.335 0.374], initial_trace: [0.086 0.187 0.335 0.374] trace | pred:
[0.086 0.187 0.335 0.374], [0.086 0.187 0.335 0.374], [0.086 0.187 0.335 0.374], [0.086 0.187 0.335 0.374], [0.086 0.187 0.335 0.374], [0.086 0.187 0.335 0.374], [0.086 0.187 0.335 0.374] | [0.086 0.187 0.335 0.374]
quicksort
activity_selector: s: [0.798 0.124 0.02 0.193 0.144 0.505 0.116 0.264 0.016 0.45 0.231 0.108 0.634 0.693 0.272 0.012 0.792 0.434 0.021 0.314 0.687 0.351 0.151 0.043 0.609 0.695 0.043 0.409 0.058 0.406 0.137], f: [0.822 0.823 0.771 0.823 0.642 0.633 0.349 0.345 0.876 0.581 0.443 0.569 0.768 0.761 0.273 0.583 0.907 0.968 0.155 0.432 0.719 0.743 0.843 0.538 0.742 0.94 0.125 0.446 0.446 0.665 0.901], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 1 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 1 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 1 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 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0], [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0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0], [1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0] | [1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0]
activity_selector
naive_string_matcher: string: [0 0 0 0 0 0 0 0 1 1], key: [0 1 3 3 0 2 0 1 3 0], initial_trace: 0 trace | s:
1, 2, 2, 3 | 3
naive_string_matcher
topological_sort: A: [[0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 1 0 1 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], [1 0 1 0 0 1 1 1 1 0 1 1 1 1 1 0 1 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 1 0 0 0 0 1 0 0 0 0 1 0 1 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 1 1 0 0 1 1 1 0 1 0 0 1 0 1 0 0 1 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 1 0 1 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 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [1 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 1 1 0], [0 0 1 1 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0], [1 0 0 1 0 1 1 1 0 1 1 1 0 0 1 0 0 0 0], [1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0], [0 1 0 0 0 0 1 0 1 0 0 0 1 0 0 1 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 0, [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 3, [0 1 3 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 2, [0 1 3 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 2, [0 1 3 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18], 2, [0 1 3 3 4 5 6 2 8 9 10 11 12 13 14 15 16 17 18], 7, [0 1 3 3 4 5 6 2 8 7 10 11 12 13 14 15 16 17 18], 9, [0 1 3 3 4 5 6 2 8 7 10 11 12 13 14 15 16 17 18], 9, [0 1 3 3 4 5 6 2 8 7 10 11 12 13 14 15 16 17 18], 9, [0 1 3 3 4 9 6 2 8 7 10 11 12 13 14 15 16 17 18], 5, [0 1 3 3 4 9 6 2 8 7 10 11 12 13 14 15 16 17 18], 5, [0 1 3 3 4 9 6 2 8 7 10 11 5 13 14 15 16 17 18], 12, [0 1 3 3 4 9 6 2 8 7 10 11 5 13 12 15 16 17 18], 14, [14 1 3 3 4 9 6 2 8 7 10 11 5 13 12 15 16 17 18], 0, [14 1 3 3 4 9 6 2 8 7 10 11 5 13 12 15 16 17 18], 0, [14 1 3 3 4 9 6 2 8 7 10 11 5 13 12 15 16 17 18], 0, [14 1 3 3 4 9 6 2 8 7 10 11 5 13 12 15 16 17 18], 0, [14 1 3 3 4 9 6 2 8 7 10 11 5 13 12 15 16 17 18], 0, [14 1 3 3 4 9 6 2 8 7 10 11 5 13 12 15 16 0 18], 17, [14 1 3 3 4 9 17 2 8 7 10 11 5 13 12 15 16 0 18], 6, [14 1 3 3 4 9 17 2 8 7 10 11 5 13 12 15 16 0 18], 6, [14 1 3 3 4 9 17 2 8 7 6 11 5 13 12 15 16 0 18], 10, [14 10 3 3 4 9 17 2 8 7 6 11 5 13 12 15 16 0 18], 1, [14 10 3 3 4 9 17 2 8 7 6 11 5 13 12 15 16 0 18], 1, [14 10 3 3 4 9 17 2 8 7 6 11 5 13 12 15 16 0 18], 1, [14 10 3 3 4 9 17 2 8 7 6 11 5 13 12 15 16 0 18], 1, [14 10 3 3 4 9 17 2 1 7 6 11 5 13 12 15 16 0 18], 8, [14 10 3 3 4 9 17 2 1 7 6 11 5 13 12 15 16 0 18], 8, [14 10 3 3 4 9 17 2 1 7 6 8 5 13 12 15 16 0 18], 11, [14 10 3 3 4 9 17 2 1 7 6 8 5 13 12 15 16 0 18], 11, [14 10 3 3 4 9 17 2 1 7 6 8 5 13 12 15 16 0 18], 11, [14 10 3 3 4 9 17 2 1 7 6 8 5 13 12 11 16 0 18], 15, [14 10 3 3 4 9 17 2 1 7 6 8 5 13 12 11 16 0 18], 15, [14 10 3 3 4 9 17 2 1 7 6 8 5 13 12 11 15 0 18], 16, [14 10 3 3 4 9 17 2 1 7 6 8 5 16 12 11 15 0 18], 13, [14 10 3 3 13 9 17 2 1 7 6 8 5 16 12 11 15 0 18], 4, [14 10 3 3 13 9 17 2 1 7 6 8 5 16 12 11 15 0 18], 4, [14 10 3 3 13 9 17 2 1 7 6 8 5 16 12 11 15 0 18], 4 | [14 10 3 3 13 9 17 2 1 7 6 8 5 16 12 11 15 0 4], 18
topological_sort
bellman_ford: s: 2, A: [[0.032 0 0 0 0 0 0.405 0 0 0.437 0 0 0 0 0 0 0 0 0 0.208 0 0.809 0 0.43 0.184 0 0.686 0.444], [0 0 0 0 0 0.629 0.244 0 0 0 0 0 0.379 0 0.57 0 0.261 0 0 0 0 0 0.829 0 0 0 0.099 0.302], [0 0 0.968 0 0 0 0 0.589 0 0 0 0 0 0.228 0.601 0 0 0 0 0 0 0.326 0 0 0 0 0 0.72], [0 0 0 0 0 0 0 0 0 0.564 0 0 0 0.64 0 0.515 0 0 0 0 0 0 0 0.439 0.717 0 0.682 0], [0 0 0 0 0.148 0 0 0 0 0 0.427 0.746 0 0.367 0 0 0 0 0 0 0 0.457 0 0 0 0.445 0 0], [0 0.629 0 0 0 0.359 0 0 0 0 0.436 0 0 0 0.208 0 0.188 0 0 0 0.703 0 0 0.179 0 0 0 0.501], [0.405 0.244 0 0 0 0 0.809 0 0 0 0 0 0 0 0 0 0.412 0 0 0 0 0.446 0 0 0 0.465 0.202 0], [0 0 0.589 0 0 0 0 0 0 0 0 0 0 0 0 0.407 0 0 0 0.78 0 0 0.889 0.297 0 0 0 0], [0 0 0 0 0 0 0 0 0.713 0 0 0 0 0 0 0 0 0 0.638 0 0 0 0.686 0.59 0 0 0 0], [0.437 0 0 0.564 0 0 0 0 0 0 0 0 0 0 0 0.374 0.044 0 0 0.678 0.123 0 0 0 0 0 0 0], [0 0 0 0 0.427 0.436 0 0 0 0 0 0.162 0.111 0.627 0.655 0.369 0 0 0 0 0.634 0 0 0 0.841 0 0.277 0], [0 0 0 0 0.746 0 0 0 0 0 0.162 0 0 0 0 0 0 0.482 0 0 0 0 0 0 0 0 0 0], [0 0.379 0 0 0 0 0 0 0 0 0.111 0 0.711 0 0 0 0.198 0 0 0 0 0 0.529 0 0 0 0 0], [0 0 0.228 0.64 0.367 0 0 0 0 0 0.627 0 0 0.921 0 0 0 0.941 0 0 0.797 0 0 0 0 0 0 0.233], [0 0.57 0.601 0 0 0.208 0 0 0 0 0.655 0 0 0 0.11 0 0 0 0.469 0 0 0 0 0.124 0 0 0 0], [0 0 0 0.515 0 0 0 0.407 0 0.374 0.369 0 0 0 0 0 0 0 0 0.53 0.425 0 0 0 0 0 0.654 0], [0 0.261 0 0 0 0.188 0.412 0 0 0.044 0 0 0.198 0 0 0 0 0 0 0 0.894 0 0.043 0.235 0 0 0 0.356], [0 0 0 0 0 0 0 0 0 0 0 0.482 0 0.941 0 0 0 0 0 0.373 0 0 0 0.243 0.51 0 0 0], [0 0 0 0 0 0 0 0 0.638 0 0 0 0 0 0.469 0 0 0 0 0.798 0 0 0 0 0 0 0 0.301], [0.208 0 0 0 0 0 0 0.78 0 0.678 0 0 0 0 0 0.53 0 0.373 0.798 0.787 0 0 0 0 0 0 0 0.649], [0 0 0 0 0 0.703 0 0 0 0.123 0.634 0 0 0.797 0 0.425 0.894 0 0 0 0.689 0 0 0 0.542 0.825 0 0], [0.809 0 0.326 0 0.457 0 0.446 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.058 0 0 0.059 0 0.236 0], [0 0.829 0 0 0 0 0 0.889 0.686 0 0 0 0.529 0 0 0 0.043 0 0 0 0 0 0 0 0 0 0 0], [0.43 0 0 0.439 0 0.179 0 0.297 0.59 0 0 0 0 0 0.124 0 0.235 0.243 0 0 0 0 0 0 0 0 0 0.574], [0.184 0 0 0.717 0 0 0 0 0 0 0.841 0 0 0 0 0 0 0.51 0 0 0.542 0.059 0 0 0.515 0 0 0], [0 0 0 0 0.445 0 0.465 0 0 0 0 0 0 0 0 0 0 0 0 0 0.825 0 0 0 0 0.299 0 0], [0.686 0.099 0 0.682 0 0 0.202 0 0 0 0.277 0 0 0 0 0.654 0 0 0 0 0 0.236 0 0 0 0 0 0.745], [0.444 0.302 0.72 0 0 0.501 0 0 0 0 0 0 0 0.233 0 0 0.356 0 0.301 0.649 0 0 0 0.574 0 0 0.745 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27] trace | pi:
[0 1 2 3 4 5 6 2 8 9 10 11 12 2 2 15 16 17 18 19 20 2 22 23 24 25 26 2], [21 27 2 13 13 14 21 2 8 9 13 11 12 2 2 7 27 13 27 7 13 2 7 14 21 25 21 13], [24 26 2 13 13 14 26 2 23 16 26 10 10 2 2 7 27 24 27 27 24 2 16 14 21 4 21 13] | [24 26 2 13 13 14 26 2 23 16 26 10 10 2 2 7 27 24 27 0 24 2 16 14 21 4 21 13]
bellman_ford
floyd_warshall: A: [[0.532 0 0 0 0 0 0.554 0 0 0], [0 0.046 0 0.58 0.328 0.653 0.911 0 0 0.413], [0 0 0.385 0 0 0 0 0 0 0], [0 0.58 0 0.519 0 0 0.648 0 0.556 0], [0 0.328 0 0 0.439 0 0 0 0 0], [0 0.653 0 0 0 0.273 0.817 0 0 0], [0.554 0.911 0 0.648 0 0.817 0 0 0 0], [0 0 0 0 0 0 0 0 0.687 0.401], [0 0 0 0.556 0 0 0 0.687 0 0], [0 0.413 0 0 0 0 0 0.401 0 0]], initial_trace: [[0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9]] trace | Pi:
[[0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9]], [[0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2], [3 3 3 3 1 1 3 3 3 1], [4 4 4 1 4 1 1 4 4 1], [5 5 5 1 1 5 5 5 5 1], [6 6 6 6 1 6 6 6 6 1], [7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8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7 7 7 7 7 7 7 7], [6 3 8 8 1 1 3 8 8 1], [6 9 9 1 1 1 1 9 3 9]], [[0 6 0 6 1 6 0 0 3 1], [6 1 1 1 1 1 1 1 3 1], [2 2 2 2 2 2 2 2 2 2], [6 3 3 3 1 1 3 3 3 1], [6 4 4 1 4 1 1 4 3 1], [6 5 5 1 1 5 5 5 3 1], [6 6 6 6 1 6 6 6 3 1], [7 7 7 7 7 7 7 7 7 7], [6 3 8 8 1 1 3 8 8 7], [6 9 9 1 1 1 1 9 7 9]] | [[0 6 0 6 1 6 0 9 3 1], [6 1 1 1 1 1 1 9 3 1], [2 2 2 2 2 2 2 2 2 2], [6 3 3 3 1 1 3 8 3 1], [6 4 4 1 4 1 1 9 3 1], [6 5 5 1 1 5 5 9 3 1], [6 6 6 6 1 6 6 9 3 1], [6 9 7 8 1 1 1 7 7 7], [6 3 8 8 1 1 3 8 8 7], [6 9 9 1 1 1 1 9 7 9]]
floyd_warshall
activity_selector: s: [0.029 0.009 0.591 0.329 0.551 0.056 0.037 0.079 0.481 0.492 0.027 0.008 0.414 0.025 0.411], f: [0.101 0.622 0.954 0.699 0.617 0.438 0.107 0.745 0.68 0.662 0.286 0.563 0.452 0.248 0.51], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 0 0 0 0 0 0 0 0 0 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 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 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 0 0 0 0 1 0 0] | [1 0 0 0 1 0 0 0 0 0 0 0 1 0 0]
activity_selector
dag_shortest_paths: s: 4, A: [[0 0 0 0 0 0.165 0 0.161 0 0 0], [0.309 0 0 0 0.747 0 0 0.605 0 0 0.838], [0 0 0 0 0 0.399 0.637 0 0 0.431 0.892], [0 0 0.516 0 0 0 0.923 0 0 0 0.912], [0 0 0 0 0 0.248 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.408 0 0 0], [0 0 0 0 0 0.405 0 0 0 0 0], [0.214 0 0 0 0.502 0.146 0 0 0 0.959 0], [0 0 0 0 0 0 0.362 0.582 0 0 0], [0 0 0 0 0.678 0.202 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10], [0 1 2 3 4 5 6 7 8 9 10] | [0 1 2 3 4 4 6 7 8 9 10]
dag_shortest_paths
mst_prim: s: 19, A: [[0.464 0.881 0.791 0 0.294 0.294 0 0 0 0 0.591 0 0 0 0 0 0.798 0 0 0 0 0 0], [0.881 0.251 0 0 0.752 0 0.489 0 0 0.536 0 0 0 0 0 0 0.631 0.588 0 0.2 0 0.538 0.511], [0.791 0 0 0.467 0 0 0.929 0.607 0 0 0 0 0 0 0 0 0.582 0.51 0.745 0.237 0 0 0], [0 0 0.467 0.327 0 0 0 0.367 0 0.723 0.679 0 0 0 0 0 0 0 0.355 0 0.149 0.564 0], [0.294 0.752 0 0 0 0 0 0 0.202 0 0 0 0 0 0.795 0 0.553 0 0 0.314 0 0 0.462], [0.294 0 0 0 0 0.173 0 0 0 0.164 0 0 0 0 0 0 0 0.474 0 0.838 0 0.413 0], [0 0.489 0.929 0 0 0 0 0 0.389 0 0.369 0 0.419 0 0 0.554 0.739 0.437 0 0.212 0 0 0], [0 0 0.607 0.367 0 0 0 0.475 0 0.341 0 0 0 0 0 0.327 0 0 0 0 0 0 0], [0 0 0 0 0.202 0 0.389 0 0 0 0.915 0 0 0 0 0 0.739 0 0 0.748 0 0 0], [0 0.536 0 0.723 0 0.164 0 0.341 0 0.236 0 0.624 0 0.496 0 0 0.526 0 0 0 0 0 0], [0.591 0 0 0.679 0 0 0.369 0 0.915 0 0.265 0 0 0.257 0 0 0 0 0.77 0 0 0 0.919], [0 0 0 0 0 0 0 0 0 0.624 0 0 0 0 0 0 0.675 0.053 0 0 0 0 0], [0 0 0 0 0 0 0.419 0 0 0 0 0 0.995 0 0.373 0 0 0 0 0.209 0 0 0.701], [0 0 0 0 0 0 0 0 0 0.496 0.257 0 0 0 0.557 0 0.442 0 0 0 0 0 0], [0 0 0 0 0.795 0 0 0 0 0 0 0 0.373 0.557 0.777 0 0 0 0 0.554 0 0 0], [0 0 0 0 0 0 0.554 0.327 0 0 0 0 0 0 0 0 0.478 0 0.461 0 0 0 0], [0.798 0.631 0.582 0 0.553 0 0.739 0 0.739 0.526 0 0.675 0 0.442 0 0.478 0.438 0 0.159 0 0 0.896 0], [0 0.588 0.51 0 0 0.474 0.437 0 0 0 0 0.053 0 0 0 0 0 0.445 0 0.471 0.691 0 0], [0 0 0.745 0.355 0 0 0 0 0 0 0.77 0 0 0 0 0.461 0.159 0 0 0 0.761 0 0], [0 0.2 0.237 0 0.314 0.838 0.212 0 0.748 0 0 0 0.209 0 0.554 0 0 0.471 0 0.939 0 0 0], [0 0 0 0.149 0 0 0 0 0 0 0 0 0 0 0 0 0 0.691 0.761 0 0.035 0 0], [0 0.538 0 0.564 0 0.413 0 0 0 0 0 0 0 0 0 0 0.896 0 0 0 0 0.084 0], [0 0.511 0 0 0.462 0 0 0 0 0 0.919 0 0.701 0 0 0 0 0 0 0 0 0 0.895]], 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 19 19 3 19 19 19 7 19 9 10 11 19 13 19 15 16 19 18 19 20 21 22], [1 19 19 3 19 19 19 7 19 1 10 11 19 13 19 15 1 19 18 19 20 1 1], [1 19 19 3 19 19 19 7 19 1 10 11 19 13 12 15 1 19 18 19 20 1 1], [1 19 19 3 19 19 19 7 6 1 6 11 19 13 12 6 1 6 18 19 20 1 1], [2 19 19 2 19 19 19 2 6 1 6 11 19 13 12 6 2 6 2 19 20 1 1], [4 19 19 2 19 19 19 2 4 1 6 11 19 13 12 6 4 6 2 19 20 1 4], [4 19 19 2 19 19 19 2 4 1 6 11 19 13 12 6 4 6 2 19 20 1 4], [4 19 19 2 19 0 19 2 4 1 6 11 19 13 12 6 4 6 2 19 20 1 4], [4 19 19 2 19 0 19 2 4 5 6 11 19 13 12 6 4 6 2 19 20 5 4], [4 19 19 2 19 0 19 9 4 5 6 9 19 9 12 6 9 6 2 19 20 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 9 12 7 9 6 2 19 20 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 9 12 7 15 6 15 19 20 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 9 12 7 15 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 9 12 7 15 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 9 12 7 18 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 16 12 7 18 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 10 12 7 18 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 10 12 7 18 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 10 12 7 18 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 9 19 10 12 7 18 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 17 19 10 12 7 18 6 3 19 3 5 4], [4 19 19 7 19 0 19 9 4 5 6 17 19 10 12 7 18 6 3 19 3 5 4] | [4 19 19 7 19 0 19 9 4 5 6 17 19 10 12 7 18 6 3 19 3 5 4]
mst_prim
activity_selector: s: [0.79 0.302 0.001 0.414 0.866 0.263 0.706 0.034 0.316 0.277 0.203 0.186 0.198 0.499 0.089 0.285 0.235 0.536 0.354 0.541 0.003 0.231 0.087 0.032 0.428 0.096 0.814 0.068], f: [0.806 0.605 0.043 0.663 0.884 0.311 0.932 0.812 0.515 0.642 0.548 0.64 0.948 0.627 0.658 0.318 0.242 0.823 0.507 0.544 0.637 0.41 0.093 0.961 0.977 0.887 0.981 0.36], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 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 0.947 0.315 0.729 0.699 0.823 0.353 0.431 0.349 0.839 0.941 0.17 0.632 0.008 0.343 0.956 0.365], initial_trace: 22 trace | pivot:
22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 18, 18 | 13
quickselect
mst_prim: s: 0, A: [[0 0 0 0.072 0], [0 0.566 0.516 0 0], [0 0.516 0 0.04 0], [0.072 0 0.04 0 0], [0 0 0 0 0.788]], initial_trace: [0 1 2 3 4] trace | pi:
[0 1 2 0 4], [0 1 3 0 4], [0 2 3 0 4] | [0 2 3 0 4]
mst_prim
bellman_ford: s: 14, A: [[0.501 0 0 0 0 0.375 0 0 0 0 0.393 0 0 0 0 0.16 0 0 0 0 0.11 0.442 0 0 0 0 0 0 0 0 0], [0 0 0.664 0 0.429 0.336 0.508 0 0.46 0.637 0 0 0 0.447 0 0 0 0.817 0 0 0 0 0.159 0 0 0 0 0 0 0.156 0.458], [0 0.664 0.482 0 0.503 0.441 0.774 0.63 0.794 0 0 0 0.472 0.088 0 0 0 0.637 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0.226 0 0 0 0 0.299 0.233 0.511 0 0 0 0.458 0 0 0 0 0 0 0.26 0 0 0.45 0 0 0.219 0], [0 0.429 0.503 0 0.316 0 0 0.604 0 0 0.325 0 0 0.63 0 0 0 0.818 0.458 0.598 0 0 0 0 0 0 0 0 0 0 0], [0.375 0.336 0.441 0.226 0 0 0 0 0 0 0 0.681 0 0 0 0.281 0 0 0 0 0 0 0.712 0 0 0 0.441 0 0 0.127 0], [0 0.508 0.774 0 0 0 0.661 0.593 0 0 0 0.152 0 0 0 0.796 0 0 0.567 0 0.046 0 0.42 0.124 0.387 0 0 0 0 0.242 0], [0 0 0.63 0 0.604 0 0.593 0.389 0 0 0.14 0 0 0 0.8 0 0 0 0 0 0 0.671 0 0.37 0 0 0.852 0 0 0 0], [0 0.46 0.794 0 0 0 0 0 0.779 0 0 0.55 0.529 0 0 0 0 0 0 0 0 0 0.651 0.181 0 0 0 0 0 0 0], [0 0.637 0 0 0 0 0 0 0 0.087 0.175 0.585 0 0 0.714 0 0 0 0.792 0 0 0.642 0 0 0.202 0 0 0 0.122 0 0], [0.393 0 0 0.299 0.325 0 0 0.14 0 0.175 0.496 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.118 0 0 0 0], [0 0 0 0.233 0 0.681 0.152 0 0.55 0.585 0 0 0.16 0 0.632 0.209 0 0 0 0.719 0 0 0 0 0 0.937 0.478 0 0 0 0.156], [0 0 0.472 0.511 0 0 0 0 0.529 0 0 0.16 0 0.584 0 0 0 0 0.846 0 0 0 0 0.196 0.354 0 0 0.315 0 0 0.251], [0 0.447 0.088 0 0.63 0 0 0 0 0 0 0 0.584 0.852 0 0 0.706 0.392 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.8 0 0.714 0 0.632 0 0 0 0 0 0.302 0.527 0.114 0 0 0 0 0 0.043 0 0.296 0 0.366 0.31], [0.16 0 0 0 0 0.281 0.796 0 0 0 0 0.209 0 0 0 0 0 0.275 0 0 0 0 0 0 0.053 0 0.581 0 0 0.544 0], [0 0 0 0.458 0 0 0 0 0 0 0 0 0 0.706 0 0 0 0.856 0 0 0 0 0 0 0 0 0 0 0.069 0 0], [0 0.817 0.637 0 0.818 0 0 0 0 0 0 0 0 0.392 0.302 0.275 0.856 0 0 0 0 0 0 0 0.87 0.444 0 0 0 0 0], [0 0 0 0 0.458 0 0.567 0 0 0.792 0 0 0.846 0 0.527 0 0 0 0 0.439 0.672 0 0.444 0 0 0.199 0 0 0 0 0.855], [0 0 0 0 0.598 0 0 0 0 0 0 0.719 0 0 0.114 0 0 0 0.439 0.417 0 0 0 0 0 0 0.809 0 0.676 0 0], [0.11 0 0 0 0 0 0.046 0 0 0 0 0 0 0 0 0 0 0 0.672 0 0 0 0 0 0 0.073 0.203 0 0 0.265 0.358], [0.442 0 0 0 0 0 0 0.671 0 0.642 0 0 0 0 0 0 0 0 0 0 0 0.107 0 0 0.792 0 0.25 0.456 0 0 0], [0 0.159 0 0 0 0.712 0.42 0 0.651 0 0 0 0 0 0 0 0 0 0.444 0 0 0 0 0 0 0.677 0 0 0 0.682 0], [0 0 0 0.26 0 0 0.124 0.37 0.181 0 0 0 0.196 0 0 0 0 0 0 0 0 0 0 0.749 0 0.875 0 0 0 0 0], [0 0 0 0 0 0 0.387 0 0 0.202 0 0 0.354 0 0 0.053 0 0.87 0 0 0 0.792 0 0 0.694 0.658 0 0 0.454 0.468 0], [0 0 0 0 0 0 0 0 0 0 0 0.937 0 0 0.043 0 0 0.444 0.199 0 0.073 0 0.677 0.875 0.658 0.279 0.645 0 0.303 0 0], [0 0 0 0.45 0 0.441 0 0.852 0 0 0.118 0.478 0 0 0 0.581 0 0 0 0.809 0.203 0.25 0 0 0 0.645 0.148 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0.315 0 0.296 0 0 0 0 0 0 0.456 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.122 0 0 0 0 0 0 0.069 0 0 0.676 0 0 0 0 0.454 0.303 0 0 0 0 0], [0 0.156 0 0.219 0 0.127 0.242 0 0 0 0 0 0 0 0.366 0.544 0 0 0 0 0.265 0 0.682 0 0.468 0 0 0 0 0 0], [0 0.458 0 0 0 0 0 0 0 0 0 0.156 0.251 0 0.31 0 0 0 0.855 0 0.358 0 0 0 0 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30] trace | pi:
[0 1 2 3 4 5 6 14 8 14 10 14 12 13 14 15 16 14 14 14 20 21 22 23 24 14 26 14 28 14 14], [0 29 17 29 19 29 29 14 11 14 9 30 30 17 14 17 17 14 25 14 25 27 25 25 25 14 25 14 25 14 14], [20 29 13 29 18 29 20 14 1 28 26 30 30 17 14 17 28 14 25 14 25 27 1 6 15 14 20 14 25 14 14], [20 29 13 29 18 29 20 6 23 28 26 6 30 17 14 0 28 14 25 14 25 26 6 6 6 14 20 14 25 14 14] | [20 29 13 23 18 29 20 10 23 28 26 6 11 17 14 0 28 14 25 14 25 26 6 6 15 14 20 14 25 14 14]
bellman_ford
dijkstra: s: 8, A: [[0.731 0 0 0 0 0.252 0.826 0.39 0.17 0 0], [0 0.047 0 0 0 0 0 0.452 0 0 0], [0 0 0.716 0 0 0 0 0 0.169 0 0], [0 0 0 0 0.825 0.127 0 0 0 0.627 0], [0 0 0 0.825 0 0 0 0 0.626 0 0.375], [0.252 0 0 0.127 0 0 0 0 0 0.136 0], [0.826 0 0 0 0 0 0.895 0 0.362 0.226 0], [0.39 0.452 0 0 0 0 0 0.638 0 0 0], [0.17 0 0.169 0 0.626 0 0.362 0 0 0 0], [0 0 0 0.627 0 0.136 0.226 0 0 0 0], [0 0 0 0 0.375 0 0 0 0 0 0.71]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10] trace | pi:
[8 1 8 3 8 5 8 7 8 9 10], [8 1 8 3 8 5 8 7 8 9 10], [8 1 8 3 8 0 8 0 8 9 10], [8 1 8 3 8 0 8 0 8 6 10], [8 1 8 5 8 0 8 0 8 5 10], [8 1 8 5 8 0 8 0 8 5 10], [8 1 8 5 8 0 8 0 8 5 10], [8 7 8 5 8 0 8 0 8 5 10], [8 7 8 5 8 0 8 0 8 5 4], [8 7 8 5 8 0 8 0 8 5 4] | [8 7 8 5 8 0 8 0 8 5 4]
dijkstra
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 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 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0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 0 0 1 0] | [0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0]
articulation_points
kmp_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1], key: [1 2 1 1 3 1 3 1 2 2 1 3 0 2 3 2 2 0 2 1 2 2 1], initial_trace: 0 trace | s:
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 4, 5, 6 | 7
kmp_matcher
kmp_matcher: string: [0 0 0 0 1], key: [2 1 0 0 0], initial_trace: 0 trace | s:
0, 1 | 2
kmp_matcher
floyd_warshall: A: [[0.657 0 0 0.757], [0 0 0 0], [0 0 0 0.127], [0.757 0 0.127 0.827]], initial_trace: [[0 0 0 0], [1 1 1 1], [2 2 2 2], [3 3 3 3]] trace | Pi:
[[0 0 0 0], [1 1 1 1], [2 2 2 2], [3 3 3 3]], [[0 0 0 0], [1 1 1 1], [2 2 2 2], [3 3 3 3]] | [[0 0 3 0], [1 1 1 1], [3 2 2 2], [3 3 3 2]]
floyd_warshall
dfs: A: [[0 1 1 0 1 1 0 0 1 1 0 0], [1 1 0 1 0 0 1 1 1 0 1 1], [1 0 1 0 0 0 1 1 1 1 1 0], [1 0 1 1 1 0 1 1 1 0 0 1], [1 0 0 0 1 1 1 0 0 1 1 0], [1 1 0 1 0 0 1 0 1 0 1 0], [0 1 1 1 0 1 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0 1 0], [0 0 1 1 0 1 1 1 0 0 1 0], [0 1 0 1 0 0 0 0 1 1 1 1], [0 1 0 0 1 0 1 1 1 1 1 0], [0 1 0 1 1 1 0 0 1 0 1 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11] trace | pi:
[0 1 2 3 4 5 6 7 8 9 10 11], [0 0 2 3 4 5 6 7 8 9 10 11], [0 0 2 3 4 5 6 7 8 9 10 11], [0 0 2 1 4 5 6 7 8 9 10 11], [0 0 2 1 4 5 6 7 8 9 10 11], [0 0 3 1 4 5 6 7 8 9 10 11], [0 0 3 1 4 5 6 7 8 9 10 11], [0 0 3 1 4 5 2 7 8 9 10 11], [0 0 3 1 4 5 2 7 8 9 10 11], [0 0 3 1 4 6 2 7 8 9 10 11], [0 0 3 1 4 6 2 7 8 9 10 11], [0 0 3 1 4 6 2 7 5 9 10 11], [0 0 3 1 4 6 2 7 5 9 10 11], [0 0 3 1 4 6 2 8 5 9 10 11], [0 0 3 1 4 6 2 8 5 9 10 11], [0 0 3 1 4 6 2 8 5 9 7 11], [0 0 3 1 4 6 2 8 5 9 7 11], [0 0 3 1 10 6 2 8 5 9 7 11], [0 0 3 1 10 6 2 8 5 9 7 11], [0 0 3 1 10 6 2 8 5 4 7 11], [0 0 3 1 10 6 2 8 5 4 7 11], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9], [0 0 3 1 10 6 2 8 5 4 7 9] | [0 0 3 1 10 6 2 8 5 4 7 9]
dfs
mst_prim: s: 9, A: [[0.533 0 0 0 0.337 0 0.177 0 0 0 0 0 0 0 0], [0 0.249 0.559 0 0 0 0 0 0 0 0 0.355 0 0 0], [0 0.559 0 0 0 0.613 0.821 0 0 0 0.104 0 0.697 0 0], [0 0 0 0 0 0 0.662 0 0 0 0 0 0 0.262 0], [0.337 0 0 0 0 0 0 0 0 0 0 0.565 0.416 0 0.034], [0 0 0.613 0 0 0 0 0 0 0 0.092 0.444 0.212 0 0], [0.177 0 0.821 0.662 0 0 0 0 0 0.22 0 0 0 0 0], [0 0 0 0 0 0 0 0.857 0.405 0 0 0 0 0 0], [0 0 0 0 0 0 0 0.405 0.498 0 0.314 0.606 0 0 0], [0 0 0 0 0 0 0.22 0 0 0 0 0 0 0.609 0], [0 0 0.104 0 0 0.092 0 0 0.314 0 0 0 0 0.783 0], [0 0.355 0 0 0.565 0.444 0 0 0.606 0 0 0 0.395 0.348 0], [0 0 0.697 0 0.416 0.212 0 0 0 0 0 0.395 0.744 0 0.431], [0 0 0 0.262 0 0 0 0 0 0.609 0.783 0.348 0 0 0.653], [0 0 0 0 0.034 0 0 0 0 0 0 0 0.431 0.653 0.684]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14] trace | pi:
[0 1 2 3 4 5 9 7 8 9 10 11 12 9 14], [6 1 6 6 4 5 9 7 8 9 10 11 12 9 14], [6 1 6 6 0 5 9 7 8 9 10 11 12 9 14], [6 1 6 6 0 5 9 7 8 9 10 4 4 9 4], [6 1 6 6 0 5 9 7 8 9 10 4 4 9 4], [6 1 12 6 0 12 9 7 8 9 10 12 4 9 4], [6 1 5 6 0 12 9 7 8 9 5 12 4 9 4], [6 1 10 6 0 12 9 7 10 9 5 12 4 9 4], [6 2 10 6 0 12 9 7 10 9 5 12 4 9 4], [6 2 10 6 0 12 9 8 10 9 5 12 4 9 4], [6 11 10 6 0 12 9 8 10 9 5 12 4 11 4], [6 11 10 13 0 12 9 8 10 9 5 12 4 11 4], [6 11 10 13 0 12 9 8 10 9 5 12 4 11 4], [6 11 10 13 0 12 9 8 10 9 5 12 4 11 4] | [6 11 10 13 0 12 9 8 10 9 5 12 4 11 4]
mst_prim
mst_kruskal: A: [[0 0 0 0 0 0 0 0 0 0.681], [0 0.181 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0.713], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0.681 0 0 0 0 0.713 0 0 0 0]], initial_trace: [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]] trace | in_mst:
[[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 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], [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], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 0 0 0 0 0]] | [[0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [1 0 0 0 0 1 0 0 0 0]]
mst_kruskal
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 0 0 0 1 1 1], key: [0 2 3 1 1 2 1 1 1 3 1 0 1 2 1], initial_trace: 0 trace | s:
1, 2, 3, 3, 4, 4 | 4
naive_string_matcher
quickselect: key: [0.571 0.843 0.359 0.507 0.361 0.006 0.194 0.204 0.302 0.969 0.774 0.479 0.242 0.801 0.246 0.674 0.261 0.782 0.98 0.274 0.703 0.967 0.791], initial_trace: 22 trace | pivot:
22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 3, 3, 3, 3, 3, 3 | 3
quickselect
naive_string_matcher: string: [0 0 0 0 1], key: [2 2 3 2 2], initial_trace: 0 trace | s:
| 0
naive_string_matcher
activity_selector: s: [0.579 0.719 0.454 0.181 0.75 0.423 0.515 0.512 0.615 0.105 0.053 0.366 0.169 0.636 0.279 0.13 0.068 0.162 0.155 0.235 0.292 0.03 0.317], f: [0.714 0.934 0.597 0.266 0.858 0.565 0.67 0.534 0.96 0.374 0.673 0.665 0.88 0.817 0.888 0.777 0.821 0.817 0.721 0.709 0.486 0.94 0.73], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0] | [1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0]
activity_selector
activity_selector: s: [0.354 0.525 0.345 0.392], f: [0.892 0.823 0.647 0.474], initial_trace: [0 0 0 0] trace | selected:
[0 0 0 1], [0 0 0 1], [0 1 0 1] | [0 1 0 1]
activity_selector
optimal_bst: p: [0.145 0.099 0.03 0.098 0.147 0], q: [0.083 0.088 0.069 0.002 0.11 0.13], initial_trace: [[0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0], [0 0 0 0 0 0]] trace | root:
[[0 0 0 0 0 0], [0 0 1 0 0 0], [0 0 0 2 0 0], [0 0 0 0 3 0], [0 0 0 0 0 4], [0 0 0 0 0 0]], [[0 0 0 0 0 0], [0 0 1 1 0 0], [0 0 0 2 3 0], [0 0 0 0 3 4], [0 0 0 0 0 4], [0 0 0 0 0 0]], [[0 0 0 0 0 0], [0 0 1 1 3 0], [0 0 0 2 3 4], [0 0 0 0 3 4], [0 0 0 0 0 4], [0 0 0 0 0 0]], [[0 0 0 0 1 0], [0 0 1 1 3 3], [0 0 0 2 3 4], [0 0 0 0 3 4], [0 0 0 0 0 4], [0 0 0 0 0 0]] | [[0 0 0 0 1 3], [0 0 1 1 3 3], [0 0 0 2 3 4], [0 0 0 0 3 4], [0 0 0 0 0 4], [0 0 0 0 0 0]]
optimal_bst
graham_scan: x: [0.066 0.374 0.246 0.056], y: [-1.61 -1.42 1.89 -0.743], initial_trace: [0 0 0 0] trace | in_hull:
[1 0 0 0], [1 0 0 0], [1 1 0 0], [1 1 1 0] | [1 1 1 1]
graham_scan
segments_intersect: x: [0.069 0.435 0.55 0.234], y: [0.4 0.235 0.78 0.275] intersect:
1
segments_intersect
find_maximum_subarray_kadane: key: [-0.931 0.227 -0.045 0.362 0.943 0.765 0.502 -0.565 0.246 -0.598 -0.963 -0.897 0.861 0.794 -0.814 -0.918 -0.161 -0.005 -0.9 -0.715 -0.615 0.596 -0.624], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (1, 3), (1, 4), (1, 5), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6), (1, 6) | (1, 6)
find_maximum_subarray_kadane
find_maximum_subarray_kadane: key: [-0.391 0.122 0.882 -0.499 -0.912 0.593 0.558 -0.583 -0.748 0.365 -0.72 0.772], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 2), (1, 2), (1, 2), (1, 2), (5, 6), (5, 6), (5, 6), (5, 6), (5, 6) | (5, 6)
find_maximum_subarray_kadane
activity_selector: s: [0.377 0.784 0.035 0.223 0.062 0.258 0.485 0.019 0.513 0.11 0.197 0.29 0.156 0.079 0.063 0.019 0.933 0.044 0.017 0.423 0.626 0.296 0.048], f: [0.727 0.977 0.529 0.658 0.499 0.951 0.497 0.526 0.559 0.419 0.624 0.586 0.769 0.235 0.389 0.967 0.951 0.051 0.651 0.853 0.632 0.849 0.188], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 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 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 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 0 0] | [0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0 0 1 0 0]
activity_selector
minimum: key: [0.738 0.933 0.524 0.221 0.49 0.589 0.152 0.344 0.184 0.556 0.835], initial_trace: 0 trace | min:
0, 2, 3, 3, 3, 6, 6, 6, 6 | 6
minimum
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [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 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-1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1]], [[-1 -1 -1 -1 -1 0 2 2 2 2], [-1 -1 -1 -1 -1 1 0 2 2 2], [-1 -1 -1 -1 -1 1 1 0 0 0], [-1 -1 -1 -1 -1 0 1 1 1 1], [-1 -1 -1 -1 -1 1 1 1 1 1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1]] | [[-1 -1 -1 -1 -1 0 2 2 2 2], [-1 -1 -1 -1 -1 1 0 2 2 2], [-1 -1 -1 -1 -1 1 1 0 0 0], [-1 -1 -1 -1 -1 0 1 1 1 1], [-1 -1 -1 -1 -1 1 1 1 1 1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1], [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1]]
lcs_length
activity_selector: s: [0.01 0.392 0.427 0.474 0.374 0.275 0.771 0.244 0.364 0.316 0.014 0.05 0.273 0.441 0.006 0.495 0.483 0.634 0.088 0.838 0.075 0.108 0.47 0.807 0.262 0.279 0.325 0.645], f: [0.502 0.977 0.863 0.906 0.644 0.527 0.815 0.248 0.935 0.532 0.819 0.871 0.997 0.729 0.251 0.609 0.848 0.751 0.367 0.98 0.685 0.656 0.645 0.876 0.716 0.862 0.551 0.735], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace |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0 0 1], [0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 1 1 1 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 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1]
activity_selector
strongly_connected_components: A: [[0 0 0 0], [0 1 0 0], [0 0 0 0], [0 0 0 1]], initial_trace: [0 1 2 3] trace | scc_id:
[0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3], [0 1 2 3] | [0 1 2 3]
strongly_connected_components
dijkstra: s: 4, A: [[0 0 0 0.707 0], [0 0 0 0.098 0], [0 0 0.394 0 0], [0.707 0.098 0 0 0], [0 0 0 0 0]], initial_trace: [0 1 2 3 4] trace | pi:
| [0 1 2 3 4]
dijkstra
dijkstra: s: 21, A: [[0 0 0.776 0 0.416 0 0.327 0 0 0.152 0.276 0.565 0 0 0 0.54 0 0 0 0 0 0.413 0], [0 0.387 0 0 0 0.649 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.221 0 0], [0.776 0 0.458 0 0 0.826 0 0.662 0.43 0.113 0.528 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.411 0.754 0.103 0 0.744 0 0 0.47 0.619 0.198 0 0 0.499 0 0 0 0], [0.416 0 0 0 0.886 0 0.158 0.254 0 0 0 0 0 0 0 0 0 0 0 0 0.812 0 0], [0 0.649 0.826 0 0 0.251 0 0 0 0 0 0 0 0 0 0 0.506 0 0 0.695 0 0 0], [0.327 0 0 0.411 0.158 0 0.736 0 0 0 0 0 0.57 0 0.209 0 0 0.328 0 0 0.378 0 0.183], [0 0 0.662 0.754 0.254 0 0 0 0.098 0.054 0.241 0 0.545 0 0.535 0.813 0.513 0.08 0.847 0.442 0 0 0.086], [0 0 0.43 0.103 0 0 0 0.098 0 0 0.363 0 0 0 0.56 0.409 0.116 0.632 0 0 0 0 0], [0.152 0 0.113 0 0 0 0 0.054 0 0.301 0 0 0.542 0 0.675 0 0 0 0 0 0 0 0.225], [0.276 0 0.528 0.744 0 0 0 0.241 0.363 0 0.157 0 0 0 0 0.111 0 0.291 0 0 0 0 0], [0.565 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.373 0 0 0 0 0], [0 0 0 0 0 0 0.57 0.545 0 0.542 0 0 0.877 0 0.903 0 0.494 0 0.156 0 0 0 0], [0 0 0 0.47 0 0 0 0 0 0 0 0 0 0 0 0.136 0 0 0 0 0 0 0.705], [0 0 0 0.619 0 0 0.209 0.535 0.56 0.675 0 0 0.903 0 0.493 0 0.866 0 0.367 0.326 0 0 0.639], [0.54 0 0 0.198 0 0 0 0.813 0.409 0 0.111 0 0 0.136 0 0 0 0.38 0.645 0 0 0 0], [0 0 0 0 0 0.506 0 0.513 0.116 0 0 0 0.494 0 0.866 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0.328 0.08 0.632 0 0.291 0.373 0 0 0 0.38 0 0 0 0.842 0 0 0], [0 0 0 0.499 0 0 0 0.847 0 0 0 0 0.156 0 0.367 0.645 0 0 0.651 0.73 0 0 0.084], [0 0 0 0 0 0.695 0 0.442 0 0 0 0 0 0 0.326 0 0 0.842 0.73 0.633 0 0 0], [0 0.221 0 0 0.812 0 0.378 0 0 0 0 0 0 0 0 0 0 0 0 0 0.762 0 0], [0.413 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.441 0.892], [0 0 0 0 0 0 0.183 0.086 0 0.225 0 0 0 0.705 0.639 0 0 0 0.084 0 0 0.892 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:
[21 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 21], [21 1 0 3 0 5 0 7 8 0 0 0 12 13 14 0 16 17 18 19 20 21 21], [21 1 9 3 0 5 0 9 8 0 0 0 9 13 9 0 16 17 18 19 20 21 9], [21 1 9 7 0 5 0 9 7 0 0 0 9 13 7 0 7 7 7 7 20 21 7], [21 1 9 7 0 2 0 9 7 0 0 0 9 13 7 0 7 7 7 7 20 21 7], [21 1 9 7 0 2 0 9 7 0 0 0 9 13 7 10 7 7 7 7 20 21 7], [21 1 9 7 0 2 0 9 7 0 0 0 9 13 7 10 7 7 7 7 20 21 7], [21 1 9 7 0 2 0 9 7 0 0 0 9 22 7 10 7 7 22 7 20 21 7], [21 1 9 8 0 2 0 9 7 0 0 0 9 22 7 10 8 7 22 7 20 21 7], [21 1 9 8 0 2 0 9 7 0 0 0 9 22 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 2 0 9 7 0 0 0 18 22 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 2 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 2 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 2 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 1 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 20 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7], [21 20 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7] | [21 20 9 8 0 16 0 9 7 0 0 0 18 15 6 10 8 7 22 7 6 21 7]
dijkstra
segments_intersect: x: [0.952 0.62 0.533 0.948], y: [0.749 0.729 0.932 0.376] intersect:
1
segments_intersect
articulation_points: A: [[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 1], [1 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0 0]], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | is_cut:
[0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0] | [0 0 0 0 0 0 0 0 0 0 0]
articulation_points
mst_prim: s: 12, A: [[0.526 0.522 0 0 0 0 0.837 0 0 0 0.638 0 0 0 0 0.784 0.183 0 0.687], [0.522 0 0 0 0 0.449 0 0.268 0.316 0.514 0 0 0 0 0 0 0.061 0 0], [0 0 0 0.114 0.357 0 0 0.763 0.258 0 0.645 0 0 0.809 0 0 0.488 0.384 0], [0 0 0.114 0.369 0 0 0.292 0.747 0 0 0 0.444 0.18 0 0 0 0 0 0], [0 0 0.357 0 0.624 0.66 0 0.551 0.779 0 0 0.199 0.893 0.532 0 0 0.211 0.414 0], [0 0.449 0 0 0.66 0 0.114 0 0 0 0 0 0.153 0 0 0 0 0.633 0.282], [0.837 0 0 0.292 0 0.114 0 0 0 0.247 0.662 0 0 0 0 0 0 0.083 0], [0 0.268 0.763 0.747 0.551 0 0 0.776 0 0 0.445 0 0 0 0 0 0.239 0 0], [0 0.316 0.258 0 0.779 0 0 0 0 0 0.477 0.242 0 0 0 0 0.575 0 0], [0 0.514 0 0 0 0 0.247 0 0 0 0.056 0 0 0.512 0.526 0 0 0 0.75], [0.638 0 0.645 0 0 0 0.662 0.445 0.477 0.056 0 0 0 0.451 0 0 0 0.283 0], [0 0 0 0.444 0.199 0 0 0 0.242 0 0 0.667 0 0 0 0.479 0 0 0], [0 0 0 0.18 0.893 0.153 0 0 0 0 0 0 0 0 0 0 0 0 0.366], [0 0 0.809 0 0.532 0 0 0 0 0.512 0.451 0 0 0 0 0 0 0 0.452], [0 0 0 0 0 0 0 0 0 0.526 0 0 0 0 0 0 0 0.849 0], [0.784 0 0 0 0 0 0 0 0 0 0 0.479 0 0 0 0.486 0 0 0], [0.183 0.061 0.488 0 0.211 0 0 0.239 0.575 0 0 0 0 0 0 0 0.64 0.495 0], [0 0 0.384 0 0.414 0.633 0.083 0 0 0 0.283 0 0 0 0.849 0 0.495 0.384 0.739], [0.687 0 0 0 0 0.282 0 0 0 0.75 0 0 0.366 0.452 0 0 0 0.739 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18] trace | pi:
[0 1 2 12 12 12 6 7 8 9 10 11 12 13 14 15 16 17 12], [0 5 2 12 5 12 5 7 8 9 10 11 12 13 14 15 16 5 5], [6 5 2 12 5 12 5 7 8 6 6 11 12 13 14 15 16 6 5], [6 5 17 12 17 12 5 7 8 6 17 11 12 13 17 15 17 6 5], [6 5 3 12 17 12 5 3 8 6 17 3 12 13 17 15 17 6 5], [6 5 3 12 2 12 5 3 2 6 17 3 12 2 17 15 2 6 5], [6 5 3 12 2 12 5 3 2 6 9 3 12 9 9 15 2 6 5], [10 5 3 12 2 12 5 10 2 6 9 3 12 10 9 15 2 6 5], [10 8 3 12 2 12 5 10 2 6 9 8 12 10 9 15 2 6 5], [10 8 3 12 11 12 5 10 2 6 9 8 12 10 9 11 2 6 5], [10 8 3 12 11 12 5 10 2 6 9 8 12 10 9 11 4 6 5], [16 16 3 12 11 12 5 16 2 6 9 8 12 10 9 11 4 6 5], [16 16 3 12 11 12 5 16 2 6 9 8 12 10 9 11 4 6 5], [16 16 3 12 11 12 5 16 2 6 9 8 12 10 9 11 4 6 5], [16 16 3 12 11 12 5 16 2 6 9 8 12 10 9 11 4 6 5], [16 16 3 12 11 12 5 16 2 6 9 8 12 10 9 11 4 6 5], [16 16 3 12 11 12 5 16 2 6 9 8 12 10 9 11 4 6 5], [16 16 3 12 11 12 5 16 2 6 9 8 12 10 9 11 4 6 5] | [16 16 3 12 11 12 5 16 2 6 9 8 12 10 9 11 4 6 5]
mst_prim
naive_string_matcher: string: [0 0 0 0 0 0 0 0 0 1 1], key: [1 3 1 1 3 0 2 0 2 1 3], initial_trace: 0 trace | s:
| 0
naive_string_matcher
activity_selector: s: [0.74 0.046 0.009 0.321 0.199 0.072 0.594 0.311 0.762 0.281 0.498 0.417 0.662 0.346 0.577], f: [0.832 0.686 0.19 0.743 0.984 0.996 0.985 0.34 0.904 0.294 0.534 0.634 0.898 0.651 0.847], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 1 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 0 0 1 0 1 0 0 0 0 0], [0 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [0 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [0 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [0 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [0 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [1 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [1 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [1 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [1 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [1 0 1 0 0 0 0 1 0 1 1 0 0 0 0], [1 0 1 0 0 0 0 1 0 1 1 0 0 0 0] | [1 0 1 0 0 0 0 1 0 1 1 0 0 0 0]
activity_selector
graham_scan: x: [-0.693 1.74 0.914 -1.28 -0.253 -0.652 -0.188 -1.53 -0.97 0.125 0.172 -0.906 -1.08 -0.8 -0.422 0.834 1.43 0.87 -0.694], y: [1.87 -0.068 -1.57 -0.136 1.66 -1.03 1.34 -0.638 -1.43 0.206 1.79 -1.29 -0.545 -1.82 1.47 0.512 -0.205 0.804 -0.706], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 0 0 0 0 0 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 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 1 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 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 1 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [0 1 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0], [0 1 1 0 0 1 1 0 0 0 1 0 0 1 0 0 0 0 0], [0 1 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0], [0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 1], [0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0], [0 1 1 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [0 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0], [1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 1 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0], [1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 1 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 1 1 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0], [1 1 1 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0], [1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0] | [1 1 1 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0]
graham_scan
jarvis_march: x: [-1.14 0.85 -1.06 -0.488 1.26 0.603 0.943 -0.84 0.279 0.939 -0.165 0.748], y: [-1.11 1.79 -0.791 1.34 -0.823 1.12 0.685 0.009 1.35 1.66 -0.217 -1.83], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0] trace | in_hull:
[0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 1], [0 0 0 0 0 0 0 0 0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0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 0 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [0 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1], [1 1 1 1 1 0 0 0 0 1 0 1] | [1 1 1 1 1 0 0 0 0 1 0 1]
jarvis_march
binary_search: key: [0.019 0.047 0.056 0.115 0.145 0.163 0.186 0.207 0.208 0.241 0.34 0.35 0.366 0.375 0.38 0.398 0.53 0.588 0.63 0.661 0.693 0.753 0.753 0.764 0.786 0.808 0.844 0.863 0.905 0.998 0.999], target: 0.762, initial_trace: (0, 30) trace | (low, high):
(16, 30), (16, 23), (20, 23), (22, 23) | (23, 23)
binary_search
minimum: key: [0.655 0.815 0.907 0.231 0.797 0.75 0.047 0.951 0.166 0.944 0.114 0.34 0.727 0.258 0.317], initial_trace: 0 trace | min:
0, 0, 3, 3, 3, 6, 6, 6, 6, 6, 6, 6, 6 | 6
minimum
bfs: s: 19, A: [[0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 1 0 1], [0 1 0 1 0 1 1 1 0 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 1 0 0 0], [0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0], [0 1 0 1 1 1 1 1 0 1 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0], [0 0 0 1 1 0 0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 1 1 0 0 1 1 0], [0 1 0 1 0 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0], [1 1 1 1 0 0 1 1 0 0 0 1 0 0 0 0 1 1 1 0 0 1 1 0 1 0 1 0], [1 1 0 1 0 1 1 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0], [0 0 1 0 0 0 0 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 0 0 0 1 1], [0 1 1 1 0 0 0 0 1 1 1 0 1 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0], [0 1 0 0 0 0 0 1 0 1 0 1 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0], [0 0 0 0 1 1 1 1 0 0 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0], [0 0 0 0 1 0 0 0 0 1 1 0 1 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0], [0 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 19 23 9 16 26 16] | [16 3 9 19 3 3 3 3 9 19 9 20 9 9 8 1 19 22 22 19 19 9 19 24 9 16 4 16]
bfs
minimum: key: [0.949 0.029 0.891 0.022 0.54 0.535 0.01 0.292 0.861 0.286 0.245], initial_trace: 0 trace | min:
1, 1, 3, 3, 3, 6, 6, 6, 6 | 6
minimum
insertion_sort: key: [0.216 0.777 0.582 0.568 0.455 0.171 0.742 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], initial_trace: [0.216 0.777 0.582 0.568 0.455 0.171 0.742 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829] trace | pred:
[0.216 0.777 0.582 0.568 0.455 0.171 0.742 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.216 0.582 0.777 0.568 0.455 0.171 0.742 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.216 0.568 0.582 0.777 0.455 0.171 0.742 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.216 0.455 0.568 0.582 0.777 0.171 0.742 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.777 0.742 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.742 0.777 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.742 0.777 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.742 0.777 0.917 0.921 0.9 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.742 0.777 0.9 0.917 0.921 0.688 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.688 0.742 0.777 0.9 0.917 0.921 0.911 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.688 0.742 0.777 0.9 0.911 0.917 0.921 0.644 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.644 0.688 0.742 0.777 0.9 0.911 0.917 0.921 0.76 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.644 0.688 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.711 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.631 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.455 0.568 0.582 0.631 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.381 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.381 0.455 0.568 0.582 0.631 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.64 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.381 0.455 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.313 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.171 0.216 0.313 0.381 0.455 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.113 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.113 0.171 0.216 0.313 0.381 0.455 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.515 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.113 0.171 0.216 0.313 0.381 0.455 0.515 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.082 0.462 0.445 0.494 0.215 0.809 0.829], [0.082 0.113 0.171 0.216 0.313 0.381 0.455 0.515 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.462 0.445 0.494 0.215 0.809 0.829], [0.082 0.113 0.171 0.216 0.313 0.381 0.455 0.462 0.515 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.445 0.494 0.215 0.809 0.829], [0.082 0.113 0.171 0.216 0.313 0.381 0.445 0.455 0.462 0.515 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.494 0.215 0.809 0.829], [0.082 0.113 0.171 0.216 0.313 0.381 0.445 0.455 0.462 0.494 0.515 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.215 0.809 0.829], [0.082 0.113 0.171 0.215 0.216 0.313 0.381 0.445 0.455 0.462 0.494 0.515 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.9 0.911 0.917 0.921 0.809 0.829], [0.082 0.113 0.171 0.215 0.216 0.313 0.381 0.445 0.455 0.462 0.494 0.515 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.809 0.9 0.911 0.917 0.921 0.829] | [0.082 0.113 0.171 0.215 0.216 0.313 0.381 0.445 0.455 0.462 0.494 0.515 0.568 0.582 0.631 0.64 0.644 0.688 0.711 0.742 0.76 0.777 0.809 0.829 0.9 0.911 0.917 0.921]
insertion_sort
task_scheduling: d: [5 5 7 9 17 2 10 10 2 1 16 18 3 13 12 19 5 10 17 10 2 4 23], w: [0.492 0.34 0.768 0.206 0.212 0.941 0.186 0.237 0.437 0.067 0.633 0.743 0.657 0.291 0.175 0.809 0.124 0.498 0.472 0.841 0.578 0.669 0.591], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 1 0 0 0], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 1 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 0 0 1 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 0 1 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 0 1 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 1 0 1 0 1 1 1 0 0 1], [0 0 1 0 0 1 0 0 0 0 1 1 0 1 0 1 0 1 1 1 0 0 1], [0 0 1 0 1 1 0 0 0 0 1 1 0 1 0 1 0 1 1 1 0 0 1], [0 0 1 0 1 1 0 0 0 0 1 1 0 1 0 1 0 1 1 1 0 0 1], [0 0 1 0 1 1 0 0 0 0 1 1 0 1 0 1 0 1 1 1 0 0 1], [0 0 1 0 1 1 0 0 0 0 1 1 0 1 1 1 0 1 1 1 0 0 1], [0 0 1 0 1 1 0 0 0 0 1 1 0 1 1 1 0 1 1 1 0 0 1] | [0 0 1 0 1 1 0 0 0 0 1 1 0 1 1 1 0 1 1 1 0 0 1]
task_scheduling
mst_kruskal: A: [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0.611]], initial_trace: [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]] trace | in_mst:
| [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]]
mst_kruskal
matrix_chain_order: p: [0.933 0.909 0.002 0.911], initial_trace: [[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]] trace | s:
[[0 0 0 0], [0 0 1 0], [0 0 0 2], [0 0 0 0]] | [[0 0 0 0], [0 0 1 2], [0 0 0 2], [0 0 0 0]]
matrix_chain_order
topological_sort: A: [[0 0 0 0 1], [0 0 0 0 0], [0 0 0 1 1], [0 0 0 0 0], [0 0 0 0 0]], initial_trace: [0 1 2 3 4], 0 trace | topo, topo_head:
[0 1 2 3 4], 0, [0 1 2 3 4], 0, [0 1 2 3 4], 4, [4 1 2 3 4], 0, [4 1 2 3 4], 0, [4 1 2 3 4], 0, [4 0 2 3 4], 1, [4 0 2 3 4], 1, [4 0 2 3 4], 1, [4 0 2 3 4], 1, [4 0 2 1 4], 3 | [4 0 3 1 4], 2
topological_sort
topological_sort: A: [[0 1 0 0 0 1 0 0 1 0 0], [0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 1 1], [0 0 1 0 0 0 0 0 0 0 0], [0 1 1 1 0 0 0 1 0 1 1], [0 1 0 0 0 1 0 1 1 0 1], [0 0 1 0 0 0 0 0 0 1 0], [0 0 0 0 0 0 0 0 0 0 1], [0 0 1 0 1 0 0 0 0 0 1], [0 0 1 0 1 0 0 0 0 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10], 0 trace | topo, topo_head:
[0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 0, [0 1 2 3 4 5 6 7 8 9 10], 2, [0 2 2 3 4 5 6 7 8 9 10], 1, [0 2 2 3 4 5 6 7 8 9 10], 1, [0 2 2 3 4 5 6 7 8 9 10], 1, [0 2 2 3 4 5 6 7 8 9 10], 1, [0 2 2 3 4 5 6 7 8 9 10], 1, [0 2 2 3 4 5 6 7 8 9 10], 1, [0 2 2 3 1 5 6 7 8 9 10], 4, [0 2 2 3 1 5 6 7 8 9 10], 4, [0 2 2 3 1 5 6 7 8 9 4], 10, [0 2 2 3 1 5 6 7 8 10 4], 9, [0 2 2 3 1 5 6 9 8 10 4], 7, [0 2 2 7 1 5 6 9 8 10 4], 3, [0 2 2 7 1 3 6 9 8 10 4], 5, [0 2 2 7 1 3 6 9 8 10 4], 5, [0 2 2 7 1 3 6 9 5 10 4], 8, [8 2 2 7 1 3 6 9 5 10 4], 0, [8 2 2 7 1 3 6 9 5 10 4], 0, [8 2 2 7 1 3 6 9 5 10 4], 0 | [8 2 2 7 1 3 0 9 5 10 4], 6
topological_sort
bfs: s: 0, A: [[1 0 1 0], [0 0 1 1], [1 1 1 0], [0 1 0 0]], initial_trace: [0 1 2 3] trace | pi:
[0 1 0 3], [0 2 0 3] | [0 2 0 1]
bfs
task_scheduling: d: [5 6 15 10 1 4 3 11 3 18 17 4 3 6 16 4 17 10 16], w: [0.154 0.688 0.418 0.879 0.028 0.988 0.167 0.99 0.819 0.421 0.938 0.278 0.847 0.178 0.733 0.927 0.514 0.17 0.651], initial_trace: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0], [0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 1 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 1 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 1 0 1 0 1 0 0 1 0 0 0 0 1 0 0 0], [0 0 0 1 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0], [0 0 0 1 0 1 0 1 0 0 1 0 0 0 1 1 0 0 0], [0 0 0 1 0 1 0 1 0 0 1 0 0 0 1 1 0 0 1], [0 0 0 1 0 1 0 1 0 0 1 0 0 0 1 1 1 0 1], [0 0 0 1 0 1 0 1 0 1 1 0 0 0 1 1 1 0 1], [0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1 1 0 1], [0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1 1 0 1], [0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1 1 0 1], [0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1 1 0 1], [0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1 1 0 1], [0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1 1 0 1] | [0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 1 1 0 1]
task_scheduling
quickselect: key: [0.271 0.83 0.271 0.756 0.916 0.666 0.632 0.732 0.304 0.623 0.317 0.825 0.179 0.862 0.029], initial_trace: 14 trace | pivot:
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 10, 10, 10, 10, 10, 10, 6, 6, 6 | 6
quickselect
activity_selector: s: [0.121 0.576 0.44 0.224 0.463 0.126 0.541 0.479 0.5 0.729 0.723], f: [0.97 0.718 0.464 0.474 0.923 0.339 0.577 0.646 0.881 0.952 0.916], initial_trace: [0 0 0 0 0 0 0 0 0 0 0] trace | selected:
[0 0 0 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 0 0 0 0 0], [0 0 1 0 0 1 1 0 0 0 0], [0 0 1 0 0 1 1 0 0 0 0], [0 0 1 0 0 1 1 0 0 0 0], [0 0 1 0 0 1 1 0 0 0 0], [0 0 1 0 0 1 1 0 0 0 1], [0 0 1 0 0 1 1 0 0 0 1], [0 0 1 0 0 1 1 0 0 0 1] | [0 0 1 0 0 1 1 0 0 0 1]
activity_selector
activity_selector: s: [0.103 0.812 0.338 0.098 0.585 0.179 0.056 0.416 0.212 0.084 0.099 0.306 0.657 0.585 0.347 0.379 0.001 0.899 0.105 0.525 0.906 0.779 0.231 0.938 0.196 0.781 0.684 0.281 0.359 0.028 0.406], f: [0.802 0.896 0.878 0.328 0.773 0.228 0.686 0.493 0.575 0.697 0.906 0.426 0.669 0.717 0.672 0.857 0.822 0.913 0.282 0.972 0.919 0.807 0.468 0.958 0.988 0.885 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0]
activity_selector
matrix_chain_order: p: [0.273 0.884 0.49 0.364 0.598 0.441 0.903 0.117 0.054 0.649], initial_trace: [[0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0 0 0 0 0 0 0 0 0 0]] trace | s:
[[0 0 0 0 0 0 0 0 0 0], [0 0 1 0 0 0 0 0 0 0], [0 0 0 2 0 0 0 0 0 0], [0 0 0 0 3 0 0 0 0 0], [0 0 0 0 0 4 0 0 0 0], [0 0 0 0 0 0 5 0 0 0], [0 0 0 0 0 0 0 6 0 0], [0 0 0 0 0 0 0 0 7 0], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 2 0 0 0 0 0], [0 0 0 2 3 3 0 0 0 0], [0 0 0 0 3 3 4 0 0 0], [0 0 0 0 0 4 5 5 0 0], [0 0 0 0 0 0 5 5 6 0], [0 0 0 0 0 0 0 6 6 7], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 3 3 3 4 0], [0 0 0 2 3 2 3 3 5 5], [0 0 0 0 3 3 5 3 5 5], [0 0 0 0 0 4 5 4 5 7], [0 0 0 0 0 0 5 5 5 7], [0 0 0 0 0 0 0 6 6 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 3 4 7], [0 0 0 2 3 2 3 2 2 7], [0 0 0 0 3 3 5 3 3 7], [0 0 0 0 0 4 5 4 4 7], [0 0 0 0 0 0 5 5 5 8], [0 0 0 0 0 0 0 6 6 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 2 3 8], [0 0 0 2 3 2 3 2 2 8], [0 0 0 0 3 3 5 3 3 8], [0 0 0 0 0 4 5 4 4 8], [0 0 0 0 0 0 5 5 5 8], [0 0 0 0 0 0 0 6 6 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 1 1 8], [0 0 0 2 3 2 3 2 2 8], [0 0 0 0 3 3 5 3 3 8], [0 0 0 0 0 4 5 4 4 8], [0 0 0 0 0 0 5 5 5 8], [0 0 0 0 0 0 0 6 6 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]], [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 1 1 8], [0 0 0 2 3 2 3 2 2 8], [0 0 0 0 3 3 5 3 3 8], [0 0 0 0 0 4 5 4 4 8], [0 0 0 0 0 0 5 5 5 8], [0 0 0 0 0 0 0 6 6 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]] | [[0 0 0 0 0 0 0 0 0 0], [0 0 1 2 3 4 5 1 1 8], [0 0 0 2 3 2 3 2 2 8], [0 0 0 0 3 3 5 3 3 8], [0 0 0 0 0 4 5 4 4 8], [0 0 0 0 0 0 5 5 5 8], [0 0 0 0 0 0 0 6 6 8], [0 0 0 0 0 0 0 0 7 8], [0 0 0 0 0 0 0 0 0 8], [0 0 0 0 0 0 0 0 0 0]]
matrix_chain_order
kmp_matcher: string: [0 0 0 1], key: [3 0 2 0], initial_trace: 0 trace | s:
0 | 1
kmp_matcher
binary_search: key: [0.014 0.016 0.073 0.111 0.117 0.155 0.183 0.233 0.234 0.24 0.291 0.304 0.386 0.4 0.474 0.487 0.541 0.688 0.738 0.791 0.792 0.794 0.86 0.874 0.904 0.916 0.916 0.93], target: 0.242, initial_trace: (0, 27) trace | (low, high):
(0, 13), (7, 13), (7, 10), (9, 10) | (10, 10)
binary_search
find_maximum_subarray_kadane: key: [0.317 0.042 0.15 0.984 -0.825 -0.255 0.091 0.581 0.767 0.24 0.311 0.789 0.584 0.162 -0.976 -0.175 -0.858 0.926 0.653 -0.308 -0.799 0.128 -0.296], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 1), (0, 2), (0, 3), (0, 3), (0, 3), (0, 3), (0, 3), (0, 8), (0, 9), (0, 10), (0, 11), (0, 12), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13), (0, 13) | (0, 13)
find_maximum_subarray_kadane
binary_search: key: [0.195 0.218 0.561 0.63 0.862], target: 0.891, initial_trace: (0, 4) trace | (low, high):
(3, 4) | (4, 4)
binary_search
find_maximum_subarray_kadane: key: [-0.81 -0.412 -0.923 -0.38 0.099 0.26 0.588 0.001 0.136 0.341], initial_trace: (0, 0) trace | (best_low, best_high):
(1, 1), (1, 1), (3, 3), (4, 4), (4, 5), (4, 6), (4, 7), (4, 8) | (4, 9)
find_maximum_subarray_kadane
task_scheduling: d: [1 2 3 2], w: [0.68 0.945 0.348 0.484], initial_trace: [0 0 0 0] trace | selected:
[0 1 0 0], [0 1 0 0], [0 1 0 1] | [0 1 1 1]
task_scheduling
bubble_sort: key: [0.841 0.302 0.597 0.493], initial_trace: [0.841 0.302 0.597 0.493] trace | pred:
[0.841 0.302 0.493 0.597], [0.841 0.302 0.493 0.597], [0.302 0.841 0.493 0.597], [0.302 0.841 0.493 0.597], [0.302 0.493 0.841 0.597] | [0.302 0.493 0.597 0.841]
bubble_sort
mst_prim: s: 2, A: [[0 0.437 0 0.701 0 0 0 0 0.535 0], [0.437 0 0 0 0 0 0.72 0 0 0], [0 0 0 0 0 0 0 0 0 0], [0.701 0 0 0.291 0.438 0 0 0 0 0.156], [0 0 0 0.438 0.346 0.105 0 0 0 0.186], [0 0 0 0 0.105 0 0 0.28 0 0], [0 0.72 0 0 0 0 0.96 0.331 0 0], [0 0 0 0 0 0.28 0.331 0 0.145 0], [0.535 0 0 0 0 0 0 0.145 0.095 0.207], [0 0 0 0.156 0.186 0 0 0 0.207 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9] trace | pi:
| [0 1 2 3 4 5 6 7 8 9]
mst_prim
task_scheduling: d: [4 2 2 3 5], w: [0.665 0.449 0.91 0.498 0.98], initial_trace: [0 0 0 0 0] trace | selected:
[0 0 0 0 1], [0 0 1 0 1], [1 0 1 0 1], [1 0 1 0 1] | [1 0 1 0 1]
task_scheduling
segments_intersect: x: [0.228 0.81 0.913 0.911], y: [0.503 0.76 0.059 0.94] intersect:
0
segments_intersect
find_maximum_subarray_kadane: key: [-0.651 -0.986 0.188 0.825 0.805 -0.559 0.672 -0.508 -0.39 0.623 0.821 0.556], initial_trace: (0, 0) trace | (best_low, best_high):
(0, 0), (2, 2), (2, 3), (2, 4), (2, 4), (2, 6), (2, 6), (2, 6), (2, 6), (2, 10) | (2, 11)
find_maximum_subarray_kadane
jarvis_march: x: [0.368 -0.061 -0.347 1.43], y: [-0.381 1.87 -0.091 0.964], initial_trace: [0 0 0 0] trace | in_hull:
[1 0 0 0], [1 0 0 0], [1 0 0 0], [1 0 0 0], [1 0 0 0], [1 0 0 1], [1 0 0 1], [1 0 0 1], [1 0 0 1], [1 0 0 1], [1 1 0 1], [1 1 0 1], [1 1 0 1], [1 1 0 1], [1 1 0 1], [1 1 1 1], [1 1 1 1], [1 1 1 1], [1 1 1 1] | [1 1 1 1]
jarvis_march
floyd_warshall: A: [[0 0.589 0 0.315 0 0.355 0.704 0.71 0 0], [0.589 0.723 0 0 0 0 0 0.892 0 0.252], [0 0 0 0.59 0.837 0.288 0.335 0 0 0.353], [0.315 0 0.59 0.992 0 0 0 0 0.482 0], [0 0 0.837 0 0.298 0 0 0 0 0], [0.355 0 0.288 0 0 0.989 0 0 0 0.182], [0.704 0 0.335 0 0 0 0 0 0 0.139], [0.71 0.892 0 0 0 0 0 0 0 0], [0 0 0 0.482 0 0 0 0 0 0], [0 0.252 0.353 0 0 0.182 0.139 0 0 0.154]], initial_trace: [[0 0 0 0 0 0 0 0 0 0], [1 1 1 1 1 1 1 1 1 1], [2 2 2 2 2 2 2 2 2 2], [3 3 3 3 3 3 3 3 3 3], [4 4 4 4 4 4 4 4 4 4], [5 5 5 5 5 5 5 5 5 5], [6 6 6 6 6 6 6 6 6 6], [7 7 7 7 7 7 7 7 7 7], [8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9]] trace | Pi:
[[0 0 0 0 0 0 0 0 0 0], [1 1 1 0 1 0 0 1 1 1], [2 2 2 2 2 2 2 2 2 2], [3 0 3 0 3 0 0 0 3 3], [4 4 4 4 4 4 4 4 4 4], [5 0 5 0 5 0 0 0 5 5], [6 0 6 0 6 0 6 0 6 6], [7 7 7 0 7 0 0 7 7 7], [8 8 8 8 8 8 8 8 8 8], [9 9 9 9 9 9 9 9 9 9]], [[0 0 0 0 0 0 0 0 0 1], [1 1 1 0 1 0 0 1 1 1], [2 2 2 2 2 2 2 2 2 2], [3 0 3 0 3 0 0 0 3 1], [4 4 4 4 4 4 4 4 4 4], [5 0 5 0 5 0 0 0 5 5], [6 0 6 0 6 0 6 0 6 6], [7 7 7 0 7 0 0 7 7 1], [8 8 8 8 8 8 8 8 8 8], [1 9 9 0 9 9 9 1 9 9]], [[0 0 0 0 0 0 0 0 0 1], [1 1 1 0 1 0 0 1 1 1], [2 2 2 2 2 2 2 2 2 2], [3 0 3 0 2 0 2 0 3 2], [4 4 4 2 4 2 2 4 4 2], [5 0 5 0 2 2 2 0 5 5], [6 0 6 2 2 2 6 0 6 6], [7 7 7 0 7 0 0 7 7 1], [8 8 8 8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 0 3 6], [7 7 5 0 2 0 0 7 3 1], [3 0 3 8 2 0 2 0 8 5], [5 9 9 0 2 9 9 1 3 9]] | [[0 0 5 0 2 0 9 0 3 5], [1 9 9 0 2 9 9 1 3 1], [5 9 2 2 2 2 2 0 3 2], [3 0 3 0 2 0 2 0 3 5], [5 9 4 2 4 2 2 0 3 2], [5 9 5 0 2 9 9 0 3 5], [5 9 6 2 2 9 6 1 3 6], [7 7 5 0 2 0 9 7 3 1], [3 0 3 8 2 0 2 0 8 5], [5 9 9 0 2 9 9 1 3 9]]
floyd_warshall
articulation_points: A: [[0 0 0 0 0], [0 1 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0]], initial_trace: [0 0 0 0 0] trace | is_cut:
[0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0], [0 0 0 0 0] | [0 0 0 0 0]
articulation_points
bfs: s: 11, A: [[0 1 0 0 0 0 1 0 0 1 1 0 0 1 1 0 0 0 0 0 0 0 0], [1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1], [0 1 1 0 0 0 0 1 0 1 1 0 0 0 1 0 1 0 0 1 0 0 1], [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1], [0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0], [1 0 0 0 1 0 1 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0], [0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1], [0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 1 1 0], [1 0 1 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 1 1 0 0], [1 0 1 0 1 1 1 0 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0], [0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0], [0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0], [1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 1 1], [1 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0], [0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0], [0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 1 0 0], [0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 1 0 1 1 0 0], [0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0], [0 1 1 0 1 0 1 0 0 1 0 0 0 0 1 1 0 1 0 1 0 0 1], [0 0 0 0 0 1 0 0 1 1 0 0 0 1 1 0 1 1 0 0 1 0 1], [0 0 0 1 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0], [0 1 1 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0]], initial_trace: [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22] trace | pi:
[0 1 2 3 4 5 6 11 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22], [0 1 7 3 4 5 6 11 8 9 10 11 12 13 14 7 16 17 7 19 20 21 7], [0 2 7 22 4 5 6 11 8 2 2 11 12 18 2 7 2 17 7 2 22 21 7] | [1 2 7 22 10 10 10 11 10 2 2 11 1 18 2 7 2 16 7 2 22 3 7]
bfs