Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4951959 | Theoretical Computer Science | 2017 | 33 Pages |
Abstract
The Hamiltonian path problem for general grid graphs is NP-complete. In this paper, we give the necessary conditions for the existence of a Hamiltonian path between two given vertices in a rectangular grid graph with a rectangular hole; where the size of graph is even. In addition, we show that the Hamiltonian path in these graphs can be computed in linear-time.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Fatemeh Keshavarz-Kohjerdi, Alireza Bagheri,