Counting Triangles under Updates in Worst-Case Optimal Time

04/09/2018
by   Ahmet Kara, et al.
0

We consider the problem of incrementally maintaining the triangle count query under single- tuple updates to the input relations. We introduce an approach that exhibits a space-time tradeoff such that the space-time product is quadratic in the size of the input database and the update time can be as low as the square root of this size. This lowest update time is worst-case optimal conditioned on the Online Matrix-Vector Multiplication conjecture. The classical and factorized incremental view maintenance approaches are recovered as special cases of our approach within the space-time tradeoff. In particular, they require linear- time update maintenance, which is suboptimal. Our approach also recovers the worst-case optimal time complexity for computing the triangle count in the non-incremental setting.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/07/2020

Maintaining Triangle Queries under Updates

We consider the problem of incrementally maintaining the triangle querie...
research
02/26/2018

Dynamic Effective Resistances and Approximate Schur Complement on Separable Graphs

We consider the problem of dynamically maintaining (approximate) all-pai...
research
07/19/2023

On Dynamic Graph Algorithms with Predictions

We study dynamic algorithms in the model of algorithms with predictions....
research
03/15/2018

Dynamic Approximate Matchings with an Optimal Recourse Bound

In the area of dynamic matching algorithms, the number of changes to the...
research
04/05/2023

Algorithm and Hardness for Dynamic Attention Maintenance in Large Language Models

Large language models (LLMs) have made fundamental changes in human life...
research
03/15/2023

F-IVM: Analytics over Relational Databases under Updates

This article describes F-IVM, a unified approach for maintaining analyti...
research
03/30/2023

The Essential Algorithms for the Matrix Chain

For a given product of n matrices, the matrix chain multiplication probl...

Please sign up or login with your details

Forgot password? Click here to reset