Efficient Algorithms for Two Generalized 2-Median Problems on Trees

The p-median problem on a tree T is to find a set S of p vertices on T that minimize the sum of distances from T's vertices to S. For this problem, Tamir [12] had an O(pn 2)-time algorithm, while Gavish and Sridhar [1] had an O(nlog n)-time algorithm for the case of p=2. Wang et al. [13] introduced two generalizations by imposing constraints on the 2-median: one is to limit their distance while the other is to limit their eccentricity, and they had O(n2)-time algorithms for both. We solve both generalizations in O(nlog n) time, matching even the fastest algorithm currently known for the 2-median problem. We also study cases when linear time algorithms exist for the 2-median problem and the two generalizations. For example, we solve all three in linear time when edge lengths and vertex weights are all polynomially bounded integers. Finally, we consider the relaxation of the two generalized problems by allowing 2-medians on any position of edges, instead of just on vertices, and we give O(nlog n)-time algorithms for them.

[1]  Bezalel Gavish,et al.  Computing the 2-median on tree networks in O(n lg n) time , 1995, Networks.

[2]  Biing-Feng Wang Finding a 2-Core of a Tree in Linear Time , 2002, SIAM J. Discret. Math..

[3]  Biing-Feng Wang,et al.  Finding a Two-Core of a Tree in Linear Time , 2000, ISAAC.

[4]  Arie Tamir,et al.  An O(pn2) algorithm for the p-median and related problems on tree graphs , 1996, Oper. Res. Lett..

[5]  Rainer E. Burkard,et al.  2-Medians in trees with pos/neg weights , 2000, Discret. Appl. Math..

[6]  Biing-Feng Wang Efficient Parallel Algorithms for Optimally Locating a Path and a Tree of a Specified Length in a Weighted Tree Network , 2000, J. Algorithms.

[7]  Biing-Feng Wang,et al.  Parallel algorithms for the tree bisector problem and applications , 1999, Proceedings of the 1999 International Conference on Parallel Processing.

[8]  Timothy J. Lowe,et al.  Locating Two Facilities on a Tree Subject to Distance Constraints , 1988, Transp. Sci..

[9]  Biing-Feng Wang,et al.  Cost-Optimal Parallel Algorithms for the Tree Bisector and Related Problems , 2001, IEEE Trans. Parallel Distributed Syst..

[10]  S. Hakimi Optimum Distribution of Switching Centers in a Communication Network and Some Related Graph Theoretic Problems , 1965 .

[11]  Arie Tamir,et al.  A polynomial algorithm for the p-centdian problem on a tree , 1998, Networks.

[12]  WangBiing-Feng Efficient Parallel Algorithms for Optimally Locating a Path and a Tree of a Specified Length in a Weighted Tree Network , 2000 .

[13]  Abraham P. Punnen,et al.  Group centre and group median of a tree , 1993 .

[14]  Zvi Galil,et al.  Data structures and algorithms for disjoint set union problems , 1991, CSUR.

[15]  Pitu B. Mirchandani,et al.  Localizing 2-medians on probabilistic and deterministic tree networks , 1980, Networks.

[16]  Dominique Peeters,et al.  Location on networks , 1992 .

[17]  Mimmo Parente,et al.  Dynamic and Static Algorithms for Optimal Placement of Resources in a Tree , 1996, Theor. Comput. Sci..

[18]  Timothy J. Lowe,et al.  Location on Networks: A Survey. Part I: The p-Center and p-Median Problems , 1983 .

[19]  O. Kariv,et al.  An Algorithmic Approach to Network Location Problems. II: The p-Medians , 1979 .

[20]  Robert E. Tarjan,et al.  A linear-time algorithm for a special case of disjoint set union , 1983, J. Comput. Syst. Sci..

[21]  A. J. Goldman Optimal Center Location in Simple Networks , 1971 .

[22]  S. L. HAKIMIt AN ALGORITHMIC APPROACH TO NETWORK LOCATION PROBLEMS. , 1979 .

[23]  Joseph JáJá,et al.  An Introduction to Parallel Algorithms , 1992 .