SODA Conference 2013 Conference Paper
Multiway Simple Cycle Separators and I/O-Efficient Algorithms for Planar Graphs
- Freek van Walderveen
- Norbert Zeh
- Lars Arge
We revisit I/O-efficient solutions to a number of fundamental problems on planar graphs: single-source shortest paths, topological sorting, and computing strongly connected components. Existing I/O-efficient solutions to these problems pay for I/O efficiency using excessive computation time in internal memory, thereby completely negating the performance gain achieved by minimizing the number of disk accesses. In this paper, we show how to make these algorithms simultaneously efficient in internal and external memory so they achieve I/O complexity O(sort( N )) and take O( N log N ) time in internal memory, where sort( N ) is the number of I/Os needed to sort N items in external memory. The key, and the main technical contribution of this paper, is a multiway version of Miller's simple cycle separator theorem. We show how to compute these separators in linear time in internal memory, and using O(sort( N )) I/Os and O( N log N ) (internal-memory computation) time in external memory.