kumulant

ReservoirHistogram

@Serializable
@SerialName(value = "ReservoirHistogram")
data class ReservoirHistogram(val capacity: Int = 1024, val seed: Long) : SeriesStatSpec<ReservoirResult> (source)

Configuration for ReservoirHistogramStat. Seed has no default - the live constructor's Random.Default.nextLong() is non-deterministic, which would silently produce different goldens on each instantiation if mirrored here.

Constructors

ReservoirHistogram

constructor(capacity: Int = 1024, seed: Long)(source)

Properties

capacity

Reservoir size (capacity of retained samples).

seed

PRNG seed for reproducible reservoir admission.