Method GetEstimatedNumberUniqueValuesAllowingForCollisions
GetEstimatedNumberUniqueValuesAllowingForCollisions(Int32, Int32)
Given a setSize
and a the number of set bits, produces an estimate of the number of unique values recorded.
Declaration
public static int GetEstimatedNumberUniqueValuesAllowingForCollisions(int setSize, int numRecordedBits)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | setSize | |
System.Int32 | numRecordedBits |
Returns
Type | Description |
---|---|
System.Int32 |