The Longest $(s, t)$-paths of $O$-shaped Supergrid Graphs
Abstract
In this paper, we continue the study of the Hamiltonian and longest -paths of supergrid graphs. The Hamiltonian -path of a graph is a Hamiltonian path between any two given vertices and in the graph, and the longest -path is a simple path with the maximum number of vertices from to in the graph. A graph holds Hamiltonian connected property if it contains a Hamiltonian -path. These two problems are well-known NP-complete for general supergrid graphs. An -shaped supergrid graph is a special kind of a rectangular grid graph with a rectangular hole. In this paper, we first prove the Hamiltonian connectivity of -shaped supergrid graphs except few conditions. We then show that the longest -path of an -shaped supergrid graph can be computed in linear time. The Hamiltonian and longest -paths of -shaped supergrid graphs can be applied to compute the minimum trace of computerized embroidery machine and 3D printer when a hollow object is printed.
Keywords
Cite
@article{arxiv.1911.08558,
title = {The Longest $(s, t)$-paths of $O$-shaped Supergrid Graphs},
author = {Ruo-Wei Hung and Fatemeh Keshavarz-Kohjerdi},
journal= {arXiv preprint arXiv:1911.08558},
year = {2019}
}
Comments
21 pages, 27 figures. arXiv admin note: substantial text overlap with arXiv:1908.07447, arXiv:1904.02581