The shortest-path weight (distance) from to is