Incremental Edge Orientation in Forests

Authors Michael A. Bender, Tsvi Kopelowitz, William Kuszmaul, Ely Porat, Clifford Stein



PDF
Thumbnail PDF

File

LIPIcs.ESA.2021.12.pdf
  • Filesize: 0.67 MB
  • 18 pages

Document Identifiers

Author Details

Michael A. Bender
  • Stony Brook University, NY, USA
Tsvi Kopelowitz
  • Bar-Ilan University, Ramat Gan, Israel
William Kuszmaul
  • Massachusetts Institute of Technology, Cambridge, MA, USA
Ely Porat
  • Bar-Ilan University, Ramat Gan, Israel
Clifford Stein
  • Columbia University, New York, NY, USA

Cite AsGet BibTex

Michael A. Bender, Tsvi Kopelowitz, William Kuszmaul, Ely Porat, and Clifford Stein. Incremental Edge Orientation in Forests. In 29th Annual European Symposium on Algorithms (ESA 2021). Leibniz International Proceedings in Informatics (LIPIcs), Volume 204, pp. 12:1-12:18, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2021)
https://doi.org/10.4230/LIPIcs.ESA.2021.12

Abstract

For any forest G = (V, E) it is possible to orient the edges E so that no vertex in V has out-degree greater than 1. This paper considers the incremental edge-orientation problem, in which the edges E arrive over time and the algorithm must maintain a low-out-degree edge orientation at all times. We give an algorithm that maintains a maximum out-degree of 3 while flipping at most O(log log n) edge orientations per edge insertion, with high probability in n. The algorithm requires worst-case time O(log n log log n) per insertion, and takes amortized time O(1). The previous state of the art required up to O(log n / log log n) edge flips per insertion. We then apply our edge-orientation results to the problem of dynamic Cuckoo hashing. The problem of designing simple families ℋ of hash functions that are compatible with Cuckoo hashing has received extensive attention. These families ℋ are known to satisfy static guarantees, but do not come typically with dynamic guarantees for the running time of inserts and deletes. We show how to transform static guarantees (for 1-associativity) into near-state-of-the-art dynamic guarantees (for O(1)-associativity) in a black-box fashion. Rather than relying on the family ℋ to supply randomness, as in past work, we instead rely on randomness within our table-maintenance algorithm.

Subject Classification

ACM Subject Classification
  • Theory of computation → Data structures design and analysis
  • Theory of computation → Dynamic graph algorithms
Keywords
  • edge orientation
  • graph algorithms
  • Cuckoo hashing
  • hash functions

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Anders Aamand, Mathias Bæk Tejs Knudsen, and Mikkel Thorup. Power of d choices with simple tabulation. In 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018, 2018. Google Scholar
  2. Yuriy Arbitman, Moni Naor, and Gil Segev. De-amortized cuckoo hashing: Provable worst-case performance and experimental results. In International Colloquium on Automata, Languages, and Programming, pages 107-118. Springer, 2009. Google Scholar
  3. Yuriy Arbitman, Moni Naor, and Gil Segev. Backyard cuckoo hashing: Constant worst-case operations with a succinct representation. In 2010 IEEE 51st Annual Symposium on Foundations of Computer Science, pages 787-796. IEEE, 2010. Google Scholar
  4. Martin Aumüller, Martin Dietzfelbinger, and Philipp Woelfel. Explicit and efficient hash families suffice for cuckoo hashing with a stash. Algorithmica, 70(3):428-456, 2014. Google Scholar
  5. Martin Aumüller, Martin Dietzfelbinger, and Philipp Woelfel. A simple hash class with strong randomness properties in graphs and hypergraphs. arXiv preprint arXiv:1611.00029, 2016. Google Scholar
  6. Michael A. Bender, Tsvi Kopelowitz, William Kuszmaul, Ely Porat, and Clifford Stein. Incremental edge orientation in forests. arXiv preprint arXiv::2107.01250, 2021. Google Scholar
  7. Edvin Berglin and Gerth Stølting Brodal. A simple greedy algorithm for dynamic graph orientation. Algorithmica, 82(2):245-259, 2020. Google Scholar
  8. A. Bernstein and C. Stein. Fully dynamic matching in bipartite graphs. In Automata, Languages, and Programming - 42nd International Colloquium, ICALP 2015, Part I, pages 167-179, 2015. Google Scholar
  9. A. Bernstein and C. Stein. Faster fully dynamic matchings with small approximation ratios. In Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 692-711, 2016. Google Scholar
  10. G. Stølting Brodal and R. Fagerberg. Dynamic representation of sparse graphs. In Algorithms and Data Structures, 6th International Workshop, WADS, pages 342-351, 1999. Google Scholar
  11. Jeffrey S Cohen and Daniel M Kane. Bounds on the independence required for cuckoo hashing. ACM Transactions on Algorithms, 2009. Google Scholar
  12. Søren Dahlgaard and Mikkel Thorup. Approximately minwise independence with twisted tabulation. In Scandinavian Workshop on Algorithm Theory, pages 134-145. Springer, 2014. Google Scholar
  13. Luc Devroye and Pat Morin. Cuckoo hashing: further analysis. Information Processing Letters, 86(4):215-219, 2003. Google Scholar
  14. Martin Dietzfelbinger and Ulf Schellbach. On risks of using cuckoo hashing with simple universal hash classes. In Proceedings of the Twentieth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 795-804. SIAM, 2009. Google Scholar
  15. Martin Dietzfelbinger and Philipp Woelfel. Almost random graphs with simple hash functions. In Proceedings of the Thirty-Fifth Annual ACM Symposium on Theory of Computing, pages 629-638, 2003. Google Scholar
  16. Michael Fredman and Michael Saks. The cell probe complexity of dynamic data structures. In Proceedings of the Twenty-First Annual ACM Symposium on Theory of Computing, pages 345-354, 1989. Google Scholar
  17. Michael T Goodrich, Daniel S Hirschberg, Michael Mitzenmacher, and Justin Thaler. Fully de-amortized cuckoo hashing for cache-oblivious dictionaries and multimaps. arXiv preprint arXiv:1107.4378, 2011. Google Scholar
  18. M. He, G. Tang, and N. Zeh. Orienting dynamic graphs, with applications to maximal matchings and adjacency queries. In Algorithms and Computation - 25th International Symposium, ISAAC, pages 128-140, 2014. Google Scholar
  19. Adam Kirsch, Michael Mitzenmacher, and Udi Wieder. More robust hashing: Cuckoo hashing with a stash. SIAM Journal on Computing, 39(4):1543-1561, 2010. Google Scholar
  20. T. Kopelowitz, R. Krauthgamer, E. Porat, and S. Solomon. Orienting fully dynamic graphs with worst-case time bounds. In Automata, Languages, and Programming - 41st International Colloquium, ICALP(2), pages 532-543, 2014. Google Scholar
  21. L. Kowalik and M. Kurowski. Oracles for bounded-length shortest paths in planar graphs. ACM Transactions on Algorithms, 2(3):335-363, 2006. Google Scholar
  22. William Kuszmaul and Qi Qi. The multiplicative version of azuma’s inequality, with an application to contention analysis. arXiv preprint arXiv:2102.05077, 2021. Google Scholar
  23. Xiaozhou Li, David G Andersen, Michael Kaminsky, and Michael J Freedman. Algorithmic improvements for fast concurrent cuckoo hashing. In Proceedings of the Ninth European Conference on Computer Systems, pages 1-14, 2014. Google Scholar
  24. Michael Mitzenmacher. Some open questions related to cuckoo hashing. In European Symposium on Algorithms, pages 1-10. Springer, 2009. Google Scholar
  25. Michael Mitzenmacher and Salil Vadhan. Why simple hash functions work: exploiting the entropy in a data stream. In Proceedings of the Nineteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 746-755. Society for Industrial and Applied Mathematics, 2008. Google Scholar
  26. O. Neiman and S. Solomon. Simple deterministic algorithms for fully dynamic maximal matching. In Symposium on Theory of Computing Conference, STOC'13, Palo Alto, CA, USA, June 1-4, 2013, pages 745-754, 2013. URL: https://doi.org/10.1145/2488608.2488703.
  27. Rasmus Pagh and Flemming Friche Rodler. Cuckoo hashing. In European Symposium on Algorithms, pages 121-133. Springer, 2001. Google Scholar
  28. Rina Panigrahy. Efficient hashing with lookups in two memory accesses. In Proceedings of the Sixteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 830-839, 2005. Google Scholar
  29. Mihai Pătraşcu and Mikkel Thorup. Twisted tabulation hashing. In Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 209-228. SIAM, 2013. Google Scholar
  30. Mihai Pǎtraşcu and Mikkel Thorup. The power of simple tabulation hashing. Journal of the ACM (JACM), 59(3):1-50, 2012. Google Scholar
  31. Mikkel Thorup. Fast and powerful hashing using tabulation. Communications of the ACM, 60(7):94-101, 2017. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail