Beam search
Beam search is a heuristic algorithm applied on a tree. It's very similar to breadth-first search, but it keeps
We can define parameters like:
- How many candidates we keep
- How deep we go below the tree's levels
Complexity
Beam search's time complexity is