kumulant

MinHashResult

@Serializable
@SerialName(value = "MinHashResult")
data class MinHashResult(val numHashes: Int, val seed: Long, val signatures: LongArray, val totalSeen: Long) : Result(source)

MinHash signature snapshot. signatures is the per-hash running minimum of splitmix64(value xor splitmix64(seed + i)) over all updates; merging two snapshots takes element-wise min and requires identical numHashes and seed.

Constructors

MinHashResult

constructor(numHashes: Int, seed: Long, signatures: LongArray, totalSeen: Long)(source)

Properties

numHashes

Number of independent hash functions in the signature.

seed

PRNG seed used to derive the per-hash salts; must match for merge / jaccard.

signatures

Per-hash running minimums; element-wise min produces a valid merge.

totalSeen

Number of update(value) calls absorbed; informational.