English
Related papers

Related papers: New algorithms for girth and cycle detection

200 papers

Let $G = (V,E,\ell)$ be a $n$-node $m$-edge weighted undirected graph, where $\ell: E \rightarrow (0,\infty)$ is a real \emph{length} function defined on its edges, and let $g$ denote the girth of $G$, i.e., the length of its shortest…

Data Structures and Algorithms · Computer Science 2025-07-21 Avi Kadria , Liam Roditty , Aaron Sidford , Virginia Vassilevska Williams , Uri Zwick

We consider the problem of approximating the girth, $g$, of an unweighted and undirected graph $G=(V,E)$ with $n$ nodes and $m$ edges. A seminal result of Itai and Rodeh [SICOMP'78] gave an additive $1$-approximation in $O(n^2)$ time, and…

Data Structures and Algorithms · Computer Science 2017-04-10 Søren Dahlgaard , Mathias Bæk Tejs Knudsen , Morten Stöckel

We describe a general purpose algorithm for counting simple cycles and simple paths of any length $\ell$ on a (weighted di)graph on $N$ vertices and $M$ edges, achieving a time complexity of $O\left(N+M+\big(\ell^\omega+\ell\Delta\big)…

Data Structures and Algorithms · Computer Science 2019-09-12 Pierre-Louis Giscard , Nils Kriege , Richard C. Wilson

Given an $n$-vertex $m$-edge graph $G$ with non negative edge-weights, the girth of $G$ is the weight of a shortest cycle in $G$. For any graph $G$ with polynomially bounded integer weights, we present a deterministic algorithm that…

Data Structures and Algorithms · Computer Science 2018-10-25 Guillaume Ducoffe

Let C(G) denote the set of lengths of cycles in a graph G. In the first part of this paper, we study the minimum possible value of |C(G)| over all graphs G of average degree d and girth g. Erdos conjectured that |C(G)| =\Omega(d^{\lfloor…

Combinatorics · Mathematics 2007-07-17 Benny Sudakov , Jacques Verstraete

We describe a new random greedy algorithm for generating regular graphs of high girth: Let $k\geq 3$ and $c \in (0,1)$ be fixed. Let $n \in \mathbb{N}$ be even and set $g = c \log_{k-1} (n)$. Begin with a Hamilton cycle $G$ on $n$ vertices.…

Combinatorics · Mathematics 2020-06-30 Nati Linial , Michael Simkin

We study the set ${\cal L}(G)$ of lengths of all cycles that appear in a random $d$-regular $G$ on $n$ vertices for a fixed $d\geq 3$, as well as in Erd\H{o}s--R\'enyi random graphs on $n$ vertices with a fixed average degree $c>1$.…

Combinatorics · Mathematics 2020-09-01 Yahav Alon , Michael Krivelevich , Eyal Lubetzky

In this paper we give fast distributed graph algorithms for detecting and listing small subgraphs, and for computing or approximating the girth. Our algorithms improve upon the state of the art by polynomial factors, and for girth, we…

Data Structures and Algorithms · Computer Science 2021-01-20 Keren Censor-Hillel , Orr Fischer , Tzlil Gonen , François Le Gall , Dean Leitersdorf , Rotem Oshman

In this paper, we consider the problem of finding a cycle of length $2k$ (a $C_{2k}$) in an undirected graph $G$ with $n$ nodes and $m$ edges for constant $k\ge2$. A classic result by Bondy and Simonovits [J.Comb.Th.'74] implies that if $m…

Data Structures and Algorithms · Computer Science 2017-03-31 Søren Dahlgaard , Mathias Bæk Tejs Knudsen , Morten Stöckel

The girth of a graph, i.e. the length of its shortest cycle, is a fundamental graph parameter. Unfortunately all known algorithms for computing, even approximately, the girth and girth-related structures in directed weighted $m$-edge and…

Data Structures and Algorithms · Computer Science 2018-08-14 Jakub Pachocki , Liam Roditty , Aaron Sidford , Roei Tov , Virginia Vassilevska Williams

In 1959, Erd\H{o}s and Gallai proved that every graph G with average vertex degree ad(G)\geq 2 contains a cycle of length at least ad(G). We provide an algorithm that for k\geq 0 in time 2^{O(k)} n^{O(1)} decides whether a 2-connected…

Data Structures and Algorithms · Computer Science 2022-02-08 Fedor V. Fomin , Petr A. Golovach , Danil Sagunov , Kirill Simonov

We study the problem of finding the cycle of minimum cost-to-time ratio in a directed graph with $ n $ nodes and $ m $ edges. This problem has a long history in combinatorial optimization and has recently seen interesting applications in…

Data Structures and Algorithms · Computer Science 2018-03-02 Karl Bringmann , Thomas Dueholm Hansen , Sebastian Krinninger

The Path Contraction and Cycle Contraction problems take as input an undirected graph $G$ with $n$ vertices, $m$ edges and an integer $k$ and determine whether one can obtain a path or a cycle, respectively, by performing at most $k$ edge…

Data Structures and Algorithms · Computer Science 2024-03-12 R. Krithika , V. K. Kutty Malu , Prafullkumar Tale

The girth of a graph is the length of its shortest cycle. We give an algorithm that computes in O(n(log n)^3) time and O(n) space the (weighted) girth of an n-vertex planar digraph with arbitrary real edge weights. This is an improvement of…

Discrete Mathematics · Computer Science 2009-08-06 Christian Wulff-Nilsen

We present sublinear-time (randomized) algorithms for finding simple cycles of length at least $k\geq 3$ and tree-minors in bounded-degree graphs. The complexity of these algorithms is related to the distance of the graph from being…

Data Structures and Algorithms · Computer Science 2012-04-04 Artur Czumaj , Oded Goldreich , Dana Ron , C. Seshadhri , Asaf Shapira , Christian Sohler

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…

Data Structures and Algorithms · Computer Science 2021-05-27 Anshul Gupta , Toyotaro Suzumura

In this paper, we prove similar results for odd and even cycle lengths. Let $L_o(G)$ denote the set of odd cycle lengths of $G$ and $\ell_o(G)$ denote the longest odd cycle length. In 1992, Gy\'arf\'as proved that $\chi(G)\leq 2|L_o(G)|+2$,…

Combinatorics · Mathematics 2025-12-01 Xiaolin Wang

A message-passing algorithm for counting short cycles in a graph is presented. For bipartite graphs, which are of particular interest in coding, the algorithm is capable of counting cycles of length g, g +2,..., 2g - 2, where g is the girth…

Information Theory · Computer Science 2015-03-14 Mehdi Karimi , Amir H. Banihashemi

We consider the problem of approximate counting of triangles and longer fixed length cycles in directed graphs. For triangles, T\v{e}tek [ICALP'22] gave an algorithm that returns a $(1 \pm \eps)$-approximation in…

Data Structures and Algorithms · Computer Science 2024-10-01 Keren Censor-Hillel , Tomer Even , Virginia Vassilevska Williams

For a simple graph $G$, let $n$ and $m$ denote the number of vertices and edges in $G$, respectively. The Erd\H{o}s-Gallai theorem for paths states that in a simple $P_k$-free graph, $m \leq \frac{n(k-1)}{2}$, where $P_k$ denotes a path…

Combinatorics · Mathematics 2025-05-08 Rajat Adak , L. Sunil Chandran
‹ Prev 1 2 3 10 Next ›