LinearCountingResult
@Serializable
@SerialName(value = "LinearCountingResult")
Linear-counting bitset snapshot. estimate = -bits * ln(unsetBits / bits); saturates to Double.POSITIVE_INFINITY when every bit is set. words is the raw bitset for lossless merging.
Constructors
LinearCountingResult
Properties
bits
estimate
hasher
Reference to the com.eignex.kumulant.math.LongHasher that produced this sketch.
The mixer decides which bit a key touches, so combining sketches built with different mixers is meaningless. Carried on the wire so LinearCountingStat.merge can refuse it, matching com.eignex.kumulant.stat.sketch.BloomFilterResult. Defaults to the library default so a payload encoded before the field existed still decodes.
totalSeen
totalWeights
Cumulative weight of observations folded into this result.