how many ants does it take to find the food
play

How Many Ants Does It Take to Find the Food? Jara Uitto ETH Zurich - PowerPoint PPT Presentation

How Many Ants Does It Take to Find the Food? Jara Uitto ETH Zurich Distributed Computing www.disco.ethz.ch Ants Nearby Treasure Search Introduced by Feinerman, Korman, Lotker and Sereni [PODC 2012]. mobile agents,


  1. How Many Ants Does It Take to Find the Food? Jara Uitto ETH Zurich – Distributed Computing – www.disco.ethz.ch

  2. Ants Nearby Treasure Search • Introduced by Feinerman, Korman, Lotker and Sereni [PODC 2012]. • 𝑜 mobile agents, controlled by Turing machines, search for a treasure. • Communication not allowed.

  3. Model • Infinite integer grid. • Each ant initially located in the origin.

  4. Model • Adversarially hidden treasure/food. • (Manhattan) distance to treasure is 𝐸 .

  5. Ants Nearby Treasure Search • How many rounds until the treasure is found? • We study the number of ants needed to find the treasure at all.

  6. Model

  7. Model

  8. Model • One Turing Machine is enough. No communication needed. =

  9. Model • Ants are controlled by (randomized) finite state machines. • Communicate by sensing the states of nearby ants. • Run-time studied by Emek, Langner, Uitto and Wattenhofer [ICALP2014].

  10. Model • Synchrony vs. Asynchrony • A deterministic protocol?

  11. Model 1 • Individual algorithm for each ant. 2 • An algorithm works 3 correctly if the ants find the treasure in expected finite time.

  12. Deterministic + Asynchronous

  13. Triangle Search

  14. Triangle Search

  15. Triangle Search

  16. Triangle Search

  17. Triangle Search

  18. Triangle Search

  19. Triangle Search

  20. Triangle Search

  21. Triangle Search

  22. Triangle Search

  23. Triangle Search

  24. Triangle Search

  25. Triangle Search

  26. Triangle Search

  27. Triangle Search

  28. Triangle Search

  29. Triangle Search

  30. Triangle Search

  31. Triangle Search

  32. Triangle Search

  33. Triangle Search

  34. Triangle Search

  35. Triangle Search

  36. Triangle Search

  37. Triangle Search

  38. Synchronization? • Can we perform better if the ants have a common sense of time?

  39. Rectangle Search

  40. Rectangle Search

  41. Rectangle Search

  42. Rectangle Search

  43. Rectangle Search

  44. Rectangle Search

  45. Rectangle Search

  46. Rectangle Search

  47. Rectangle Search

  48. Rectangle Search

  49. Rectangle Search

  50. Rectangle Search

  51. Rectangle Search

  52. Rectangle Search

  53. Rectangle Search

  54. Rectangle Search

  55. Rectangle Search

  56. Rectangle Search

  57. Rectangle Search

  58. Randomization • How about random coin tosses?

  59. Geometric Search

  60. Geometric Search NE

  61. Geometric Search NE 1

  62. Geometric Search NE 11

  63. Geometric Search NE 111

  64. Geometric Search NE 1110

  65. Geometric Search NE 11101

  66. Geometric Search NE 111011

  67. Geometric Search NE 1110110

  68. Geometric Search NE 1110110

  69. Geometric Search NE 1110110

  70. Geometric Search NE 1110110

  71. Geometric Search NE 1110110

  72. Geometric Search NE 1110110

  73. Geometric Search

  74. Run-Time • For every search 𝑗 , we have a probability of at 1 4 ∙ 2 −(𝐸+1) to find the treasure. least A i = • Let 𝐶 𝑗 be the event that the treasure is not found during any search 𝑘 < 𝑗 .

  75. Run-Time • Let 𝑈 be the total time required. ∞ • 𝐹 𝑈 ≤ 𝑄(𝐵 𝑗+1 ∙ 𝐶 𝑗 ) (𝑃 𝑗 + 𝑃(𝐸)) . 𝑗=1 𝑗 . • 𝑄 𝐵 𝑗+1 ∙ 𝐶 𝑗 ≤ 2 − 𝐸+3 ∙ 1 − 2 − 𝐸+3 1 − 2 −(𝐸+3) 𝑗 𝑃 𝑗 + 𝑃(𝐸) • 𝐹 𝑈 ≤ 2 − 𝐸+3 ∞ = 𝑗=1 𝑃 2 𝐸 .

  76. Lower Bounds? • Can we do better? In the deterministic and synchronous case, the answer is no. • Let us start with showing that one ant is not enough.

  77. One Ant • A finite state machine repeats its behavior.

  78. One Ant q

  79. One Ant q q

  80. One Ant q q q

  81. One Ant 𝑑 A band of constant width

  82. One Ant • One ant can only discover a band of constant width. • How about two ants?

  83. Two Ants • Let 𝑢 be the time of the last meeting. • Both agents (alone) discover a band after 𝑢 .

  84. Two Ants • Lemma: The ants meet infinitely often in some pair of states (𝑟, 𝑟 ′ ) . • Observation: the time between two such meetings is bounded by a constant.

  85. Two Ants (𝑟, 𝑟 ′ )

  86. Two Ants (𝑟, 𝑟 ′ ) (𝑟, 𝑟 ′ )

  87. Two Ants (𝑟, 𝑟 ′ ) (𝑟, 𝑟 ′ ) (𝑟, 𝑟 ′ )

  88. Two Ants (𝑟, 𝑟 ′ ) (𝑟, 𝑟 ′ ) (𝑟, 𝑟 ′ )

  89. Two Ants (𝑟, 𝑟 ′ ) (𝑟, 𝑟 ′ ) (𝑟, 𝑟 ′ ) 𝑑′ • Two deterministic ants can only discover a band of constant width. • Two deterministic ants cannot find the food.

  90. Conclusion • Three asynchronous ants? • Two randomized ants?

  91. Conclusion

  92. Questions? Thanks to my co-authors Yuval Emek, Tobias Langner, David Stolz and Roger Wattenhofer

Recommend


More recommend