Hamiltonian Paths in C-shaped Grid Graphs
2016, arXiv (Cornell University)
Abstract
We study the Hamiltonian path problem in C−shaped grid graphs, and present the necessary and sufficient conditions for the existence of a Hamiltonian path between two given vertices in these graphs. We also give a linear-time algorithm for finding a Hamiltonian path between two given vertices of a C−shaped grid graph, if it exists.
References (20)
- F.N. Afrati, The Hamilton circuit problem on grids, Theoretical Informatics and Applications 28 (6) (1994) 567-582.
- S.D. Chen, H. Shen, and R. Topor, An efficient algorithm for constructing Hamiltonian paths in meshes, Parallel Computing 28 (9) (2002) 1293-1305.
- L. Du, A polynomial time algorithm for Hamiltonian cycle (path), in: Proceedings of the International MultiConference of Engineers and Computer Scientists, IMECS, (I) 2010, pp. 17-19.
- S. Felsner, G. Liotta, and S. Wismath, Straight-line drawings on restricted integer grids in two and three dimensions, Journal of Graph Algorithms and Applications 7 (4) (2003) 363-398.
- M.R. Garey and D.S. Johnson, Computers and intractability: a guide to the theory of NP-completeness, Freeman, San Francisco, CA, 1979.
- V.S. Gordon, Y.L. Orlovich, and F. Werner, Hamiltonian properties of triangular grid graphs, Discrete Mathematics 308 (24) (2008) 6166- 6188.
- K. Hamada, A picturesque maze generation algorithm with any given endpoints, Journal of Information Processing 21 (3) (2013) 393-397.
- C. Icking, T. Kamphans, R. Klein, and E. Langetepe, Exploring simple grid polygons, in: Proceedings of 11th Annual International Comput- ing and Combinatorics Conference, COCOON, 2005, pp. 524-533.
- K. Islam, H. Meijer, Y.N. Rodriguez, D. Rappaport, and H. Xiao, Hamiltonian circuts in hexagonal grid graphs, in: Proceedings of 19th Canadian Conference of Computational Geometry, CCCG'97, 2007, pp. 85-88.
- A. Itai, C.H. Papadimitriou, and J.L. Szwarcfiter, Hamiltonian paths in grid graphs, SIAM Journal on Computing 11 (4) (1982) 676-686.
- F. Keshavarz-Kohjerdi and A. Bagheri, Hamiltonian paths in some classes of grid graphs, Journal of Applied Mathematics (2012) 475087.
- F. Keshavarz-Kohjerdi, A. Bagheri, and A. Asgharian-Sardroud, A linear-time algorithm for the longest path problem in rectangular grid graphs, Discrete Applied Mathematics 160 (3) (2012) 210-217.
- F. Keshavarz-Kohjerdi and A. Bagheri, A parallel algorithm for the longest path problem in rectangular grid graphs, The Journal of Super- computing 65 (2013) 723-741.
- F. Keshavarz-Kohjerdi and A. Bagheri, Hamiltonian paths in L-shaped grid graphs, Theoretical Computer Science 621 (2016) 37-56.
- W. Lenhart and C. Umans, Hamiltonian cycles in solid grid graphs, in: Proceedings of 38th Annual Symposium on Foundations of Computer Science, FOCS '97, 1997, pp. 496-505.
- M.S. Rahman and M. Kaykobad, On Hamiltonian cycles and Hamiltonian paths, Information Processing Letters 94 (1) (2005) 37-41.
- A.N.M. Salman, H.J. Broersma, and E.T. Baskoro, Spanning 2-connected subgraphs in alphabet graphs, special classes of grid graphs, Journal of Automata, Languages and Combinatorics 8 (4) (2003) 675 -681.
- A.S.R. Srinivasa Rao, F. Tomleyc, and D. Blakec, Understanding chicken walks on n × n grid: Hamiltonian paths, discrete dynamics, and rectifiable paths, Mathematical Methods in the Applied Sciences 38 (15) (2015) 3346-3358.
- C. Zamfirescu and T. Zamfirescu, Hamiltonian properties of grid graphs, SIAM Journal Discrete Mathematics 5 (4) (1992) 564-570.
- W.Q. Zhang and Y.J. Liu, Approximating the longest paths in grid graphs, Theoretical Computer Science 412 (39) (2011) 5340-5350.