Enumerating Graphlets with Amortized Time Complexity Independent of Graph Size
Open Access
- 13 May 2025
- journal article
- research article
- Published by Springer Nature in Algorithmica
- Vol. 87 (9) , 1247-1273
Abstract
Graphlets of order k in a graph G are connected subgraphs induced by k nodes (called k-graphlets) or by k edges (called edge k-graphlets). They are among the interesting subgraphs in network analysis to get insights on both the local and global structure of a network. While several algorithms exist for discovering and enumerating graphlets, the amortized time complexity of such algorithms typically depends on the size of the graph G, or its maximum degree. In real networks, even the latter can be in the order of millions, whereas k is typically required to be a small value. In this paper we provide the first algorithm to list all graphlets of order k in a graph $$G=(V,E)$$ with an amortized time complexity depending solely on the order k, contrarily to previous approaches where the cost depends also on the size of G or its maximum degree. Specifically, we show that it is possible to list k-graphlets in $$O(k^2)$$ time per solution, and to list edge k-graphlets in O(k) time per solution. Furthermore we show that, if the input graph has bounded degree, then the amortized time for listing k-graphlets is reduced to O(k). Whenever $$k = O(1)$$ , as it is often the case in practical settings, these algorithms are the first to achieve constant time per solution.
Keywords
All Related Versions
Funding Information
- Ministero dell'Università e della Ricerca (2022TS4Y3N, 2022TS4Y3N, 2022TS4Y3N)
- ISTI - PISA
This publication has 41 references indexed in Scilit:
- CAGE: Cache-Aware Graphlet Enumeration2023
- Finding Dominant Nodes Using Graphlets2019
- An Efficient Algorithm for Enumerating Induced Subgraphs with Bounded Degeneracy2018
- Efficient Enumeration of Bipartite Subgraphs in Graphs2018
- Subtrees of graphsJournal of Graph Theory, 2018
- Constant Time Enumeration by Amortization2015
- Constant Time Enumeration of Bounded-Size Subtrees in Trees and Its Application2012
- A Faster Algorithm for Detecting Network Motifs2005
- Bounds on Backtrack Algorithms for Listing Cycles, Paths, and Spanning TreesNetworks, 1975
- Some properties of line digraphsRendiconti del Circolo Matematico di Palermo Series 2, 1960