Metraipolis › archive › dc_717f9e82155b
Las Vegas algorithm — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Las_Vegas_algorithm
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-15T18:59:19.435Z
- SHA-256 of the archived text
21b796f6a71b5322d64732778aae18ce8b5a7673df1c5b546b7f0144c0a6fc20- Stable URL of this page
https://metraipolis.com/documento/dc_717f9e82155b
How to cite
Las Vegas algorithm — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Las_Vegas_algorithm (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_717f9e82155b (Metraipolis archive dc_717f9e82155b, sha256 21b796f6a71b5322d64732778aae18ce8b5a7673df1c5b546b7f0144c0a6fc20)
BibTeX
@misc{dc717f9e82155b,
title = {Las Vegas algorithm — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Las_Vegas_algorithm},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_717f9e82155b; sha256 21b796f6a71b5322d64732778aae18ce8b5a7673df1c5b546b7f0144c0a6fc20},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Las_Vegas_algorithm. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In computing, a Las Vegas algorithm is a randomized algorithm that always gives correct results; that is, it always produces the correct result or it informs about the failure. However, the runtime of a Las Vegas algorithm differs depending on the input. The usual definition of a Las Vegas algorithm includes the restriction that the expected runtime be finite, where the expectation is carried out over the space of random information, or entropy, used in the algorithm. An alternative definition requires that a Las Vegas algorithm always terminates (is effective), but may output a symbol not part of the solution space to indicate failure in finding a solution. The nature of Las Vegas algorithms makes them suitable in situations where the number of possible solutions is limited, and where verifying the correctness of a candidate solution is relatively easy while finding a solution is complex. Systematic search methods for computationally hard problems, such as some variants of the Davis–Putnam algorithm for propositional satisfiability (SAT), also utilize non-deterministic decisions, and can thus also be considered Las Vegas algorithms. Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «algorithm»). Fonte: Wikipedia in inglese, voce «Las Vegas algorithm» — https://en.wikipedia.org/wiki/Las_Vegas_algorithm Wikidata Q1241487: «randomized algorithm guaranteed to eventually produce correct or optimal results» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q1241487 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Las_Vegas_algorithm?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 1375384950, consultata il 2026-10-15T18:22:03.080Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 27b26260a808ac288118eedaded80885fc9308b050ad6042a0feeea72bc221bb