字RAM上线性时间原地DFS与BFS
数据结构与算法
2019-01-30 v4
摘要
我们提出了一种在字RAM上以线性时间运行的原地深度优先搜索(DFS)与原地广度优先搜索(BFS),若输入图的邻接数组以有序方式给出,则算法运行后输入被复原。为获得上述结果,我们利用所采用的图存储表示的性质,并给出了若干种从一种表示到另一种表示的线性时间原地图变换。
引用
@article{arxiv.1803.04282,
title = {Linear-Time In-Place DFS and BFS on the Word RAM},
author = {Frank Kammer and Andrej Sajenko},
journal= {arXiv preprint arXiv:1803.04282},
year = {2019}
}
备注
Short version of this paper is accepted to CIAC2019