Graph Utilities Package >

GraphPath

GraphPath[g, start, end]
finds a shortest path between vertices start and end in graph g.
  • The following options can be used:
MethodAutomaticmethod to use to find the shortest path
WeightedTruespecifies whether edge weight is to be used in calculating distance
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team