Abstract
In this paper, we propose an external memory depth first search algorithm for solid grid graphs, a subclass of grid graphs. The I/O-complexity of the algorithm is O ( sort ( N ) ) , where N = | V | + | E | , sort ( N ) = Θ ( N B log M / B N B ) is the sorting I/O-complexity, M is the memory size, and B is the block size. Since grid graphs might be nonplanar (if diagonal edges intersect), they are beyond the reach of existing planar depth first search algorithms. The best known algorithm for this class of graph is the standard (internal memory) DFS algorithm with appropriate block (sub-grid) I/O-access. Its I/O-complexity is O ( N B ) .
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have