I am looking for an algorithm to find the shortest path between two URLs or two Wikipedia pages.
For example, the shortest way to get an “Informatics” article from a Wikipedia Reddit article is to follow the link to “Science,” where there is a link to informatics.
Suppose that all links are static and that it is impractical to either load the entire graph or cross its entirety, is there a practical algorithm for finding the shortest path or to prove that the path does not exist?
(I'm not sure that Dykstra is the best choice here, because the weight of each edge of the graph is 1)
source share