Enumerating Graphlets with Amortized Time Complexity Independent of Graph Size
Abstract
Graphlets of order in a graph are connected subgraphs induced by nodes (called -graphlets) or by edges (called edge -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 cost per solution of such algorithms typically depends on the size of the graph , or its maximum degree. In real networks, even the latter can be in the order of millions, whereas is typically required to be a small value. In this paper we provide the first algorithm to list all graphlets of order in a graph with an amortized cost per solution depending \emph{solely} on the order , contrarily to previous approaches where the cost depends \emph{also} on the size of or its maximum degree. Specifically, we show that it is possible to list -graphlets in time per solution, and to list edge -graphlets in time per solution. Furthermore we show that, if the input graph has bounded degree, then the cost per solution for listing -graphlets is reduced to . Whenever , as it is often the case in practical settings, these algorithms are the first to achieve constant time per solution.
Cite
@article{arxiv.2405.13613,
title = {Enumerating Graphlets with Amortized Time Complexity Independent of Graph Size},
author = {Alessio Conte and Roberto Grossi and Yasuaki Kobayashi and Kazuhiro Kurita and Davide Rucci and Takeaki Uno and Kunihiro Wasa},
journal= {arXiv preprint arXiv:2405.13613},
year = {2025}
}
Comments
This is the accepted version of the paper at Algorithmica (2025), after peer review