Home >  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

Kūrėjas

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