BeamSearch
Width-limited heuristic search
Mechanism
A heuristic search algorithm that explores a graph by expanding the most promising SolverNodes in a limited set (the beam). It manages a Queue of fixed size 'k'. At each step, it generates all successors of all nodes in the beam, Ranks them, and Selects the top 'k' for the next iteration.
Invariants
- Breadth Constraint: Active nodes never exceed Beam Width.
- Optimality: The K nodes selected are the highest ranked.
Parameters
- beam_width: type=Integer, range=[1, 100], description=Number of parallel paths to keep
Where this came from
—
Builds on
- Select references
- Rank references
- Queue references
- SolverNode references
Identity
- Ref:
BeamSearch#3457 - Hash: sema:BeamSearch#mh:SHA-256:345791c047f0e97dbef89d2d16e6cd67634768cebe523cef44e54a6eacec622b
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository