Indexing Graph Search Trees and Applications

06/19/2019
by   Sankardeep Chakraborty, et al.
0

We consider the problem of compactly representing the Depth First Search (DFS) tree of a given undirected or directed graph having n vertices and m edges while supporting various DFS related queries efficiently in the RAM with logarithmic word size. We study this problem in two well-known models: indexing and encoding models. While most of these queries can be supported easily in constant time using O(n n) bits[We use to denote logarithm to the base 2.] of extra space, our goal here is, more specifically, to beat this trivial O(n n) bit space bound, yet not compromise too much on the running time of these queries. In the indexing model, the space bound of our solution involves the quantity m, hence, we obtain different bounds for sparse and dense graphs respectively. In the encoding model, we first give a space lower bound, followed by an almost optimal data structure with extremely fast query time. Central to our algorithm is a partitioning of the DFS tree into connected subtrees, and a compact way to store these connections. Finally, we also apply these techniques to compactly index the shortest path structure, biconnectivity structures among others.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/05/2018

Optimal Substring-Equality Queries with Applications to Sparse Text Indexing

We consider the problem of encoding a string of length n from an alphabe...
research
10/29/2021

Shortest Beer Path Queries in Outerplanar Graphs

A beer graph is an undirected graph G, in which each edge has a positive...
research
07/06/2023

Shortest Beer Path Queries based on Graph Decomposition

Given a directed edge-weighted graph G=(V, E) with beer vertices B⊆ V, a...
research
03/18/2020

PolyFit: Polynomial-based Indexing Approach for Fast Approximate Range Aggregate Queries

Range aggregate queries find frequent application in data analytics. In ...
research
06/19/2019

Space Efficient Algorithms for Breadth-Depth Search

Continuing the recent trend, in this article we design several space-eff...
research
03/04/2019

A Simple Solution to the Level-Ancestor Problem

A Level Ancestory query LA(u, d) asks for the the ancestor of the node u...
research
03/06/2019

Encoding 3SUM

We consider the following problem: given three sets of real numbers, out...

Please sign up or login with your details

Forgot password? Click here to reset