Let T be a tree on a set V of nodes. The p-th power Tp of T is the graph on V such that any two nodes u and w of V are adjacent in T p if and only if the distance of u and w in T is at most p. Given an n-node m-edge graph G and a positive integer p, the p-th tree root problem asks for a tree T, if any, such that G = Tp. Given a graph G, the tree root problem asks for a positive integer p and a tree T, if any, such that G -Tp. Kearney and Corneil gave the best previously known algorithms for both problems. Their algorithm for the former (respectively, latter) problem runs in O(n3) (respectively, O(n4)) time. In this paper, we give O(n + m)-time algorithms for both problems. © Springer-Verlag Berlin Heidelberg 2006.
CITATION STYLE
Chang, M. S., Ko, M. T., & Lu, H. I. (2006). Linear-time algorithms for tree root problems. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4059 LNCS, pp. 411–422). Springer Verlag. https://doi.org/10.1007/11785293_38
Mendeley helps you to discover research relevant for your work.