Abstract
Let T be an edge-weighted tree. A p-core of T is a set of p mutually disjoint paths in T that minimizes the sum of the distances of all vertices in T from any of the p paths, where p≥1 is an integer. Let n be the number of vertices in T. In this paper, an O(n) time algorithm is proposed for the case p=2. Applying our 2-core algorithm as a procedure, we also show that the p-core problem can be solved in O(n p-1) time for any constant p≥2.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
R. I. Becker and Y. Perl, “Finding the two-core of a tree,” Discrete Applied Mathematics, vol. 11, no. 2, pp.103–113, 1985.
B. Gavih and S. Sridhar, “Computing the 2-median on tree networks in O(nlg n) time,” Networks, vol. 26, iss. 4, pp. 305–317, 1995.
A.J. Goldman, “Optimal center location in simple networks”, Transportation Science, vol. 5, pp. 212–221, 1971.
S. L. Hakimi, E. F. Schmeichel, and M. Labbe, “On locating path-or tree-shaped facilities on networks,” Networks, vol. 23, pp. 543–555, 1993.
G.Y. Handler and P. Mirchandani, Location on Networks, MIT Press, Cambridge, MA, 1979.
D.E. Knuth, The Art of Computer Programming, vol. 1, Addison-Wesley, Reading, MA, 1968.
N. Megiddo, A. Tamir, E. Zemel, and R. Chandrasekaran, “An O(nlog2 n) time algorithm for the kth longest path in a tree with applications to location problems,” SIAM Journal on Computing, vol. 10, pp. 328–337, 1981.
E. Minieka and N.H. Patel, “On finding the core of a tree with a specified length”, Journal of Algorithms, vol. 4, pp. 345–352, 1983.
C.A. Morgan and P.L. Slater, “A linear time algorithm for a core of a tree”, Journal of Algorithms, vol. 1, pp. 247–258, 1980.
S. Peng and W. Lo, “Efficient algorithms for finding a core of a tree with specified length”, Journal of Algorithms, vol. 15, pp. 143–159, 1996.
A. Shioura and T. Uno, “A linear time algorithm for finding a k-tree core,” Journal of Algorithms, vol. 23, pp. 281–290, 1997.
P.J. Slater, “Locating central paths in a network”, Transportation Science, vol. 16, no. 1, pp.1–18, 1982.
A. Tamir, “An O(pn2) time algorithm for the p-median and related problems on tree graphs,” Operations Research Letters, vol. 19, iss. 2, pp. 59–64, 1996.
B.-F. Wang, “Finding a k-tree core and a k-tree center of tree network in parallel”, IEEE Transactions on Parallel and Distributed Systems, vol. 9, no. 2, pp. 186–191, 1999.
B.-F. Wang, “Efficient parallel algorithms for optimally locating a path and a tree of a specified length in a weighted tree network”, Journal of Algorithms, vol. 34, pp. 90–108, 2000.
B.-F. Wang, “Finding a 2-core of a tree in linear time”, manuscript.
B.-F. Wang, S.-C. Ku, K.-H. Shi, T.-K. Hung, and P.-S. Liu, “Parallel algorithms for the tree bisector problem and applications,” in Proceedings of the 1999 International Conference on Parallel Processing, 1999, pp. 192–199.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Wang, BF., Lin, JJ. (2000). Finding a Two-Core of a Tree in Linear Time. In: Goos, G., Hartmanis, J., van Leeuwen, J., Lee, D.T., Teng, SH. (eds) Algorithms and Computation. ISAAC 2000. Lecture Notes in Computer Science, vol 1969. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-40996-3_40
Download citation
DOI: https://doi.org/10.1007/3-540-40996-3_40
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-41255-7
Online ISBN: 978-3-540-40996-0
eBook Packages: Springer Book Archive