English

Space Efficient Algorithms for Breadth-Depth Search

Data Structures and Algorithms 2019-06-20 v1 Information Retrieval

Abstract

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 {\it breadth-depth search} (henceforth {\sf BDS}), although they work entirely in different fashion. The classical implementation for these graph search methods takes O(m+n)O(m+n) time and O(nlgn)O(n \lg n) bits of space in the standard word RAM model (with word size being Θ(lgn)\Theta(\lg n) bits), where mm and nn 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(nlgn)o(n \lg 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(nlgn)o(n \lg 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.

Keywords

Cite

@article{arxiv.1906.07874,
  title  = {Space Efficient Algorithms for Breadth-Depth Search},
  author = {Sankardeep Chakraborty and Anish Mukherjee and Srinivasa Rao Satti},
  journal= {arXiv preprint arXiv:1906.07874},
  year   = {2019}
}

Comments

12 pages, This work will appear in FCT 2019