Metraipolis › archive › dc_8033838aeda8

Principal variation search — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Principal_variation_search
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-15T18:17:46.924Z
SHA-256 of the archived text
951b99343fab1c2be00746c8e3c3727641498443d215b9f97ade4a55197b0189
Stable URL of this page
https://metraipolis.com/documento/dc_8033838aeda8

How to cite

Principal variation search — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Principal_variation_search (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_8033838aeda8 (Metraipolis archive dc_8033838aeda8, sha256 951b99343fab1c2be00746c8e3c3727641498443d215b9f97ade4a55197b0189)
BibTeX
@misc{dc8033838aeda8,
  title = {Principal variation search — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Principal_variation_search},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_8033838aeda8; sha256 951b99343fab1c2be00746c8e3c3727641498443d215b9f97ade4a55197b0189},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Principal_variation_search. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Principal variation search (sometimes equated with the practically identical NegaScout) is a negamax algorithm that can be faster than alpha–beta pruning. Like alpha–beta pruning, NegaScout is a directional search algorithm for computing the minimax value of a node in a tree. It dominates alpha–beta pruning in the sense that it will never examine a node that can be pruned by alpha–beta; however, it relies on accurate node ordering to capitalize on this advantage. NegaScout works best when there is a good move ordering. In practice, the move ordering is often determined by previous shallower searches. It produces more cutoffs than alpha–beta by assuming that the first explored node is the best. In other words, it supposes the first node is in the principal variation. Then, it can check whether that is true by searching the remaining nodes with a null window (also known as a scout window; when alpha and beta are equal), which is faster than searching with the regular alpha–beta window. If the proof fails, then the first node was not in the principal variation, and the search continues as normal alpha–beta. Hence, NegaScout works best when the move ordering is good. With a random move ordering, NegaScout will take more time than regular alpha–beta; although it will not explore any nodes alpha–beta did not, it will have to re-search many nodes. Alexander Reinefeld invented NegaScout several decades after the invention of alpha–beta pruning. He gives a proof of correctness of NegaScout in his book. Another search algorithm called SSS* can theoretically result in fewer nodes searched. However, its original formulation has practical issues (in particular, it relies heavily on an OPEN list for storage) and nowadays most chess engines still use a form of NegaScout in their search. Most chess engines use a transposition table in which the relevant part of the search tree is stored. This part of the tree has the same size as SSS*'s OPEN list would have. A reformulation called MT-SSS* allowed it to be implemented as a series of null window calls to Alpha–Beta (or NegaScout) that use a transposition table, and direct comparisons using game playing programs could be made. It did not outperform NegaScout in practice. Yet another search algorithm, which does tend to do better than NegaScout in practice, is the best-first algorithm called MTD(f), although neither algorithm dominates the other. There are trees in which NegaScout searches fewer nodes than SSS* or MTD(f) and vice versa. NegaScout takes after SCOUT, invented by Judea Pearl in 1980, which was the first algorithm to outperform alpha–beta and to be proven asymptotically optimal. Null windows, with β=α+1 in a negamax setting, were invented independently by J.P. Fishburn and used in an algorithm similar to SCOUT in an appendix to his Ph.D. thesis, in a parallel alpha–beta algorithm, and on the last subtree of a search tree root node.

Tema degli esploratori: fiducia digitale e crittografia (deposito sistematico; ricerca «zero-knowledge proof»).
Fonte: Wikipedia in inglese, voce «Principal variation search» — https://en.wikipedia.org/wiki/Principal_variation_search
Wikidata Q2269304 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q2269304
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Principal_variation_search?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1292169707, consultata il 2026-10-15T17:47:00.601Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 8c0721964f774c319aecda6afd9a313493fb8c9455162c1c62b30731abd5ec69