English
Related papers

Related papers: Approximate Triangle Counting via Sampling and Fas…

200 papers

The {\it matrix-chain multiplication} problem is a classic problem that is widely taught to illustrate dynamic programming. The textbook solution runs in $\theta(n^3)$ time. However, there is a complex $O(n \log n)$-time method \cite{HU82},…

Discrete Mathematics · Computer Science 2021-04-06 Thong Le , Dan Gusfield

We present a new algorithm for approximating the number of triangles in a graph $G$ whose edges arrive as an arbitrary order stream. If $m$ is the number of edges in $G$, $T$ the number of triangles, $\Delta_E$ the maximum number of…

Data Structures and Algorithms · Computer Science 2021-07-16 Rajesh Jayaram , John Kallaugher

Triangle counting is a fundamental problem in the analysis of large graphs. There is a rich body of work on this problem, in varying streaming and distributed models, yet all these algorithms require reading the whole input graph. In many…

Data Structures and Algorithms · Computer Science 2020-06-23 Suman K. Bera , C. Seshadhri

We study subgraph counting over fully dynamic graphs, which undergo edge insertions and deletions. Counting subgraphs is a fundamental problem in graph theory with numerous applications across various fields, including database theory,…

Data Structures and Algorithms · Computer Science 2025-04-16 Sepehr Assadi , Vihan Shah

We show an $\widetilde{O}(m^{1.5} \epsilon^{-1})$ time algorithm that on a graph with $m$ edges and $n$ vertices outputs its spanning tree count up to a multiplicative $(1+\epsilon)$ factor with high probability, improving on the previous…

Data Structures and Algorithms · Computer Science 2025-05-21 Yang P. Liu , Richard Peng , Junzhao Yang

Estimating the number of triangles in a graph is one of the most fundamental problems in sublinear algorithms. In this work, we provide an algorithm that approximately counts the number of triangles in a graph using only polylogarithmic…

Data Structures and Algorithms · Computer Science 2020-08-04 Anup Bhattacharya , Arijit Bishnu , Arijit Ghosh , Gopinath Mishra

We present an algorithm that, with high probability, generates a random spanning tree from an edge-weighted undirected graph in $\tilde{O}(n^{4/3}m^{1/2}+n^{2})$ time (The $\tilde{O}(\cdot)$ notation hides $\operatorname{polylog}(n)$…

Data Structures and Algorithms · Computer Science 2017-06-22 David Durfee , Rasmus Kyng , John Peebles , Anup B. Rao , Sushant Sachdeva

We define a natural class of range query problems, and prove that all problems within this class have the same time complexity (up to polylogarithmic factors). The equivalence is very general, and even applies to online algorithms. This…

Computational Complexity · Computer Science 2020-04-10 Lech Duraj , Krzysztof Kleiner , Adam Polak , Virginia Vassilevska Williams

In this note we introduce a new randomized algorithm for counting triangles in graphs. We show that under mild conditions, the estimate of our algorithm is strongly concentrated around the true number of triangles. Specifically, if $p \geq…

Data Structures and Algorithms · Computer Science 2011-04-01 Rasmus Pagh , Charalampos E. Tsourakakis

Weighted variants of triangle detection are an important object of study because of their prominence in fine-grained complexity. We revisit the Node-Weighted Triangle problem, where the goal is to decide if a vertex-weighted graph contains…

Data Structures and Algorithms · Computer Science 2026-05-12 Shyan Akmal , Nick Fischer

We revisit the algorithmic problem of finding a triangle in a graph (\textsc{Triangle Detection}), and examine its relation to other problems such as \textsc{3Sum}, \textsc{Independent Set}, and \textsc{Graph Coloring}. We obtain several…

Data Structures and Algorithms · Computer Science 2024-02-13 Adrian Dumitrescu

Triangle counting is a fundamental building block in graph algorithms. In this paper, we propose a block-based triangle counting algorithm to reduce data movement during both sequential and parallel execution. Our block-based formulation…

Data Structures and Algorithms · Computer Science 2020-09-29 Abdurrahman Yaşar , Sivasankaran Rajamanickam , Jonathan Berry , Ümit V. Çatalyürek

We present improved distributed algorithms for triangle detection and its variants in the CONGEST model. We show that Triangle Detection, Counting, and Enumeration can be solved in $\tilde{O}(n^{1/2})$ rounds. In contrast, the previous…

Data Structures and Algorithms · Computer Science 2018-07-19 Yi-Jun Chang , Seth Pettie , Hengjie Zhang

Estimating the number of triangles in graph streams using a limited amount of memory has become a popular topic in the last decade. Different variations of the problem have been studied, depending on whether the graph edges are provided in…

Data Structures and Algorithms · Computer Science 2015-07-15 Laurent Bulteau , Vincent Froese , Konstantin Kutzkov , Rasmus Pagh

We give a fast algorithm for computing an irreducible triangulation $T^\prime$ of an oriented, connected, boundaryless, and compact surface $S$ in $E^d$ from any given triangulation $T$ of $S$. If the genus $g$ of $S$ is positive, then our…

Geometric Topology · Mathematics 2023-12-19 Suneeta Ramaswami , Marcelo Siqueira

In this report we present an algorithm solving Triangle Counting in time $O(d^2n+m)$, where n and m, respectively, denote the number of vertices and edges of a graph G and d denotes its twin-width, a recently introduced graph parameter. We…

Data Structures and Algorithms · Computer Science 2022-02-15 Stefan Kratsch , Florian Nelles , Alexandre Simon

Recently, considerable efforts have been devoted to approximately computing the global and local (i.e., incident to each node) triangle counts of a large graph stream represented as a sequence of edges. Existing approximate triangle…

Data Structures and Algorithms · Computer Science 2018-11-27 Pinghui Wang , Peng Jia , Yiyan Qi , Yu Sun , Jing Tao , Xiaohong Guan

Triangle counting is a fundamental technique in network analysis, that has received much attention in various input models. The vast majority of triangle counting algorithms are targeted to static graphs. Yet, many real-world graphs are…

Social and Information Networks · Computer Science 2021-06-08 Noujan Pashanasangi , C. Seshadhri

We present a non-algebraic, locality-preserving framework for triangle detection in worst-case sparse graphs. Our algorithm processes the graph in $O(\log n)$ independent layers and partitions incident edges into prefix-based classes where…

Data Structures and Algorithms · Computer Science 2025-09-04 Hongyi Duan , Jian'an Zhang

We present the first polynomial-time algorithm to exactly compute the number of labeled chordal graphs on $n$ vertices. Our algorithm solves a more general problem: given $n$ and $\omega$ as input, it computes the number of…

Data Structures and Algorithms · Computer Science 2024-10-04 Ursula Hebert-Johnson , Daniel Lokshtanov , Eric Vigoda