Abstract We analyze the time complexity of iterative-deepening-A ∗ (IDA ∗ ). We first show how to calculate the exact number of nodes at a given depth of a regular search tree, and the asymptotic brute-force branching factor. We then use this result to analyze IDA ∗ with a consistent, admissible heuristic function. Previous analyses relied on an abstract analytic model, and characterized the heuristic function in terms of its accuracy, but do not apply to concrete problems. In contrast, our analysis allows us to accurately predict the performance of IDA ∗ on actual problems such as the sliding-tile puzzles and Rubik's Cube. The heuristic function is characterized by the distribution of heuristic values over the problem space. Contrary to conventional wisdom, our analysis shows that the asymptotic heuristic branching factor is the same as the brute-force branching factor. Thus, the effect of a heuristic function is to reduce the effective depth of search by a constant, relative to a brute-force search, rather than reducing the effective branching factor.
[1]
Jonathan Schaeffer,et al.
Pattern Databases
,
1998,
Comput. Intell..
[2]
Richard E. Korf,et al.
Disjoint pattern database heuristics
,
2002,
Artif. Intell..
[3]
Richard E. Korf,et al.
Depth-First Iterative-Deepening: An Optimal Admissible Tree Search
,
1985,
Artif. Intell..
[4]
Richard E. Korf,et al.
Complexity Analysis of Admissible Heuristic Search
,
1998,
AAAI/IAAI.
[5]
Richard E. Korf,et al.
The Branching Factor of Regular Search Spaces
,
1998,
AAAI/IAAI.
[6]
Nils J. Nilsson,et al.
A Formal Basis for the Heuristic Determination of Minimum Cost Paths
,
1968,
IEEE Trans. Syst. Sci. Cybern..
[7]
Richard E. Korf,et al.
Finding Optimal Solutions to Rubik's Cube Using Pattern Databases
,
1997,
AAAI/IAAI.
[8]
J. Gaschnig.
Performance measurement and analysis of certain search algorithms.
,
1979
.