The Number of Fixed Length Cycles in Undirected Graph Explicit Formula in Case of Small Lengths
- Authors: Voropaev AN1, Perepechko SN1
-
Affiliations:
- Petrozavodsk State University
- Issue: No 2 (2012)
- Pages: 6-12
- Section: Articles
- URL: https://journals.rudn.ru/miph/article/view/8653
Cite item
Full Text
Abstract
Modifications of Ross and Harary algorithm to express the number ck of cycles of length k in an undirected graph in terms of its adjacency matrix are developed. The general undirected graphs as well as bipartite graphs were considered. Computer algebra implementations of the algorithms enable us to construct the formulae at least for k ≤ 12 in general case and for k ≤ 14 in case of bipartite graph. It was shown that, for any fixed value of k ≥ 8 and space complexity quadratic in order n of a graph, the time complexity of computing ck is O(n[k/2] logn). In case of bipartite graph, for k = 8,10,14 better estimations are obtained: O(n3 log2n), O(n4 log2n), O(n6 log2n).
Keywords
About the authors
A N Voropaev
Petrozavodsk State University
Email: antonvoropaev@mail.ru
Кафедра прикладной математики и кибернетики; Петрозаводский государственный университет; Petrozavodsk State University
S N Perepechko
Petrozavodsk State University
Email: persn@newmail.ru
Кафедра прикладной математики и кибернетики; Петрозаводский государственный университет; Petrozavodsk State University