Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
438957 | Theoretical Computer Science | 2011 | 11 Pages |
Abstract
In this paper, we consider the problem of approximating the longest path in a grid graph that possesses a square-free 2-factor. By (1) analyzing several characteristics of four types of cross cells and (2) presenting three cycle-merging operations and one extension operation, we propose an algorithm that finds in an n-vertex grid graph G, a long path of length at least . Our approximation algorithm runs in quadratic time. In addition to its theoretical value, our work has also an interesting application in image-guided maze generation.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics