A shortest path connects two graph nodes with the least total distance among available routes. Represent direct distances in a distance matrix D. section 6.1.5
Represent the problem as follows:
- Store the distance from point i to point j in D[i][j]. section 6.1.5
- Represent the absence of a direct arc with a very large value such as SIZE_MAX. section 6.1.5
- Given nodes x and y, find the shortest path between them using the distance information. section 6.1.5





