function ITERATIVE-DEEPENING-SEARCH(problem) returns a solution, or failure for depth = 0 to infinity do result <- DEPTH-LIMITED-SEARCH(problem, depth) if result != cutoff then return resultFigure 3.18 The iterative deepening search algorithm, which repeatedly applies depth-limited search with increasing limits. It terminates when a solution is found or if the depth- limited search returns failure, meaning that no solution exists. @author Ravi Mohan @author Ciaran O'Reilly
|
|
|
|
|
|
|
|