The hamiltonian path graph is connected for simple s, t paths in rectangular grid graphs

Rahnuma Islam Nishat,Venkatesh Srinivasan,Sue Whitesides
DOI: https://doi.org/10.1007/s10878-024-01207-w
2024-10-21
Journal of Combinatorial Optimization
Abstract:An s ,  t Hamiltonian path P for an rectangular grid graph is a Hamiltonian path from the top-left corner s to the bottom-right corner t . We define an operation "square-switch" on s ,  t Hamiltonian paths P affecting only those edges of P that lie in some small (2 units by 2 units) square subgrid of . We prove that when applied to suitable locations, the result of the square-switch is another s ,  t Hamiltonian path. Then we use square-switch to achieve a reconfiguration result for a subfamily of s ,  t Hamiltonian paths we call simple paths , that has the minimum number of bends for each maximal internal subpath connecting any two vertices on the boundary of the grid graph. We give an algorithmic proof that the Hamiltonian path graph whose vertices represent simple paths is connected when edges arise from the square-switch operation: our algorithm reconfigures any given initial simple path P to any given target simple path in ( ) time and ( ) space using at most square-switches, where is the number of vertices in the grid graph and hence in any Hamiltonian path P for . Thus the diameter of the simple path graph is at most 5 mn / 4 for the square-switch operation, which we show is asymptotically tight for this operation.
mathematics, applied,computer science, interdisciplinary applications
What problem does this paper attempt to address?