International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 176 - Number 12 |
Year of Publication: 2020 |
Authors: Mohammad Alhashmi, Abdulaziz Alroomi |
10.5120/ijca2020920044 |
Mohammad Alhashmi, Abdulaziz Alroomi . Graph Isomorphism Algorithm using Pieces Patching Puzzle Technique (ppp - Technique). International Journal of Computer Applications. 176, 12 ( Apr 2020), 1-7. DOI=10.5120/ijca2020920044
This paper proposes a novel technique for a polynomial time algorithm to detect an existence of isomorphism between two unlabeled graphs that is fast and accurate for the mass majority of large random graphs. This technique, namely ppp-Technique, is based on cutting the first graph into large sub-graphs to mimic the pieces ( or patches ) of a puzzle that have to be patched to their correct places (or matches ) on the second graph. It is a difficult process to draw the borders of each patch for best results. In other words, deciding the sizes of the patches is an optimization problem. Clearly, the larger these patches are, the faster the algorithm can decide whether an isomorphism exists. The greedy concept has been applied in the process of creating patches which led to high efficiency. The time complexity of the proposed algorithm is O(n3 log n) . Examples that clarify the process of constructing the patches from one graph and matching them to the places in the other one are shown. The algorithm is tested with many graphs with different sizes of nodes and different densities of connecting edges which gave complete accurate results.