Metraipolis › archive › dc_c4c2457a6c38

Package-merge algorithm — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Package-merge_algorithm
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-07T14:26:28.187Z
SHA-256 of the archived text
b9a2cd87cdb2d5d0975edd415c0bbe0184e34ef90677f3c402fa6e114ca69038
Stable URL of this page
https://metraipolis.com/documento/dc_c4c2457a6c38

How to cite

Package-merge algorithm — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Package-merge_algorithm (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_c4c2457a6c38 (Metraipolis archive dc_c4c2457a6c38, sha256 b9a2cd87cdb2d5d0975edd415c0bbe0184e34ef90677f3c402fa6e114ca69038)
BibTeX
@misc{dcc4c2457a6c38,
  title = {Package-merge algorithm — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Package-merge_algorithm},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_c4c2457a6c38; sha256 b9a2cd87cdb2d5d0975edd415c0bbe0184e34ef90677f3c402fa6e114ca69038},
  year = {2026}
}

Archived text

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

The package-merge algorithm is an O(nL)-time algorithm for finding an optimal length-limited Huffman code for a given distribution on a given alphabet of size n, where no code word is longer than L. It is a greedy algorithm, and a generalization of Huffman's original algorithm. Package-merge works by reducing the code construction problem to the binary coin collector's problem.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; ricerca «algorithm»).
Fonte: Wikipedia in inglese, voce «Package-merge algorithm» — https://en.wikipedia.org/wiki/Package-merge_algorithm
Wikidata Q7122881 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q7122881
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Package-merge_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 1362628411, consultata il 2026-10-07T14:07:25.186Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 1c14cec988e6c021fe207d1f5822cc2a721baf0ba55c51fa66990108cdd61090