scispace - formally typeset
Proceedings ArticleDOI

Finding Longest (s, t)-paths of O-shaped Supergrid Graphs in Linear Time

TLDR
A linear-time algorithm is proposed to find the longest (s, t)-path of O-shaped supergrid graphs, which can be used to compute the smallest stitching path of computerized embroidery machine and 3D printer when a hollow object is printed.
Abstract
The longest path and Hamiltonian problems were known to be NP-complete. In spite of many applications of these problems, their complexities are still unknown for many classes of graphs, including supergrid graphs with holes and solid supergrid graphs. In this paper, we will study the complexity of the longest (s, t)-path problem on O-shaped supergrid graphs. The longest (s, t)-path is a simple path from s to t with the largest number of visited vertices. An O-shaped supergrid graph is a rectangular supergrid graph with one rectangular hollow. We will propose a linear-time algorithm to find the longest (s, t)-path of O-shaped supergrid graphs. The longest (s, t)-paths of O-shaped supergrid graphs can be used to compute the smallest stitching path of computerized embroidery machine and 3D printer when a hollow object is printed.

read more

Citations
More filters
Journal ArticleDOI

The Longest (s, t)-Path Problem on O-Shaped Supergrid Graphs

TL;DR: In this paper , a linear-time algorithm was proposed to solve the longest (s,t)-path problem on O-shaped supergrid graphs with holes. But the complexity of solving the shortest path problem on these graphs is unknown.
Proceedings Article

The Hamiltonian Connectivity of Rectangular Supergrid Graphs

TL;DR: A constructive proof is provided to show that rectangular supergrid graphs are Hamiltonian connected except one trivial forbidden condition and a linear-time algorithm is presented to construct a longest path between any two given vertices in a rectangular super grid graph.
References
More filters
Book

Computers and Intractability: A Guide to the Theory of NP-Completeness

TL;DR: The second edition of a quarterly column as discussed by the authors provides a continuing update to the list of problems (NP-complete and harder) presented by M. R. Garey and myself in our book "Computers and Intractability: A Guide to the Theory of NP-Completeness,” W. H. Freeman & Co., San Francisco, 1979.
Book

Graph theory with applications

J. A. Bondy
TL;DR: In this paper, the authors present Graph Theory with Applications: Graph theory with applications, a collection of applications of graph theory in the field of Operational Research and Management. Journal of the Operational research Society: Vol. 28, Volume 28, issue 1, pp. 237-238.
Journal ArticleDOI

Hamilton Paths in Grid Graphs

TL;DR: This work gives necessary and sufficient conditions for the graph to have a Hamilton path between these two nodes, and provides a new, relatively simple, proof of the result that the Euclidean traveling salesman problem is NP-complete.
Related Papers (5)