ExpHist guarantees that the returned guess will be within
epsilon
relative error of the true count across a sliding
window of size windowSize
.
Value class wrapper around timestamps (>= 0) used by each bucket.
The paper that introduces the exponential histogram proves that,
given a positive number l
, every integer s can be uniquely
represented as the sum of
Returns an empty instance with the supplied Config.
Returns an instance directly from a number i
.
Returns an instance directly from a number i
. All buckets in
the returned ExpHist will have the same timestamp, equal to
ts
.