Abstract
In this paper we study recently proposed variant of the facility location problem called the r-gathering problem. Given sets C and F of points on the plane and distance d(c, f) for each \(c\in C\) and \(f\in F\), an r-gathering of C to F is an assignment A of C to open facilities \(F^{'} \subset F\) such that r or more customers are assigned to each open facility. The cost of an r-gathering is the maximum distance d(c, f) between \(c\in C\) and \(A(c)\in F'\) among the assignment, which is \(\max _{c\in C}\{ d(c,A(c)) \}\). The r-gathering problem finds the r-gathering minimize the cost. A polynomial time 3-approximation algorithm for the r-gathering problem is known. When all C and F are on the line an \(O((|C|+|F|)\log (|C|+|F|) )\) time algorithm and an \(O(|C|+|F|\log ^2 r+|F|\log |F|)\) time algorithm to solve the r-gathering problem are known. In this paper we give a simple \(O(|C|+r^2|F|)\) time algorithm to solve the r-gathering problem. Since in typical case \(r<<|F|<<|C|\) holds our new algorithm is faster than the known algorithms.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Aggarwal, G., Feder, T., Kenthapadi, K., Khuller, S., Panigrahy, R., Thomas, D., Zhu, A.: Achieving anonymity via clustering. Trans. Algorithms 6 (2010). Article No. 49
Agarwal, P., Sharir, M.: Efficient algorithms for geometric optimization. Comput. Surv. 30, 412–458 (1998)
Akagi, T., Nakano, S.: On r-gatherings on the line. In: Wang, J., Yap, C. (eds.) FAW 2015. LNCS, vol. 9130, pp. 25–32. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-19647-3_3
Armon, A.: On min-max \(r\)-gatherings. Theor. Comput. Sci. 412, 573–582 (2011)
Drezner, Z.: Facility Location: A Survey of Applications and Methods. Springer, New York (1995)
Drezner, Z., Hamacher, H.W.: Facility Location: Applications and Theory. Springer, New York (2004)
Frederickson, G., Johnson, D.: Generalized selection and ranking: sorted matrices. SIAM J. Comput. 13, 14–30 (1984)
Gabow, H., Tarjan, R.: Algorithms for two bottleneck optimization problems. J. Algorithms 9, 411–417 (1988)
Han, Y., Nakano, S.: On r-gatherings on the line. In: Proceedings of FCS 2016, pp. 99–104 (2016)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this paper
Cite this paper
Nakano, Si. (2018). A Simple Algorithm for r-gatherings on the Line. In: Rahman, M., Sung, WK., Uehara, R. (eds) WALCOM: Algorithms and Computation. WALCOM 2018. Lecture Notes in Computer Science(), vol 10755. Springer, Cham. https://doi.org/10.1007/978-3-319-75172-6_1
Download citation
DOI: https://doi.org/10.1007/978-3-319-75172-6_1
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-75171-9
Online ISBN: 978-3-319-75172-6
eBook Packages: Computer ScienceComputer Science (R0)