Frameworks for designing in-place graph algorithms

作者:

Highlights:

摘要

Read-only memory (ROM) model is a classical model of computation to study time-space tradeoffs of algorithms. More recently, several graph algorithms have been studied under ROM model. In this paper, we study graph algorithms under two different relaxations of ROM model, referred to as the implicit and rotate models, and show that these simple relaxations allow us to implement fundamental graph search methods like BFS and DFS more space efficiently than in ROM model. All our algorithms are simple but quite subtle, and we believe that these models are practical enough to spur interest for other graph problems in these models.

论文关键词:Graph algorithms,In-place algorithms,Implicit model,ROM model,BFS,DFS,Topological sorting

论文评审过程:Received 9 February 2020, Revised 23 June 2021, Accepted 18 July 2021, Available online 28 July 2021, Version of Record 3 August 2021.

论文官网地址:https://doi.org/10.1016/j.jcss.2021.07.004