Constant-Work-Space Algorithm for a Shortest Path in a Simple Polygon
We present two space-efficient algorithms. First, we show how to report a simple path between two arbitrary nodes in a given tree. Using a technique called “computing instead of storing”, we can design a naive quadratic-time algorithm for the problem using only constant work space, i.e., O(logn) bits in total for the work space, where n is the number of nodes in the tree. Then, another technique “controlled recursion” improves the time bound to O(n 1 + ε ) for any positive constant ε. Second, we describe how to compute a shortest path between two points in a simple n-gon. Although the shortest path problem in general graphs is NL-complete, this constrained problem can be solved in quadratic time using only constant work space.
KeywordsShort Path Work Space Dual Graph Simple Path Simple Polygon
Unable to display preview. Download preview PDF.
- 1.Asano, T., Rote, G.: Constant-Working-Space Algorithms for Geometric Problems. In: Proc. CCCG 2009, Vancouver, pp. 87–90 (2009)Google Scholar
- 3.Asano, T.: Constant-Working-Space Algorithms for Image Processing. In: Nielsen, F. (ed.) ETVC 2008. LNCS, vol. 5416, pp. 268–283. Springer, Heidelberg (2009)Google Scholar
- 4.Asano, T.: Constant-Working-Space Image Scan with a Given Angle. In: Proc. 24th European Workshop on Computational Geometry, Nancy, France, March 18-20, pp. 165–168 (2008)Google Scholar
- 5.Asano, T.: Constant-Working Space Algorithm for Image Processing. In: Proc. of the First AAAC Annual meeting, Hong Kong, April 26-27, p. 3 (2008)Google Scholar
- 10.Reingold, O.: Undirected connectivity in log-space. J. ACM 55, 24, Article #17 (2008)Google Scholar