CISSAlgorithm origin & lineage registry

AlgorithmsSearching & hashingEdit on GitHubEdit history

Reservoir Sampling

Algorithm R, Algorithm Z1985

A sampling technique that maintains a uniform random sample of size k in one pass over a stream whose length is not known in advance. Vitter's paper introduced Algorithm Z, which generates the number of records to skip directly.

Origin

Jeffrey Scott Vitter (1985). Random sampling with a reservoir. ACM Transactions on Mathematical Software 11(1).doi:10.1145/3147.3165 — checked against Crossref, 2026-11-08The paper credits the basic reservoir algorithm (Algorithm R) to Alan Waterman; its main result is Algorithm Z.

Lineage

Algorithms 3 · Relations 2

Derived algorithms

What it led to
Reservoir Sampling Algorithm L1994OptimizationVerified85%

Author statementThe paper presents reservoir-sampling algorithms with lower time complexity. — doi:10.1145/198429.198435

Weighted Reservoir Sampling (A-Res)2006GeneralizationVerified85%

Author statementThe paper generalizes one-pass reservoir sampling to weighted random sampling. — doi:10.1016/j.ipl.2005.11.003

Notable implementations

Paths checked against the GitHub default branch

Find more: GitHub · Semantic Scholar · Google Scholar · arXiv

Claims & disputes

Loading…