2019
DOI: 10.1007/s00453-019-00552-1
|View full text |Cite
|
Sign up to set email alerts
|

A General Purpose Algorithm for Counting Simple Cycles and Simple Paths of Any Length

Abstract: We describe a general purpose algorithm for counting simple cycles and simple paths of any length on a (weighted di)graph on N vertices and M edges, achieving a time complexity of O N + M + ω + ∆ |S | . In this expression, |S | is the number of (weakly) connected induced subgraphs of G on at most vertices, ∆ is the maximum degree of any vertex and ω is the exponent of matrix multiplication. We compare the algorithm complexity both theoretically and experimentally with most of the existing algorithms for the sa… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

2
21
0

Year Published

2022
2022
2024
2024

Publication Types

Select...
7

Relationship

2
5

Authors

Journals

citations
Cited by 20 publications
(23 citation statements)
references
References 39 publications
2
21
0
Order By: Relevance
“…5 For a more detailed analysis of the algorithmic implementation of Eq. (2.1) together with comparison with other algorithms for the same task, see [38]. 2.5 × 10 11 for the total number of simple cycles, which we verify analytically to be exact.…”
Section: Core Combinatorial Resultssupporting
confidence: 52%
“…5 For a more detailed analysis of the algorithmic implementation of Eq. (2.1) together with comparison with other algorithms for the same task, see [38]. 2.5 × 10 11 for the total number of simple cycles, which we verify analytically to be exact.…”
Section: Core Combinatorial Resultssupporting
confidence: 52%
“…While this study provided an overview of the state-of-the-art of the numerical computations on signed graphs and the vast range of applications to which it can be applied, it is by no means an exhaustive survey on the applications of the frustration index. From a computational perspective, this and some other recent studies [40,39] call for more advanced computational models that put larger networks within the reach of exact analysis. As another future research direction, one may consider formulating edge-based measures of stability for directed signed networks based on theories involving directionality and signed ties [61,87].…”
Section: Resultsmentioning
confidence: 98%
“…if the graph is sparse. More precisely, it has been shown in [15], that an algorithm based on the formulas of Theorem 1 for counting simple cycles and paths of length up to ℓ achieves an asymptotic running time of O N + M + ℓ ω + ℓ∆ |S ℓ | and uses O(N + M ) space. In this expression, N is the number of vertices of the graph, M is the number of edges, |S ℓ | is the number of (weakly) connected induced subgraphs of G on at most ℓ vertices, ∆ is the maximum degree of any vertex and ω is the exponent of matrix multiplication.…”
Section: Theorem 1 the Matrix Generating Series Of Open And Closed Simentioning
confidence: 99%
“…In this expression, N is the number of vertices of the graph, M is the number of edges, |S ℓ | is the number of (weakly) connected induced subgraphs of G on at most ℓ vertices, ∆ is the maximum degree of any vertex and ω is the exponent of matrix multiplication. Extensive comparisons with all existing techniques for counting simple cycles and paths [15], show that the formulas of Theorem 1 yield the best general purpose algorithm for this task whenever (ℓ ω−1 ∆ −1 + 1)|S ℓ | ≤ |Cycle ℓ |, with |Cycle ℓ | the total number of simple cycles of length at most ℓ, including backtracks and self-loops [15]. When this condition is not met the best general purpose algorithm is brute force search.…”
Section: Theorem 1 the Matrix Generating Series Of Open And Closed Simentioning
confidence: 99%
See 1 more Smart Citation