skip to main content
research-article

Almost-Optimal Deterministic Treasure Hunt in Unweighted Graphs

Published:05 May 2023Publication History
Skip Abstract Section

Abstract

A mobile agent navigating along edges of a simple connected unweighted graph, either finite or countably infinite, has to find an inert target (treasure) hidden in one of the nodes. This task is known as treasure hunt. The agent has no a priori knowledge of the graph, of the location of the treasure, or of the initial distance to it. The cost of a treasure hunt algorithm is the worst-case number of edge traversals performed by the agent until finding the treasure. Awerbuch et al. [3] considered graph exploration and treasure hunt for finite graphs in a restricted model where the agent has a fuel tank that can be replenished only at the starting node s. The size of the tank is B = 2 (1+α) r, for some positive real constant α, where r, called the radius of the graph, is the maximum distance from s to any other node. The tank of size B allows the agent to make at most ⌊ B ⌋ edge traversals between two consecutive visits at node s.

Let e(d) be the number of edges whose at least one endpoint is at distance less than d from s. Awerbuch et al. [3] conjectured that it is impossible to find a treasure hidden in a node at distance at most d at cost nearly linear in e(d). We first design a deterministic treasure hunt algorithm working in the model without any restrictions on the moves of the agent at cost 𝒪(e(d) log d) and then show how to modify this algorithm to work in the model from Awerbuch et al. [3] with the same complexity. Thus, we refute the preceding 20-year-old conjecture. We observe that no treasure hunt algorithm can beat cost Θ (e(d)) for all graphs, and thus our algorithms are also almost optimal.

REFERENCES

  1. [1] Alpern Steve and Gal Shmuel. 2003. The Theory of Search Games and Rendezvous. International Series in Operations Research and Management Science, Vol. 55. Kluwer. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  2. [2] Angelopoulos Spyros, Arsénio Diogo, and Dürr Christoph. 2017. Infinite linear programming and online searching with turn cost. Theor. Comput. Sci. 670 (2017), 1122. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. [3] Awerbuch Baruch, Betke Margrit, Rivest Ronald L., and Singh Mona. 1999. Piecemeal graph exploration by a mobile robot. Inf. Comput. 152, 2 (1999), 155172. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. [4] Baeza-Yates Ricardo A., Culberson Joseph C., and Rawlins Gregory J. E.. 1993. Searching in the plane. Inf. Comput. 106, 2 (1993), 234252. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. [5] Beck Anatole. 1964. On the linear search problem. Isr. J. Math. 2 (1964), 221228. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  6. [6] Beck Anatole and Newman D. J.. 1970. Yet more on the linear search problem. Isr. J. Math. 8 (1970), 419429. Google ScholarGoogle ScholarCross RefCross Ref
  7. [7] Bellman Richard. 1963. An optimal search. SIAM Rev. 5, 3 (1963), 274274. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. [8] Bouchard Sébastien, Dieudonné Yoann, Labourel Arnaud, and Pelc Andrzej. 2021. Almost-optimal deterministic treasure hunt in arbitrary graphs. In Proceedings of the 48th International Colloquium on Automata, Languages, and Programming (ICALP’21). Leibniz International Proceedings in Informatics, Vol. 198. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, Dagstuhl, Germany, Article 36, 20 pages. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  9. [9] Bouchard Sébastien, Dieudonné Yoann, Pelc Andrzej, and Petit Franck. 2020. Deterministic treasure hunt in the plane with angular hints. Algorithmica 82, 11 (2020), 32503281. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. [10] Dasgupta Pallab, Chakrabarti P. P., and Sarkar S. C. De. 1994. Agent searching in a tree and the optimality of iterative deepening. Artif. Intell. 71, 1 (1994), 195208. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. [11] Dasgupta Pallab, Chakrabarti P. P., and Sarkar S. C. De. 1995. A correction to “Agent Searching in a Tree and the Optimality of Iterative Deepening.” Artif. Intell. 77, 1 (1995), 173176. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. [12] Demaine Erik D., Fekete Sándor P., and Gal Shmuel. 2006. Online searching with turn cost. Theor. Comput. Sci. 361, 2-3 (2006), 342355. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. [13] Duncan Christian A., Kobourov Stephen G., and Kumar V. S. Anil. 2006. Optimal constrained graph exploration. ACM Trans. Algorithms 2, 3 (2006), 380402. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. [14] Fleischer Rudolf, Kamphans Thomas, Klein Rolf, Langetepe Elmar, and Trippen Gerhard. 2008. Competitive online approximation of the optimal search ratio. SIAM J. Comput. 38, 3 (2008), 881898. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. [15] Fricke G. Matthew, Hecker Joshua P., Griego Antonio D., Tran Linh T., and Moses Melanie E.. 2016. A distributed deterministic spiral search algorithm for swarms. In Proceedings of the 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS’16). IEEE, Los Alamitos, CA, 44304436. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. [16] Gal Shmuel. 2013. Search Games: A Review. Springer, New York, NY, 315. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  17. [17] Ghosh Subir Kumar and Klein Rolf. 2010. Online algorithms for searching and exploration in the plane. Comput. Sci. Rev. 4, 4 (2010), 189201. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. [18] Jez Artur and Lopuszanski Jakub. 2009. On the two-dimensional cow search problem. Inf. Process. Lett. 109, 11 (2009), 543547. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. [19] Kao Ming-Yang, Reif John H., and Tate Stephen R.. 1996. Searching in an unknown environment: An optimal randomized algorithm for the cow-path problem. Inf. Comput. 131, 1 (1996), 6379. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. [20] Kirkpatrick David G. and Zilles Sandra. 2011. Competitive search in symmetric trees. In Algorithms and Data Structures. Lecture Notes in Computer Science, Vol. 6844. Springer, 560–570. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  21. [21] Komm Dennis, Královic Rastislav, Královic Richard, and Smula Jasmin. 2015. Treasure hunt with advice. In Structural Information and Communication Complexity. Lecture Notes in Computer Science, Vol. 9439. Springer, 328–341. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. [22] Langetepe Elmar. 2010. On the optimality of spiral search. In Proceedings of the 21st Annual ACM-SIAM Symposium on Discrete Algorithms (SODA’10). SIAM, 112. DOI:Google ScholarGoogle ScholarCross RefCross Ref
  23. [23] Langetepe Elmar. 2012. Searching for an axis-parallel shoreline. Theor. Comput. Sci. 447 (2012), 8599. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. [24] López-Ortiz Alejandro and Schuierer Sven. 2001. The ultimate strategy to search on m rays? Theor. Comput. Sci. 261, 2 (2001), 267295. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. [25] Miller Avery and Pelc Andrzej. 2015. Tradeoffs between cost and information for rendezvous and treasure hunt. J. Parallel Distrib. Comput. 83 (2015), 159167. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. [26] Pelc Andrzej. 2018. Reaching a target in the plane with no information. Inf. Process. Lett. 140 (2018), 1317. Google ScholarGoogle ScholarCross RefCross Ref
  27. [27] Schuierer Sven. 2001. Lower bounds in on-line geometric searching. Comput. Geom. 18, 1 (2001), 3753. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. [28] Ta-Shma Amnon and Zwick Uri. 2014. Deterministic rendezvous, treasure hunts, and strongly universal exploration sequences. ACM Trans. Algorithms 10, 3 (2014), Article 12, 15 pages. DOI:Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Almost-Optimal Deterministic Treasure Hunt in Unweighted Graphs

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image ACM Transactions on Algorithms
      ACM Transactions on Algorithms  Volume 19, Issue 3
      July 2023
      281 pages
      ISSN:1549-6325
      EISSN:1549-6333
      DOI:10.1145/3592471
      • Editor:
      • Edith Cohen
      Issue’s Table of Contents

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 5 May 2023
      • Online AM: 18 March 2023
      • Accepted: 14 March 2023
      • Revised: 8 October 2022
      • Received: 22 July 2021
      Published in talg Volume 19, Issue 3

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
    • Article Metrics

      • Downloads (Last 12 months)114
      • Downloads (Last 6 weeks)8

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Full Text

    View this article in Full Text.

    View Full Text

    HTML Format

    View this article in HTML Format .

    View HTML Format