Finding All Bounded-Length Simple Cycles in a Directed Graph

05/21/2021
by   Anshul Gupta, et al.
0

A new efficient algorithm is presented for finding all simple cycles that satisfy a length constraint in a directed graph. When the number of vertices is non-trivial, most cycle-finding problems are of practical interest for sparse graphs only. We show that for a class of sparse graphs in which the vertex degrees are almost uniform, our algorithm can find all cycles of length less than or equal to k in O((c+n)(k-1)d^k) steps, where n is the number of vertices, c is the total number of cycles discovered, d is the average degree of the graph's vertices, and k > 1. While our analysis for the running time addresses only a class of sparse graphs, we provide empirical and experimental evidence of the efficiency of the algorithm for general sparse graphs. This algorithm is a significant improvement over the only other deterministic algorithm for this problem known to us; it also lends itself to massive parallelism. Experimental results of a serial implementation on some large real-world graphs are presented.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/11/2020

Hitting Long Directed Cycles is Fixed-Parameter Tractable

In the Directed Long Cycle Hitting Set problem we are given a directed g...
research
08/30/2023

Data reduction for directed feedback vertex set on graphs without long induced cycles

We study reduction rules for Directed Feedback Vertex Set (DFVS) on inst...
research
06/15/2022

Pancyclicity in the Cartesian Product (K_9-C_9 )^n

A graph G on m vertices is pancyclic if it contains cycles of length l, ...
research
08/14/2018

Addressing Johnson graphs, complete multipartite graphs, odd cycles and other graphs

Graham and Pollak showed that the vertices of any graph G can be address...
research
07/01/2019

Enumeration of Preferred Extensions in Almost Oriented Digraphs

In this paper, we present enumeration algorithms to list all preferred e...
research
03/10/2023

Simple and efficient four-cycle counting on sparse graphs

We consider the problem of counting 4-cycles (C_4) in a general undirect...
research
09/13/2022

TDB: Breaking All Hop-Constrained Cycles in Billion-Scale Directed Graphs

The Feedback vertex set with the minimum size is one of Karp's 21 NP-com...

Please sign up or login with your details

Forgot password? Click here to reset