,
Satyam Singh
,
Csaba D. Tóth
Creative Commons Attribution 4.0 International license
Given a set P of n points in the plane and a sequence of axis-aligned squares that arrive in an online fashion, the online hitting set problem consists of maintaining, by adding new points from P if necessary, a hitting set H ⊆ P, which contains at least one point in every input square that has already arrived. We present an O(log n)-competitive deterministic algorithm for this problem. The competitive ratio is the best possible, apart from constant factors. In fact, this is the first O(log n)-competitive algorithm for the online hitting set problem that works for geometric objects of arbitrary sizes (i.e., unbounded scaling factors) in the plane. We further generalize this result to positive homothets of a polygon with k ≥ 3 vertices in the plane and provide an O(k²log n)-competitive algorithm.
@InProceedings{de_et_al:LIPIcs.SWAT.2026.16,
author = {De, Minati and Singh, Satyam and T\'{o}th, Csaba D.},
title = {{Online Hitting Set for Axis-Aligned Squares}},
booktitle = {20th Scandinavian Symposium on Algorithm Theory (SWAT 2026)},
pages = {16:1--16:18},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-421-5},
ISSN = {1868-8969},
year = {2026},
volume = {370},
editor = {Fraigniaud, Pierre},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.SWAT.2026.16},
URN = {urn:nbn:de:0030-drops-260528},
doi = {10.4230/LIPIcs.SWAT.2026.16},
annote = {Keywords: axis-aligned squares, hitting set, homothets of a polygon, online algorithm}
}