:    distance(v, w) ← the shortest path length from node v to node w