Fast Algorithm for Graph Isomorphism Testing

  • Authors:
  • José Luis López-Presa;Antonio Fernández Anta

  • Affiliations:
  • DIATEL, Universidad Politécnica de Madrid, Madrid, Spain 28031;LADyR, GSyC, Universidad Rey Juan Carlos, Móstoles, Spain 28933

  • Venue:
  • SEA '09 Proceedings of the 8th International Symposium on Experimental Algorithms
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we present a novel approach to the graph isomorphism problem. We combine a direct approach, that tries to find a mapping between the two input graphs using backtracking, with a (possibly partial) automorphism precomputing that allows to prune the search tree. We propose an algorithm, conauto , that has a space complexity of O (n 2 logn ) bits. It runs in time O (n 5) with high probability if either one of the input graphs is a G (n ,p ) random graph, for p *** [*** (ln 4 n / n ln ln n ), 1 *** *** (ln 4 n / n ln ln n )]. We compare the practical performance of conauto with other popular algorithms, with an extensive collection of problem instances. Our algorithm behaves consistently for directed, undirected, positive, and negative cases. Additionally, when it is slower than any of the other algorithms, it is only by a small factor.