International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 54 - Number 18 |
Year of Publication: 2012 |
Authors: Ishwar Baidari, Ravi Roogi, Shridevi Shinde |
10.5120/8664-2284 |
Ishwar Baidari, Ravi Roogi, Shridevi Shinde . Algorithmic Approach to Eccentricities, Diameters and Radii of Graphs using DFS. International Journal of Computer Applications. 54, 18 ( September 2012), 1-4. DOI=10.5120/8664-2284
Let G = (V, E) be a graph. The distance d (u, v) between two nodes u and v is the length of the shortest path between them. The eccentricity E (v) of a graph vertex v in connected graph G is the maximum distance between v and any other vertex u of G. i. e. maxu V{ d (u, v) }. The diameter of the graph is a graph the longest shortest path between any two graph vertices (u ,v) of a graph i. e. Diam (G) = max { E (v)/ v V}. The minimum eccentricity of a graph is radius i. e. Rad (G) = min { E (v)/ v V}. In this paper we propose algorithms for finding eccentricity diameter and radius of a tree using DFS.