...
首页> 外文期刊>Journal of Graph Algorithms and Applications >Constant-Work-Space Algorithms for Shortest Paths in Trees and Simple Polygons
【24h】

Constant-Work-Space Algorithms for Shortest Paths in Trees and Simple Polygons

机译:树和简单多边形中最短路径的恒定工作空间算法

获取原文
           

摘要

Constant-work-space algorithms model computation when space is at a premium: the input is given as a read-only array that allows random access to its entries, and the algorithm may use constantly many additional registers of O (log n ) bits each, where n denotes the input size. We present such algorithms for two restricted variants of the shortest path problem. First, we describe how to report a simple path between two arbitrary nodes in a given tree. Using a technique called "computing instead of storing", we obtain a naive algorithm that needs quadratic time and a constant number of additional registers. We then show how to improve the running time to linear by applying a technique named "simulated parallelization". Second, we show how to compute a shortest geodesic path between two points in a simple polygon in quadratic time and with constant work-space.
机译:恒定工作空间算法在空间有限时对计算进行建模:输入以只读数组的形式提供,该数组允许随机访问其条目,并且该算法可能不断使用许多O(log n)位的附加寄存器,其中n表示输入大小。我们针对最短路径问题的两个受限变体提出了此类算法。首先,我们描述如何报告给定树中两个任意节点之间的简单路径。使用一种称为“计算而不是存储”的技术,我们获得了一个幼稚的算法,它需要二次时间和恒定数量的附加寄存器。然后,我们展示如何通过应用名为“模拟并行化”的技术来缩短线性化的运行时间。其次,我们展示了如何在二次时间内以恒定的工作空间计算简单多边形中两点之间的最短测地路径。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号