As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. >>
finds a shortest path between vertices start and end in graph g.
- GraphPath functionality is now available in the built-in Wolfram Language function FindShortestPath.
- To use GraphPath, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- The following options can be used:
Method Automatic method to use to find the shortest path Weighted True specify whether edge weight is to be used in calculating distance
Examplesopen all close all
Basic Examples (2)
GraphPath has been superseded by FindShortestPath: