Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun createOptimalSet(maxNumUniqueValues: Int, targetMaxFpp: Float): FuzzySet
Link copied to clipboard
Link copied to clipboard
fun createSetBasedOnQuality(maxNumUniqueValues: Int, desiredMaxSaturation: Float, version: Int): FuzzySet
Link copied to clipboard
Link copied to clipboard
fun getNearestSetSize(maxNumberOfBits: Int): Int

Rounds down required maxNumberOfBits to the nearest number that is made up of all ones as a binary number. Use this method where controlling memory use is paramount.

fun getNearestSetSize(maxNumberOfValuesExpected: Int, desiredSaturation: Float): Int

Use this method to choose a set size where accuracy (low content saturation) is more important than deciding how much memory to throw at the problem.