Efficiently approximating color-spanning balls
Suppose n colored points with k colors in Rd are given. The Smallest Color-Spanning Ball (SCSB) is the smallest ball containing at least one point of each color. As the computation of the SCSB in Lp metric (p≥1) is time-consuming, we focus on approximately computing the SCSB in near-linear time. Ini...
Saved in:
Published in | Theoretical computer science Vol. 634; pp. 120 - 126 |
---|---|
Main Authors | , , , |
Format | Journal Article |
Language | English |
Published |
Elsevier B.V
27.06.2016
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Suppose n colored points with k colors in Rd are given. The Smallest Color-Spanning Ball (SCSB) is the smallest ball containing at least one point of each color. As the computation of the SCSB in Lp metric (p≥1) is time-consuming, we focus on approximately computing the SCSB in near-linear time. Initially, we propose a 3-approximation algorithm running in O(nlogn) time. This algorithm is then utilized to present a (1+ε)-approximation algorithm with the running time of O((1ε)dnlogn). We improve the running time to O((1ε)dn) using randomized techniques. Afterward, spanning colors with two balls is studied. For a special case where d=1, there is an algorithm with O(n2) time. We demonstrate that for any ε>0 under the assumption that SETH is true, no approximation algorithm running in O(n2−ε) time exists for the problem even in one-dimensional space. Nevertheless, we consider the L∞ metric where a ball is an axis-parallel hypercube and present a (1+ε)-approximation algorithm running in O((1ε)2d(n2k)log2n) time which is remarkable when k is large. This time can be reduced to O((1ε)n2klogn) when d=1. |
---|---|
Bibliography: | ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 23 |
ISSN: | 0304-3975 1879-2294 |
DOI: | 10.1016/j.tcs.2016.04.022 |