Depth-First vs. Best-First Search: New Results

Abstract

Best-first search (BFS) expands the fewest nodes among all admissible algorithms using the same cost function, but typically requires exponential space. Depth-first search needs space only linear in the maximum search depth, but expands more nodes than BFS. Using a random tree, we analytically show that the expected number of nodes expanded by depth-first branch-and-bound (DFBnB) is no more than O(d ċ N), where d is the goal depth and N is the expected number of nodes expanded by BFS. We also show that DFBnB is asymptotically optimal when BFS runs in exponential time. We then consider how to select a linear-space search algorithm, from among DFBnB, iterative-deepening (ID) and recursive best first search (RBFS). Our experimental results indicate that DFBnB is preferable on problems that can be represented by bounded-depth trees and require exponential computation; and RBFS should be applied to problems that cannot be represented by bounded-depth trees, or problems that can be solved in polynomial time.

Cite

Text

Zhang and Korf. "Depth-First vs. Best-First Search: New Results." AAAI Conference on Artificial Intelligence, 1993.

Markdown

[Zhang and Korf. "Depth-First vs. Best-First Search: New Results." AAAI Conference on Artificial Intelligence, 1993.](https://mlanthology.org/aaai/1993/zhang1993aaai-depth/)

BibTeX

@inproceedings{zhang1993aaai-depth,
  title     = {{Depth-First vs. Best-First Search: New Results}},
  author    = {Zhang, Weixiong and Korf, Richard E.},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {1993},
  pages     = {769-775},
  url       = {https://mlanthology.org/aaai/1993/zhang1993aaai-depth/}
}