Back to Search Start Over

A linear time algorithm for the r-gathering problem on the line.

Authors :
Sarker, Anik
Sung, Wing-Kin
Sohel Rahman, M.
Source :
Theoretical Computer Science. Apr2021, Vol. 866, p96-106. 11p.
Publication Year :
2021

Abstract

In this paper, we revisit the r -gathering problem. Given sets C and F of points on the plane and distance d (c , f) for each c ∈ C and f ∈ F , an r -gathering of C to F is an assignment A of C to open facilities F ′ ⊆ F such that r or more members of C are assigned to each open facility. The cost of an r -gathering is max c ∈ C ⁡ d (c , A (c)). The r -gathering problem computes the r -gathering minimizing the cost. In this paper we study the r -gathering problem when C and F are on a line and present a O (| C | + | F |) -time algorithm to solve the problem. Our solution is optimal since any algorithm needs to read C and F at least once. [ABSTRACT FROM AUTHOR]

Subjects

Subjects :
*PROBLEM solving
*ALGORITHMS

Details

Language :
English
ISSN :
03043975
Volume :
866
Database :
Academic Search Index
Journal :
Theoretical Computer Science
Publication Type :
Academic Journal
Accession number :
149712106
Full Text :
https://doi.org/10.1016/j.tcs.2021.03.015