arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1211.2066cs.DS
收藏

网格图上的I/O优化算法

I/O-optimal algorithms on grid graphs

Herman Haverkort

摘要:

给定一个图,其n个顶点形成一个规则的二维网格,并且其中每个顶点(可能是加权的和/或有向的)边将一个顶点连接到它的八个邻居之一,下面可以在O(scan(n))I/O中完成,假设M = Omega(B^2):计算来自单个源的具有非负边权重的最短路径,广度优先遍历,计算最小生成树,拓扑排序、时间向前处理(如果输入是平面图)和欧拉巡视(如果输入图是树)。最小生成树算法是高速缓存无关的。这些问题的最佳先前公布的算法需要Theta(排序(n))的I/O。估计的实际I/O量表明,新的算法在实践中往往是非常有效的。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑