Eccentricity of a vertex denoted by e(v) is defined by-
Eccentricity of a vertex denoted by e(v) is defined by max{d(u,v):uϵv,u≠v}{d(u,v):uϵv,u≠v} (where d (u,v) is the distance of vertex u and vertex v).
The maximum distance between a vertex to all other vertices is considered as the eccentricity of vertex. The distance from a particular vertex to all other vertices in the graph is taken and among those distances, the eccentricity is the highest of distances.