Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Combinatorica Package >

ShortestPath

ShortestPath[g, start, end]
finds a shortest path between vertices start and end in graph g.
  • The default is Algorithm->Automatic. In this case, depending on whether edges have negative weights and depending on the density of the graph, the algorithm chooses between BellmanFord and Dijkstra.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team