Skip to main content
Erschienen in: The Journal of Supercomputing 9/2017

24.02.2017

A linear-time algorithm for finding Hamiltonian (st)-paths in odd-sized rectangular grid graphs with a rectangular hole

verfasst von: Fatemeh Keshavarz-Kohjerdi, Alireza Bagheri

Erschienen in: The Journal of Supercomputing | Ausgabe 9/2017

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

A grid graph \(G_{\mathrm{g}}\) is a finite vertex-induced subgraph of the two-dimensional integer grid \(G^\infty \). A rectangular grid graph R(mn) is a grid graph with horizontal size m and vertical size n. A rectangular grid graph with a rectangular hole is a rectangular grid graph R(mn) such that a rectangular grid subgraph R(kl) is removed from it. The Hamiltonian path problem for general grid graphs is NP-complete. In this paper, we give necessary conditions for the existence of a Hamiltonian path between two given vertices in an odd-sized rectangular grid graph with a rectangular hole. In addition, we show that how such paths can be computed in linear time.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Abdullah M, Abuelrub E, Mahafzah B (2011) The chained-cubic tree interconnection network. Int Arab J Inf Technol 8(3):334–343 Abdullah M, Abuelrub E, Mahafzah B (2011) The chained-cubic tree interconnection network. Int Arab J Inf Technol 8(3):334–343
3.
Zurück zum Zitat Arikati SR, Rangan CP (1990) Linear algorithm for optimal path cover problem on interval graphs. Inf Process Lett 35:149–153MathSciNetCrossRefMATH Arikati SR, Rangan CP (1990) Linear algorithm for optimal path cover problem on interval graphs. Inf Process Lett 35:149–153MathSciNetCrossRefMATH
4.
Zurück zum Zitat Bhandarkar SM, Arabnia HR (1997) Parallel computer vision on a reconfigurable multiprocessor network. IEEE Trans Parallel Distrib Syst 8(3):292–309CrossRef Bhandarkar SM, Arabnia HR (1997) Parallel computer vision on a reconfigurable multiprocessor network. IEEE Trans Parallel Distrib Syst 8(3):292–309CrossRef
6.
Zurück zum Zitat Chen SD, Shen H, Topor R (2002) An efficient algorithm for constructing Hamiltonian paths in meshes. Parallel Comput 28(9):1293–1305MathSciNetCrossRefMATH Chen SD, Shen H, Topor R (2002) An efficient algorithm for constructing Hamiltonian paths in meshes. Parallel Comput 28(9):1293–1305MathSciNetCrossRefMATH
7.
Zurück zum Zitat Chen YC, Huang YZ, Hsu LH, Tan JJM (2010) A family of Hamiltonian and Hamiltonian connected graphs with fault tolerance. J Supercomput 54:229–238CrossRef Chen YC, Huang YZ, Hsu LH, Tan JJM (2010) A family of Hamiltonian and Hamiltonian connected graphs with fault tolerance. J Supercomput 54:229–238CrossRef
8.
Zurück zum Zitat Damasachke P (1989) The Hamiltonian circuit problem for circle graphs is NP-complete. Inf Process Lett 32:1–2MathSciNetCrossRef Damasachke P (1989) The Hamiltonian circuit problem for circle graphs is NP-complete. Inf Process Lett 32:1–2MathSciNetCrossRef
9.
Zurück zum Zitat Damaschke P, Deogun JS, Kratsch D, Steiner G (1991) Finding Hamiltonian paths in cocomparability graphs using the bump number algorithm. Order 8(4):383–391MathSciNetCrossRefMATH Damaschke P, Deogun JS, Kratsch D, Steiner G (1991) Finding Hamiltonian paths in cocomparability graphs using the bump number algorithm. Order 8(4):383–391MathSciNetCrossRefMATH
10.
Zurück zum Zitat Du L (2010) A polynomial time algorithm for Hamiltonian cycle (path). In: Proceedings of the International MultiConference of Engineers and Computer Scientists, IMECS I. pp 17–19 Du L (2010) A polynomial time algorithm for Hamiltonian cycle (path). In: Proceedings of the International MultiConference of Engineers and Computer Scientists, IMECS I. pp 17–19
11.
Zurück zum Zitat Felsner S, Liotta G, Wismath S (2003) Straight-line drawings on restricted integer grids in two and three dimensions. J Graph Algorithms Appl 7(4):363–398MathSciNetCrossRefMATH Felsner S, Liotta G, Wismath S (2003) Straight-line drawings on restricted integer grids in two and three dimensions. J Graph Algorithms Appl 7(4):363–398MathSciNetCrossRefMATH
13.
Zurück zum Zitat Garey MR, Johnson DS (1979) Computers and intractability: a guide to the theory of NP-completeness. Freeman, San FranciscoMATH Garey MR, Johnson DS (1979) Computers and intractability: a guide to the theory of NP-completeness. Freeman, San FranciscoMATH
14.
15.
Zurück zum Zitat Gorbenko A, Popov V, Sheka A (2012) Localization on discrete grid graphs. In: He X, Hua E, Lin Y, Liu X (eds) Computer, informatics, cybernetics and applications, lecture notes in electrical engineering. pp 971–978 Gorbenko A, Popov V, Sheka A (2012) Localization on discrete grid graphs. In: He X, Hua E, Lin Y, Liu X (eds) Computer, informatics, cybernetics and applications, lecture notes in electrical engineering. pp 971–978
17.
18.
Zurück zum Zitat Hamada K (2013) A picturesque maze generation algorithm with any given endpoints. J Inf Process 21(3):393–397 Hamada K (2013) A picturesque maze generation algorithm with any given endpoints. J Inf Process 21(3):393–397
19.
Zurück zum Zitat Hsieh SY, Kuo CN (2007) Hamiltonian-connectivity and strongly Hamiltonian-laceability of folded hypercubes. Comput Math Appl 53:1040–1044MathSciNetCrossRefMATH Hsieh SY, Kuo CN (2007) Hamiltonian-connectivity and strongly Hamiltonian-laceability of folded hypercubes. Comput Math Appl 53:1040–1044MathSciNetCrossRefMATH
21.
Zurück zum Zitat Hung RW (2012) Constructing two edge-disjoint Hamiltonian cycles and two-equal path cover in augmented cubes. IAENG Int J Comput Sci 39(1):42–49 Hung RW (2012) Constructing two edge-disjoint Hamiltonian cycles and two-equal path cover in augmented cubes. IAENG Int J Comput Sci 39(1):42–49
22.
Zurück zum Zitat Icking C, Kamphans T, Klein R, Langetepe E (2005) Exploring simple grid polygons. In: Proceedings of 11th Annual International Computing and Combinatorics Conference, COCOON. pp 524–533 Icking C, Kamphans T, Klein R, Langetepe E (2005) Exploring simple grid polygons. In: Proceedings of 11th Annual International Computing and Combinatorics Conference, COCOON. pp 524–533
23.
Zurück zum Zitat Islam K, Meijer H, Rodriguez YN, Rappaport D, Xiao H (2007) Hamiltonian circuits in hexagonal grid graphs. In: Proceedings of 19th Canadian Conference of Computational Geometry, CCCG’97. pp 85–88 Islam K, Meijer H, Rodriguez YN, Rappaport D, Xiao H (2007) Hamiltonian circuits in hexagonal grid graphs. In: Proceedings of 19th Canadian Conference of Computational Geometry, CCCG’97. pp 85–88
26.
Zurück zum Zitat Keshavarz-Kohjerdi F, Bagheri A, Asgharian-Sardroud A (2012) A linear-time algorithm for the longest path problem in rectangular grid graphs. Discrete Appl Math 160(3):210–217MathSciNetCrossRefMATH Keshavarz-Kohjerdi F, Bagheri A, Asgharian-Sardroud A (2012) A linear-time algorithm for the longest path problem in rectangular grid graphs. Discrete Appl Math 160(3):210–217MathSciNetCrossRefMATH
27.
Zurück zum Zitat Keshavarz-Kohjerdi F, Bagheri A (2013) A parallel algorithm for the longest path problem in rectangular grid graphs. J Supercomput 65:723–741CrossRef Keshavarz-Kohjerdi F, Bagheri A (2013) A parallel algorithm for the longest path problem in rectangular grid graphs. J Supercomput 65:723–741CrossRef
28.
30.
Zurück zum Zitat Lenhart W, Umans C (1997) Hamiltonian cycles in solid grid graphs. In: Proceedings of 38th Annual Symposium on Foundations of Computer Science, FOCS ’97. pp 496–505 Lenhart W, Umans C (1997) Hamiltonian cycles in solid grid graphs. In: Proceedings of 38th Annual Symposium on Foundations of Computer Science, FOCS ’97. pp 496–505
31.
Zurück zum Zitat Li Y, Peng S, Chu W (2009) Hamiltonian connectedness of recursive dual-net. In: Proceedings of the 9th IEEE International Conference on Computer and Information Technology, CIT09, vol 1. pp 203–208 Li Y, Peng S, Chu W (2009) Hamiltonian connectedness of recursive dual-net. In: Proceedings of the 9th IEEE International Conference on Computer and Information Technology, CIT09, vol 1. pp 203–208
32.
Zurück zum Zitat Luccio F, Mugnia C (1978) Hamiltonian paths on a rectangular chessboard. In: Proceedings of 16th Annual Allerton Conference, pp 161–173 Luccio F, Mugnia C (1978) Hamiltonian paths on a rectangular chessboard. In: Proceedings of 16th Annual Allerton Conference, pp 161–173
34.
36.
Zurück zum Zitat Ray SS (2013) Graph theory with algorithms and applications: in applied science and technology. Springer, BerlinMATH Ray SS (2013) Graph theory with algorithms and applications: in applied science and technology. Springer, BerlinMATH
37.
Zurück zum Zitat Salman ANM, Broersma HJ, Baskoro ET (2003) Spanning 2-connected subgraphs in alphabet graphs, special classes of grid graphs. J Autom Lang Comb 8(4):675–681MathSciNetMATH Salman ANM, Broersma HJ, Baskoro ET (2003) Spanning 2-connected subgraphs in alphabet graphs, special classes of grid graphs. J Autom Lang Comb 8(4):675–681MathSciNetMATH
38.
Zurück zum Zitat Srinivasa Rao ASR, Tomleyc F, Blakec D (2015) Understanding chicken walks on \(n \times n\) grid: Hamiltonian paths, discrete dynamics, and rectifiable paths. Math Methods Appl Sci 38(15):3346–3358MathSciNetCrossRefMATH Srinivasa Rao ASR, Tomleyc F, Blakec D (2015) Understanding chicken walks on \(n \times n\) grid: Hamiltonian paths, discrete dynamics, and rectifiable paths. Math Methods Appl Sci 38(15):3346–3358MathSciNetCrossRefMATH
Metadaten
Titel
A linear-time algorithm for finding Hamiltonian (s, t)-paths in odd-sized rectangular grid graphs with a rectangular hole
verfasst von
Fatemeh Keshavarz-Kohjerdi
Alireza Bagheri
Publikationsdatum
24.02.2017
Verlag
Springer US
Erschienen in
The Journal of Supercomputing / Ausgabe 9/2017
Print ISSN: 0920-8542
Elektronische ISSN: 1573-0484
DOI
https://doi.org/10.1007/s11227-017-1984-z

Weitere Artikel der Ausgabe 9/2017

The Journal of Supercomputing 9/2017 Zur Ausgabe