The Hamiltonian Path Graph is Connected for Simple s,ts,t Paths in Rectangular Grid Graphs

preprint2022arXivOpen access

Abstract

A \emph{simple} s,ts,t path PP in a rectangular grid graph G\mathbb{G} is a Hamiltonian path from the top-left corner ss to the bottom-right corner tt such that each \emph{internal} subpath of PP with both endpoints aa and bb on the boundary of G\mathbb{G} has the minimum number of bends needed to travel from aa to bb (i.e., 00, 11, or 22 bends, depending on whether aa and bb are on opposite, adjacent, or the same side of the bounding rectangle). Here, we show that PP can be reconfigured to any other simple s,ts,t path of G\mathbb{G} by \emph{switching 2×22\times 2 squares}, where at most 5∣G∣/4{5}|\mathbb{G}|/{4} such operations are required. Furthermore, each \emph{square-switch} is done in O(1)O(1) time and keeps the resulting path in the same family of simple s,ts,t paths. Our reconfiguration result proves that the \emph{Hamiltonian path graph} G\cal{G} for simple s,ts,t paths is connected and has diameter at most 5∣G∣/4{5}|\mathbb{G}|/{4} which is asymptotically tight.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.