Efficient Algorithm to Determine whether a given Graph is Hamiltonian or Not with All Possible Paths

Article ID

CSTSDELF1U3

Efficient Algorithm to Determine whether a given Graph is Hamiltonian or Not with All Possible Paths

Narendra Pratap Singh
Narendra Pratap Singh Gautam Buddh Technical University, Lucknow, India.
Ramu Agrawal
Ramu Agrawal
Indra Kumar Paliwal
Indra Kumar Paliwal
DOI

Abstract

Given a Graph G (V, E), We Consider the problem of deciding whether G is Hamiltonian, that is- whether or Not there is a simple cycle in E spanning all vertices in V. [1] However to Verify that the given cycle is Hamiltonian by checking whether it is permutation of the vertices of V and whether each of the consecutives edges along the cycle actually exists in the Graph. This Verification Algorithm can certainly be implemented to run in O (n2) time, where n is the length of the encoding of G [2]. But to predict in Advance that the Graph has Hamiltonian Cycle or not was still Exponential before this Algorithm. This Problem is known to be NPComplete hence cannot be solved in Polynomial time in |V| unless P=NP. However till today there was no known Criterion we can apply to determine the existence Hamiltonian Circuit in General [3]. For its Exponential time We can Refer to theorems: – Vertex Cover problem is polynomially transformable to the Hamiltonian circuit Problem for Directed graphs, hence the Hamiltonian Circuit problem for Directed Graph is NP-Complete and the Hamiltonian Circuit Problem for Directed Graph is Polynomialy transformable to Hamiltonian Cycle Problem for Undirected Graph, hence the Hamiltonian Cycle Problem for undirected Graph is NP-complete [4]. Note that these derivations are based on the CNF- Satisfiability. Through this Paper we have introduced a Newer Algorithm with different approach to determine whether a given Graph is Hamiltonian or Not with all possible Paths, by applying Few Mathematical and logical Operations. This provides necessary and sufficient condition for a graph to be Hamiltonian.

Efficient Algorithm to Determine whether a given Graph is Hamiltonian or Not with All Possible Paths

Given a Graph G (V, E), We Consider the problem of deciding whether G is Hamiltonian, that is- whether or Not there is a simple cycle in E spanning all vertices in V. [1] However to Verify that the given cycle is Hamiltonian by checking whether it is permutation of the vertices of V and whether each of the consecutives edges along the cycle actually exists in the Graph. This Verification Algorithm can certainly be implemented to run in O (n2) time, where n is the length of the encoding of G [2]. But to predict in Advance that the Graph has Hamiltonian Cycle or not was still Exponential before this Algorithm. This Problem is known to be NPComplete hence cannot be solved in Polynomial time in |V| unless P=NP. However till today there was no known Criterion we can apply to determine the existence Hamiltonian Circuit in General [3]. For its Exponential time We can Refer to theorems: – Vertex Cover problem is polynomially transformable to the Hamiltonian circuit Problem for Directed graphs, hence the Hamiltonian Circuit problem for Directed Graph is NP-Complete and the Hamiltonian Circuit Problem for Directed Graph is Polynomialy transformable to Hamiltonian Cycle Problem for Undirected Graph, hence the Hamiltonian Cycle Problem for undirected Graph is NP-complete [4]. Note that these derivations are based on the CNF- Satisfiability. Through this Paper we have introduced a Newer Algorithm with different approach to determine whether a given Graph is Hamiltonian or Not with all possible Paths, by applying Few Mathematical and logical Operations. This provides necessary and sufficient condition for a graph to be Hamiltonian.

Narendra Pratap Singh
Narendra Pratap Singh Gautam Buddh Technical University, Lucknow, India.
Ramu Agrawal
Ramu Agrawal
Indra Kumar Paliwal
Indra Kumar Paliwal

No Figures found in article.

Narendra Pratap Singh. 2012. “. Global Journal of Computer Science and Technology – C: Software & Data Engineering GJCST-C Volume 12 (GJCST Volume 12 Issue C14): .

Download Citation

Journal Specifications

Crossref Journal DOI 10.17406/gjcst

Print ISSN 0975-4350

e-ISSN 0975-4172

Issue Cover
GJCST Volume 12 Issue C14
Pg. 11- 17
Classification
Not Found
Article Matrices
Total Views: 10017
Total Downloads: 2588
2026 Trends
Research Identity (RIN)
Related Research
Our website is actively being updated, and changes may occur frequently. Please clear your browser cache if needed. For feedback or error reporting, please email [email protected]

Request Access

Please fill out the form below to request access to this research paper. Your request will be reviewed by the editorial or author team.
X

Quote and Order Details

Contact Person

Invoice Address

Notes or Comments

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

High-quality academic research articles on global topics and journals.

Efficient Algorithm to Determine whether a given Graph is Hamiltonian or Not with All Possible Paths

Narendra Pratap Singh
Narendra Pratap Singh Gautam Buddh Technical University, Lucknow, India.
Ramu Agrawal
Ramu Agrawal
Indra Kumar Paliwal
Indra Kumar Paliwal

Research Journals