Efficient Algorithms for Subgraph Listing
Abstract
:1. Introduction
Other Related Work
2. Preliminaries
3. A Lower Bound on Listing
Algorithm 1 A combined algorithm for listing of triangles |
Require: A is the adjacency matrix for a graph with n nodes
|
4. A Combined Algorithm for Listing of Triangles
- , if
- , if
- , if .
4.1. Correctness
4.2. Time Complexity
- , if
- , if
- , if
4.3. Listing Subgraphs Isomorphic to an Arbitrary Pattern Graph
- (1)
- and are node-disjoint and the isomorphisms are defined on two distinct parts of H, and , and
- (2)
- the union of the isomorphisms yields an isomorphism between the subgraph of H induced by the nodes of and , and the subgraph of G consisting of and , and some edges of G between and .
- , if
- , if
- , if .
5. Final Remarks
Acknowledgments
Author Contributions
Conflicts of Interest
References
- Garey, M.R.; Johnson, D.S. Computers and Intractability—A Guide to the Theory of NP-Completeness; Bell Laboratories: Murray Hill, NJ, USA, 1979. [Google Scholar]
- Chiba, N.; Nishizeki, T. Arboricity and subgraph listing algorithms. SIAM J. Comput. 1985, 14, 210–223. [Google Scholar] [CrossRef]
- Itai, A.; Rodeh, M. Finding a minimum circuit in a graph. SIAM J. Comput. 1978, 7, 413–423. [Google Scholar] [CrossRef]
- Gibbons, A. Algorithmic Graph Theory; Cambridge University Press: Cambridge, UK, 1985. [Google Scholar]
- Gąsieniec, L.; Kowaluk, M.; Lingas, A. Faster multi-witnesses for Boolean matrix multiplication. Inf. Process. Lett. 2009, 109, 242–247. [Google Scholar] [CrossRef]
- Nes̆etr̆il, J.; Poljak, S. On the complexity of the subgraph problem. Comment. Math. Univ. Carol. 1985, 26, 415–419. [Google Scholar]
- Schank, T.; Wagner, D. Finding, counting and listing all triangles in large graphs, an experimental study. In Proceedings of the 4th International Workshop, WEA 2005, Santorini Island, Greece, 10–13 May 2005; pp. 606–609.
- Vassilevska Williams, V. Multiplying matrices faster than coppersmith-winograd. In Proceedings of the 44th Symposium on Theory of Computing Conference (STOC 2012), New York, NY, USA, 19–22 May 2012; pp. 887–898.
- Coppersmith, D.; Winograd, S. Matrix multiplication via arithmetic progressions. J. Symb. Comput. 1990, 9, 251–280. [Google Scholar] [CrossRef]
- Cormen, T.; Leiserson, C.; Rivest, R. Introduction to Algorithms; MIT Press: Cambridge, MA, USA, 1990. [Google Scholar]
- Dvorak, Z.; Tuma, V. A dynamic data structure for counting subgraphs in sparse graphs. In Proceedings of the 13th International Symposium, WADS 2013, London, ON, Canada, 12–14 August 2013; Lecture Notes in Computer Science. Springer: Berlin, Heidelberg, Germany, 2013; pp. 304–315. [Google Scholar]
- Kuramochi, M.; Karypis, G. Finding frequent patterns in a large sparse graph. Data Min. Knowl. Discov. 2005, 11, 243–271. [Google Scholar] [CrossRef]
- Le Gall, F. Faster algorithms for rectangular matrix multiplication. In Proceedings of the 53rd Annual IEEE Symposium on Foundations of Computer Science (FOCS 2012), New Brunswick, NJ, USA, 20–23 October 2012; pp. 514–523.
© 2014 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).
Share and Cite
Zechner, N.; Lingas, A. Efficient Algorithms for Subgraph Listing. Algorithms 2014, 7, 243-252. https://doi.org/10.3390/a7020243
Zechner N, Lingas A. Efficient Algorithms for Subgraph Listing. Algorithms. 2014; 7(2):243-252. https://doi.org/10.3390/a7020243
Chicago/Turabian StyleZechner, Niklas, and Andrzej Lingas. 2014. "Efficient Algorithms for Subgraph Listing" Algorithms 7, no. 2: 243-252. https://doi.org/10.3390/a7020243
APA StyleZechner, N., & Lingas, A. (2014). Efficient Algorithms for Subgraph Listing. Algorithms, 7(2), 243-252. https://doi.org/10.3390/a7020243