VertexEccentricity

VertexEccentricity[g,s]

gives the length of the longest shortest path from the source s to every other vertex in the graph g.

VertexEccentricity[{vw,},]

uses rules vw to specify the graph g.

Details

Examples

open allclose all

Basic Examples  (1)

Find the vertex eccentricity of vertex 1 in a graph:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (7)

Applications  (6)

Properties & Relations  (3)

See Also

GraphRadius  GraphDiameter  GraphCenter  GraphPeriphery  GraphDistanceMatrix

Introduced in 2010
(8.0)
| Updated in 2015
(10.3)