gives the greatest distance between any pair of vertices in the graph g.

uses rules vw to specify the graph g.

Details and OptionsDetails and Options

  • The following options can be given:
  • EdgeWeightAutomaticweight for each edge
    MethodAutomaticmethod to use
  • With the default setting EdgeWeight->Automatic, the edge weight of an edge is taken to be the EdgeWeight of the graph g if available; otherwise, it is 1.
  • Possible Method settings include "Dijkstra", "FloydWarshall", "Johnson", and "PseudoDiameter".
Introduced in 2010
| Updated in 2015