计算机科学 > 数据结构与算法
[提交于 2017年9月25日]
标题:A Linear Algorithm for Finding the Sink of Unique Sink Orientations on Grids
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:An orientation of a grid is called unique sink orientation (USO) if each of its nonempty subgrids has a unique sink. Particularly, the original grid itself has a unique global sink. In this work we investigate the problem of how to find the global sink using minimum number of queries to an oracle. There are two different oracle models: the vertex query model where the orientation of all edges incident to the queried vertex are provided, and the edge query model where the orientation of the queried edge is provided. In the 2-dimensional case, we design an optimal linear deterministic algorithm for the vertex query model and an almost linear deterministic algorithm for the edge query model, previously the best known algorithms run in O(N logN) time for the vertex query model and O(N^1.404) time for the edge query model.
提交历史
来自:Zhijie Zhang[v1] 2017年9月25日 星期一 11:49:16 UTC