>  Term: depth-first search
depth-first search

A search algorithm that extends the current path as far as possible before backtracking to the last choice point and trying the next alternative path. Depth-first search generally reaches a satisfactory solution more rapidly than breadth first, an advantage when the search space is large. However, unlike breadth first, it does not guarantee that the optimal solution has been found. Compare breadth-first search.

0 0

작성자

  • Kevin Bowles
  •  (Diamond) 9014 포인트
  • 50% positive feedback
© 2024 CSOFT International, Ltd.