Abstract
In search problems, a mobile searcher seeks to locate a target that hides in some unknown position of the environment. Such problems are typically considered to be of an on-line nature, in that the target’s position is unknown to the searcher, and the performance of a search strategy is usually analyzed by means of the standard framework of the competitive ratio, which compares the cost incurred by the searcher to an optimal strategy that knows the location of the target. However, one can argue that even for simple search problems, competitive analysis fails to distinguish between strategies which, intuitively, should have different performance in practice. Motivated by the above observation, in this work we introduce and study measures supplementary to competitive analysis in the context of search problems. In particular, we focus on the well-known problem of linear search, informally known as the cow-path problem, for which there is an infinite number of strategies that achieve an optimal competitive ratio equal to 9. We propose a measure that reflects the rate at which the line is being explored by the searcher, and which can be seen as an extension of the bijective ratio over an uncountable set of requests. Using this measure we show that a natural strategy that explores the line aggressively is optimal among all 9-competitive strategies. This provides, in particular, a strict separation from the competitively optimal doubling strategy, which is much more conservative in terms of exploration. We also provide evidence that this aggressiveness is requisite for optimality, by showing that any optimal strategy must mimic the aggressive strategy in its first few explorations.
Similar content being viewed by others
Notes
In [18], online search refers to the problem of selling a specific item at the highest possible price, and is not related to the problem of searching for a target.
References
Alpern, S., Gal, S.: The Theory of Search Games and Rendezvous. Kluwer Academic Publishers, Berlin (2003)
Angelopoulos, S., Arsénio, D., Dürr, C., López-Ortiz, A.: Multi-processor search and scheduling problems with setup cost. Theory Comput. Syst. 5, 1–34 (2016)
Angelopoulos. S.: Further connections between contract-scheduling and ray-searching problems. In: Proceedings of the 24th International Joint Conference on Artificial Intelligence (IJCAI), pp. 1516–1522, (2015)
Angelopoulos, S.: Online search with a hint. In: Proceedings of the 12th Innovations in Theoretical Computer Science Conference (ITCS), pp. 51:1–51:16 (2021)
Angelopoulos, S., Arsénio, D., Dürr, C.: Infinite linear programming and online searching with turn cost. Theoret. Comput. Sci. 670, 11–22 (2017)
Angelopoulos, S., Arsénio, D., Kamali, S.: Competitive sequencing with noisy advice. arXiv:2111.05281 (2021)
Angelopoulos, S., Dorrigiv, R., López-Ortiz, A.: On the separation and equivalence of paging strategies. In: Proceedings of the 18th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 229–237 (2007)
Angelopoulos, S., Renault, M.P., Schweitzer, P.: Stochastic dominance and the bijective ratio of online algorithms. Algorithmica 82(5), 1101–1135 (2020)
Angelopoulos, S., Schweitzer, P.: Paging and list update under bijective analysis. J. ACM 60(2), 71–718 (2013)
Baeza-Yates, R., Culberson, J., Rawlins, G.: Searching in the plane. Inf. Comput. 106, 234–244 (1993)
Beck, A.: On the linear search problem. Nav. Res. Logist. 2, 221–228 (1964)
Beck, A., Newman, D.J.: Yet more on the linear search problem. Israel J. Math. 8(4), 419–429 (1970)
Bellman, R.: An optimal search problem. SIAM Rev. 5, 274 (1963)
Berman, P.: Online Algorithms: The State of the Art, chapter Online searching and navigation, pp. 232–241. Springer (1998)
Bernstein, D.S., Finkelstein, L., Zilberstein, S.: Contract algorithms and robots on rays: unifying two scheduling problems. In: Proceedings of the 18th International Joint Conference on Artificial Intelligence (IJCAI), pp. 1211–1217 (2003)
Bose, P., De Carufel, J., Durocher, S.: Searching on a line: a complete characterization of the optimal solution. Theoret. Comput. Sci. 569, 24–42 (2015)
Boyar, J., Irani, S., Larsen, K.S.: A comparison of performance measures for online algorithms. Algorithmica 72(4), 969–994 (2015)
Boyar, J., Larsen, K.S., Maiti, A.: A comparison of performance measures via online search. Theoret. Comput. Sci. 532, 2–13 (2014)
Condon, A., Deshpande, A., Hellerstein, L., Wu, N.: Algorithms for distributional and adversarial pipelined filter ordering problems. ACM Trans. Algorithms 5(2), 241–2434 (2009)
Czyzowicz, J., Georgiou, K., Kranakis, E., Krizanc, D., Narayanan, L., Opatrny, J., Shende, S.: Search on a Line by Byzantine Robots. In: Proceedings of the 27th International Symposium on Algorithms and Computation (ISAAC 2016), pp. 27:1–27:12 (2016)
Demaine, E.D., Fekete, S.P., Gal, S.: Online searching with turn cost. Theoret. Comput. Sci. 361, 342–355 (2006)
Dorrigiv, R., López-Ortiz, A.: A survey of performance measures for on-line algorithms. SIGACT News 36(3), 67–81 (2005)
Gal, S.: A general search game. Israel J. Math. 12, 32–45 (1972)
Gal, S.: Minimax solutions for linear search problems. SIAM J. Appl. Math. 27, 17–30 (1974)
Gal, S.: Search Games. Academic Press, London (1980)
Hipke, C., Icking, C., Klein, R., Langetepe, E.: How to find a point in the line within a fixed distance. Discret. Appl. Math. 93, 67–73 (1999)
Jaillet, P., Stafford, M.: Online searching. Oper. Res. 49, 234–244 (1993)
Kao, M-Y., Littman, M.L.: Algorithms for informed cows. In: Proceedings of the AAAI 1997 Workshop on Online Search (1997)
Kao, M.-Y., Reif, J.H., Tate, S.R.: Searching in an unknown environment: an optimal randomized algorithm for the cow-path problem. Inf. Comput. 131(1), 63–80 (1996)
Karlin, A.R., Koutsoupias, E.: Beyond competitive analysis. In: Beyond the Worst-Case Analysis of Algorithms, pp. 529–546. Cambridge University Press (2020)
Kirkpatrick, D.G.: Hyperbolic dovetailing. In: Proceedings of the 17th Annual European Symposium on Algorithms (ESA), pp. 616–627 (2009)
Koutsoupias, E., Papadimitriou, C.H., Yannakakis, M.: Searching a fixed graph. In: Proceedings of the 23rd International Colloquium on Automata, Languages and Programming (ICALP), pp. 280–289 (1996)
Kupavskii, Andrey, Welzl, Emo: Lower bounds for searching robots, some faulty. In: Proceedings of the 2018 ACM Symposium on Principles of Distributed Computing, pp. 447–453 (2018)
López-Ortiz, A., Schuierer, S.: On-line parallel heuristics, processor scheduling and robot searching under the competitive framework. Theoret. Comput. Sci. 310(1–3), 527–537 (2004)
McGregor, A., Onak, K., Panigrahy, R.: The oil searching problem. In: Proceedings of the 17th European Symposium on Algorithms (ESA), pp. 504–515 (2009)
Schuierer, S.: Lower bounds in online geometric searching. Comput. Geom. Theory Appl. 18(1), 37–53 (2001)
Funding
This work was partially funded by the grant ANR-19-CE48-0016 from the French National Research Agency (ANR), DIM RFSI DACM and Labex Mathématique Hadamard. This research also benefited from the support of the FMJH Program PGMO and from the support of EDF-Thales-Orange.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors do not have any conflicts of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Angelopoulos, S., Dürr, C. & Jin, S. Best-of-Both-Worlds Analysis of Online Search. Algorithmica 85, 3766–3792 (2023). https://doi.org/10.1007/s00453-023-01165-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-023-01165-5