English

I/O-optimal algorithms on grid graphs

Data Structures and Algorithms 2012-11-12 v1

Abstract

Given a graph of which the n vertices form a regular two-dimensional grid, and in which each (possibly weighted and/or directed) edge connects a vertex to one of its eight neighbours, the following can be done in O(scan(n)) I/Os, provided M = Omega(B^2): computation of shortest paths with non-negative edge weights from a single source, breadth-first traversal, computation of a minimum spanning tree, topological sorting, time-forward processing (if the input is a plane graph), and an Euler tour (if the input graph is a tree). The minimum-spanning tree algorithm is cache-oblivious. The best previously published algorithms for these problems need Theta(sort(n)) I/Os. Estimates of the actual I/O volume show that the new algorithms may often be very efficient in practice.

Keywords

Cite

@article{arxiv.1211.2066,
  title  = {I/O-optimal algorithms on grid graphs},
  author = {Herman Haverkort},
  journal= {arXiv preprint arXiv:1211.2066},
  year   = {2012}
}

Comments

12 pages' extended abstract plus 12 pages' appendix with details, proofs and calculations. Has not been published in and is currently not under review of any conference or journal

R2 v1 2026-06-21T22:35:22.991Z