New Algorithms for Enumerating All Maximal Cliques

  • Kazuhisa Makino
  • Takeaki Uno
Conference paper

DOI: 10.1007/978-3-540-27810-8_23

Part of the Lecture Notes in Computer Science book series (LNCS, volume 3111)
Cite this paper as:
Makino K., Uno T. (2004) New Algorithms for Enumerating All Maximal Cliques. In: Hagerup T., Katajainen J. (eds) Algorithm Theory - SWAT 2004. SWAT 2004. Lecture Notes in Computer Science, vol 3111. Springer, Berlin, Heidelberg

Abstract

In this paper, we consider the problems of generating all maximal (bipartite) cliques in a given (bipartite) graph G=(V,E) with n vertices and m edges. We propose two algorithms for enumerating all maximal cliques. One runs with O(M(n)) time delay and in O(n2) space and the other runs with O(Δ4) time delay and in O(n+m) space, where Δ denotes the maximum degree of G, M(n) denotes the time needed to multiply two n × n matrices, and the latter one requires O(nm) time as a preprocessing.

For a given bipartite graph G, we propose three algorithms for enumerating all maximal bipartite cliques. The first algorithm runs with O(M(n)) time delay and in O(n2) space, which immediately follows from the algorithm for the non-bipartite case. The second one runs with O(Δ3) time delay and in O(n+m) space, and the last one runs with O(Δ2) time delay and in O(n+m+NΔ) space, where N denotes the number of all maximal bipartite cliques in G and both algorithms require O(nm) time as a preprocessing.

Our algorithms improve upon all the existing algorithms, when G is either dense or sparse. Furthermore, computational experiments show that our algorithms for sparse graphs have significantly good performance for graphs which are generated randomly and appear in real-world problems.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2004

Authors and Affiliations

  • Kazuhisa Makino
    • 1
  • Takeaki Uno
    • 2
  1. 1.Division of Mathematical Science for Social Systems, Graduate School of Engineering ScienceOsaka UniversityToyonaka, OsakaJapan
  2. 2.National Institute or InformaticsTokyoJapan

Personalised recommendations