Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Quiescence search

Also known as Stand pat, Capture search

adversarial game-tree-search

Quiescence search keeps the search horizon from cutting a line in the middle of an exchange. Where alpha-beta runs out of depth, it does not trust the evaluation of a position that still has noisy moves, such as captures; it searches those moves alone, ply after ply, until none is left. At each such position the side to move may stand pat: decline every noisy move and keep the position's evaluation, which becomes the score to beat. A game opts in by listing its noisy moves in Game::noisy_moves; minimax, negamax, alpha-beta, PVS and MTD(f) then all search past the horizon, and quiescence positions stay out of the transposition table. Each noisy move must bring the game closer to a quiet position, as a capture removes a piece, or the search never ends.

Pseudocode

algorithm Quiesce(p, α, β)input: position p where the depth ran out, window (α, β) from Max's point of viewoutput: the score of p once no noisy move is left, or a bound beyond the window as in Alpha-betastand ← evaluate(p)                          ▷ stand pat: decline every noisy moveN ← noisy-moves(p)if N = ∅ thenreturn stand                               ▷ a quiet position: the evaluation holdss ← side-to-move(p)if s = Max thenα ← max(α, stand)elseβ ← min(β, stand)best ← standfor each m in ordered(N) do                  ▷ closes and better as in Alpha-betaif closes(s, best, α, β) or satisfices(s, best) thenbreakv ← Quiesce(play(p, m), α, β)if s = Max thenα ← max(α, v)elseβ ← min(β, v)if better(s, v, best) thenbest ← vreturn best                                  ▷ not stored in the transposition table

In the crates

  • game-tree-search

    Past the horizon, every search goes on through the moves a game marks as noisy, and the side to move may stand pat on the evaluation.

    Game::noisy_moves

Lineage

Comes from

builds on Alpha-beta pruning

Led to

Nothing on this site.

Papers

  1. Programming a computer for playing chess Claude E. Shannon · 1950· The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science introduces doi 10.1080/14786445008521796
  2. A generalised quiescence search algorithm Don F. Beal · 1990· Artificial Intelligence extends doi 10.1016/0004-3702(90)90072-8