计算机科学 > 数据结构与算法
[提交于 2012年11月9日]
标题:Simple I/O-efficient flow accumulation on grid terrains
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The flow accumulation problem for grid terrains takes as input a matrix of flow directions, that specifies for each cell of the grid to which of its eight neighbours any incoming water would flow. The problem is to compute, for each cell c, from how many cells of the terrain water would reach c. We show that this problem can be solved in O(scan(N)) I/Os for a terrain of N cells. Taking constant factors in the I/O-efficiency into account, our algorithm may be an order of magnitude faster than the previously known algorithm that is based on time-forward processing and needs O(sort(N)) I/Os.
提交历史
来自:Herman Haverkort[v1] 2012年11月9日 星期五 00:00:00 UTC