Space Efficient Algorithms for Breadth-Depth Search

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

Continuing the recent trend, in this article we design several space-efficient algorithms for two well-known graph search methods. Both these search methods share the same name breadth-depth search (henceforth BDS), although they work entirely in different fashion. The classical implementation for these graph search methods takes O(m+n) time and O(n n) bits of space in the standard word RAM model (with word size being Θ( n) bits), where m and n denotes the number of edges and vertices of the input graph respectively. Our goal here is to beat the space bound of the classical implementations, and design o(n n) space algorithms for these search methods by paying little to no penalty in the running time. Note that our space bounds (i.e., with o(n n) bits of space) do not even allow us to explicitly store the required information to implement the classical algorithms, yet our algorithms visits and reports all the vertices of the input graph in correct order.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/16/2018

Nearly Optimal Space Efficient Algorithm for Depth First Search

We design a space-efficient algorithm for performing depth-first search ...
research
05/30/2018

Space-Efficient DFS and Applications: Simpler, Leaner, Faster

The problem of space-efficient depth-first search (DFS) is reconsidered....
research
12/28/2018

Fast Breadth-First Search in Still Less Space

It is shown that a breadth-first search in a directed or undirected grap...
research
06/19/2019

Indexing Graph Search Trees and Applications

We consider the problem of compactly representing the Depth First Search...
research
08/12/2019

Space-Efficient Construction of Compressed Suffix Trees

We show how to build several data structures of central importance to st...
research
11/27/2017

Frameworks for Designing In-place Graph Algorithms

Read-only memory model is a classical model of computation to study time...
research
12/26/2017

Space-Efficient Algorithms for Longest Increasing Subsequence

Given a sequence of integers, we want to find a longest increasing subse...

Please sign up or login with your details

Forgot password? Click here to reset