Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Iterative Deepening Depth-First Search

Searching Algorithm

Iterative deepening search, or more specifically iterative deepening depth-first search, is a state space and graph search strategy that runs a depth-limited depth-first search repeatedly with an increasing depth limit until the goal is found. It is optimal, meaning it finds the shallowest goal, and because it visits every node down to depth d before visiting any node at depth d+1, its cumulative visiting order is effectively the same as breadth-first search, while using much less memory than breadth-first search does.

Facts
Time Complexity
Time Complexity (category)
Exponential Time -- O(2^n) 1
Classification
Design Technique
Backtracking 1
Connections

Uses Design Technique

Backtracking, Concepts
Sources
1. Iterative Deepening Depth-First Search (Wikipedia)
  • Wikipedia infobox: time complexity exponential
    exponential
  • Wikipedia: design technique backtracking
    backtracking
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.