An algorithm for finding a k-median in a directed tree

https://doi.org/10.1016/S0020-0190(00)00026-0Get rights and content

Abstract

We consider the problem of finding a k-median in a directed tree. We present an algorithm that computes a k-median in O(Pk2) time where k is the number of resources to be placed and P is the path length of the tree. In the case of a balanced tree, this implies O(k2nlogn) time, in a random tree O(k2n3/2), while in the worst case O(k2n2). Our method employs dynamic programming and uses O(nk) space, while the best known algorithms for undirected trees require O(n2k) space.

References (4)

  • V. Auletta et al.

    Placing resources on a growing line

    J. Algorithms

    (1998)
  • O. Kariv et al.

    An algorithmic approach to network location problems. II: The p-medians

    SIAM. J. Appl. Math.

    (1979)
There are more references available in the full text version of this article.

Cited by (26)

  • Allocation of partitioned data by using a neural network based approach

    2009, Neurocomputing
    Citation Excerpt :

    The optimal solutions are obtained within Ο(n2m) for linear topology and Ο(n3m2) for tree topology. Vigneron et al. [37] improved the complexity of the algorithm for tree topology to Ο(Pm2). A similar solution is provided by Krishnan et al. in [12].

View all citing articles on Scopus
1

Most of this work was done while visiting the Hong Kong University of Science & Technology. Research partially supported by HK RGC CERG Grant HKUST652/95E.

2

Research supported in part by NSF CAREER Award grant ANI-9875513. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.

3

Research partially supported by Italian Ministry of University and Scientific and Technological Research under the Project “Algorithms for Large Data Sets: Science and Engineering”. Most of this work was done while visiting the Hong Kong University of Science & Technology. URL: http://www.info.uniroma2.it/~italiano.

View full text