Let G = (V, E) be a graph. The distance d (u, v) between two vertices u and v is the length of the shortest path between them. The diameter of the graph is the length of the longest path of the shortest paths between any two graph vertices (u ,v) of a graph, . In this paper we propose algorithms for finding diameter of a hierarchy graph using DFS. Diameter of the hierarchy graph using DFS algoritm is four.
CITATION STYLE
Sudibyo, N. A., & Iswardani, A. (2019). DEPTH FIRST SEARCH (DFS) UNTUK MENENTUKAN DIAMETER GRAF HIRARKI. Jurnal Ilmiah Matematika Dan Pendidikan Matematika, 11(2), 29. https://doi.org/10.20884/1.jmp.2019.11.2.2265
Mendeley helps you to discover research relevant for your work.