Using Colors and Sketches to Count Subgraphs in a Streaming Graph

02/23/2023
by   Shirin Handjani, et al.
0

Suppose we wish to estimate #H, the number of copies of some small graph H in a large streaming graph G. There are many algorithms for this task when H is a triangle, but just a few that apply to arbitrary H. Here we focus on one such algorithm, which was introduced by Kane, Mehlhorn, Sauerwald, and Sun. The storage and update time per edge for their algorithm are both O(m^k/(#H)^2), where m is the number of edges in G, and k is the number of edges in H. Here, we propose three modifications to their algorithm that can dramatically reduce both the storage and update time. Suppose that H has no leaves and that G has maximum degree ≤ m^1/2 - α, where α > 0. Define C = min(m^2α,m^1/3). Then in our version of the algorithm, the update time per edge is O(1), and the storage is approximately reduced by a factor of C^2k-t-2, where t is the number of vertices in H; in particular, the storage is O(C^2 + m^k/(C^2k-t-2 (#H)^2)).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/27/2020

Improved Algorithms for Edge Colouring in the W-Streaming Model

In the W-streaming model, an algorithm is given O(n polylog n) space and...
research
05/04/2021

An Optimal Algorithm for Triangle Counting

We present a new algorithm for approximating the number of triangles in ...
research
07/17/2018

On maximum k-edge-colorable subgraphs of bipartite graphs

If k≥ 0, then a k-edge-coloring of a graph G is an assignment of colors ...
research
05/02/2023

Streaming Edge Coloring with Asymptotically Optimal Colors

Given a graph G, an edge-coloring is an assignment of colors to edges of...
research
04/04/2023

Constructing extremal triangle-free graphs using integer programming

The maximum number of edges in a graph with matching number m and maximu...
research
03/04/2021

Translating declarative control elements to imperative using 'l-value redefinition graphs'

We focus on control constructs that allow programmers define actions to ...
research
04/24/2023

An Efficient Built-in Temporal Support in MVCC-based Graph Databases

Real-world graphs are often dynamic and evolve over time. To trace the e...

Please sign up or login with your details

Forgot password? Click here to reset