A search frontier is the set of all nodes in a search tree or graph that have been generated by the algorithm but not yet expanded. It represents the precise boundary between explored and unexplored states. In algorithms like breadth-first search (BFS) or best-first search, the frontier is explicitly managed, often as a queue or priority queue, determining the order of node expansion. The structure and management of this frontier directly control the search strategy's exploration-exploitation tradeoff and computational efficiency.
