An algorithm for finding a similar subgraph of all Hamiltonian cycles
R Wafdan, Mahyus Ihsan, D Suhaimi
Abstract
Open-access reader
R Wafdan, Mahyus Ihsan, D Suhaimi
Abstract
Open-access reader
This paper discusses an algorithm to find a similar subgraph called findSimSubG algorithm. A similar subgraph is a subgraph with a maximum number of edges, contains no isolated vertex and is contained in every Hamiltonian cycle of a Hamiltonian Graph. The algorithm runs only on Hamiltonian graphs with at least two Hamiltonian cycles. The algorithm works by examining whether the initial subgraph of the first Hamiltonian cycle is a subgraph of comparison graphs. If the initial subgraph is not in comparison graphs, the algorithm will remove edges and vertices of the initial subgraph that are not in comparison graphs. There are two main processes in the algorithm, changing Hamiltonian cycle into a cycle graph and removing edges and vertices of the initial subgraph that are not in comparison graphs. The findSimSubG algorithm can find the similar subgraph without using backtracking method. The similar subgraph cannot be found on certain graphs, such as an n -antiprism graph, complete bipartite graph, complete graph, 2 n -crossed prism graph, n -crown graph, n -möbius ladder, prism graph, and wheel graph. The complexity of this algorithm is O ( m | V |), where m is the number of Hamiltonian cycles and | V | is the number of vertices of a Hamiltonian graph.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
This paper discusses an algorithm to find a similar subgraph called findSimSubG algorithm. A similar subgraph is a subgraph with a maximum number of edges, contains no isolated vertex and is contained in every Hamiltonian cycle of a Hamiltonian Graph. The algorithm runs only on Hamiltonian graphs with at least two Hamiltonian cycles. The algorithm works by examining whether the initial subgraph of the first Hamiltonian cycle is a subgraph of comparison graphs. If the initial subgraph is not in comparison graphs, the algorithm will remove edges and vertices of the initial subgraph that are not in comparison graphs. There are two main processes in the algorithm, changing Hamiltonian cycle into a cycle graph and removing edges and vertices of the initial subgraph that are not in comparison graphs. The findSimSubG algorithm can find the similar subgraph without using backtracking method. The similar subgraph cannot be found on certain graphs, such as an n -antiprism graph, complete bipartite graph, complete graph, 2 n -crossed prism graph, n -crown graph, n -möbius ladder, prism graph, and wheel graph. The complexity of this algorithm is O ( m | V |), where m is the number of Hamiltonian cycles and | V | is the number of vertices of a Hamiltonian graph.
Key concepts: Induced subgraph isomorphism problem, Subgraph isomorphism problem, Factor-critical graph, Combinatorics, Mathematics, Induced subgraph, Distance-hereditary graph, Graph factorization