https://9dok.org/document/zkw8d028-use-weighted-adjacency-matrix-searching-optimal-transportation-routes.html