Finding Triangles or Independent Sets

05/04/2021
by   Adrian Dumitrescu, et al.
0

(I) We revisit the algorithmic problem of finding all triangles in a graph G=(V,E) with n vertices and m edges. According to a result of Chiba and Nishizeki (1985), this task can be achieved by a combinatorial algorithm running in O(m^3/2) time. We derive this worst-case bound from first principles and with a simple proof. We then provide a combinatorial algorithm for finding all triangles in a graph and show that is amenable to the same running time analysis. We also show that the running time of such an algorithm cannot be improved in the worst-case and for the entire range of parameters m and n. Our arguments are extended to the problem of finding all small complete subgraphs of a given fixed size. (II) Given a graph G=(V,E) with n vertices and m edges, we present a randomized algorithm that computes a (1 ±ε)-approximation of the number of triangles in G and finds a witness with high probability in O( n^ω(1-δ)) or O ( ( m n^-2δ)^2ω/ω+1) expected time, provided G has a suitable superlinear number of edges and triangles (where ω < 2.376 is the exponent of matrix multiplication, and ε≤ 0.5, δ≤ 0.25 are positive constants). This limits the range of a conjecture of Pǎtraşcu (2010) regarding the triangle detection problem. (III) We present an algorithm which given a graph G=(V,E) performs one of the following tasks in O(m+n) (i.e., linear) time: (i) compute a Ω(1/√(n))-approximation of a maximum independent set in G (a well-known NP-hard problem), or (ii) find a triangle in G. The run-time is faster than that for any previous method for each of these tasks. A series of trade-off results is also available.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/22/2023

Finding Small Complete Subgraphs Efficiently

(I) We revisit the algorithmic problem of finding all triangles in a gra...
research
04/23/2021

Finding a Largest-Area Triangle in a Terrain in Near-Linear Time

A terrain is an x-monotone polygon whose lower boundary is a single line...
research
08/09/2020

Sparsifying the Operators of Fast Matrix Multiplication Algorithms

Fast matrix multiplication algorithms may be useful, provided that their...
research
02/11/2018

Distributed Evaluation of Subgraph Queries Using Worstcase Optimal LowMemory Dataflows

We study the problem of finding and monitoring fixed-size subgraphs in a...
research
09/26/2017

Recognizing Weak Embeddings of Graphs

We present an efficient algorithm for a problem in the interface between...
research
04/18/2021

Revisiting the Complexity Analysis of Conflict-Based Search: New Computational Techniques and Improved Bounds

The problem of Multi-Agent Path Finding (MAPF) calls for finding a set o...
research
01/21/2018

Efficient algorithms for computing a minimal homology basis

Efficient computation of shortest cycles which form a homology basis und...

Please sign up or login with your details

Forgot password? Click here to reset