Text minhashpermutations multiplier - CyrilB1531/lodestar GitHub Wiki
Development build. This page describes
main, not a released package. The latest published Lodestar.Text is 0.6.0 — read its documentation.
Home › Text › Set similarity
MinHashPermutations.Multiplier
The a coefficient of one permutation.
public ulong Multiplier(int index)
Parameters — index is which permutation, from zero.
Returns — ulong, the multiplier supplied for it.
Exceptions — ArgumentOutOfRangeException when index is outside the set.
Example — the shape a caller writes.
using Lodestar.Text.Similarity;
var permutations = new MinHashPermutations([3UL, 5UL], [13UL, 17UL]);
ulong second = permutations.Multiplier(1); // => 5
Applies to — net10.0, netstandard2.0.
See also — MinHashPermutations.Addend.