Metraipolis › archive › dc_69387b630427
Average-case complexity — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Average-case_complexity
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-11-10T12:45:45.310Z
- SHA-256 of the archived text
4c843fb03a65072390afb48ef5f38c264896bce59acd86b9c9f2c5a3e1564115- Stable URL of this page
https://metraipolis.com/documento/dc_69387b630427
How to cite
Average-case complexity — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Average-case_complexity (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_69387b630427 (Metraipolis archive dc_69387b630427, sha256 4c843fb03a65072390afb48ef5f38c264896bce59acd86b9c9f2c5a3e1564115)
BibTeX
@misc{dc69387b630427,
title = {Average-case complexity — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Average-case_complexity},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_69387b630427; sha256 4c843fb03a65072390afb48ef5f38c264896bce59acd86b9c9f2c5a3e1564115},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Average-case_complexity. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In computational complexity theory, the average-case complexity of an algorithm is the amount of some computational resource (typically time) used by the algorithm, averaged over all possible inputs. It is frequently contrasted with worst-case complexity which considers the maximal complexity of the algorithm over all possible inputs. There are three primary motivations for studying average-case complexity. First, although some problems may be intractable in the worst-case, the inputs which elicit this behavior may rarely occur in practice, so the average-case complexity may be a more accurate measure of an algorithm's performance. Second, average-case complexity analysis provides tools and techniques to generate hard instances of problems which can be utilized in areas such as cryptography and derandomization. Third, average-case complexity allows discriminating the most efficient algorithm in practice among algorithms of equivalent best case complexity (for instance Quicksort). Average-case analysis requires a notion of an "average" input to an algorithm, which leads to the problem of devising a probability distribution over inputs. Alternatively, a randomized algorithm can be used. The analysis of such algorithms leads to the related notion of an expected complexity. Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico). Fonte: Wikipedia in inglese, voce «Average-case complexity» — https://en.wikipedia.org/wiki/Average-case_complexity Wikidata Q4828244 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q4828244 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Average-case_complexity?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 1373579835, consultata il 2026-11-10T12:42:16.823Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 5a062ecfb8ccbcf951a34fb2f27655ff5498b843258b55756d50e413a5f368fb