Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_HOT_FRACTION: Double = 0.5
Link copied to clipboard
const val DEFAULT_ZIPF_EXPONENT: Double = 1.1
Link copied to clipboard
Link copied to clipboard
const val HOT: String
Link copied to clipboard
const val UNIFORM: String
Link copied to clipboard
const val ZIPF: String

Functions

Link copied to clipboard

zipfCumulative of n and s, built once and shared by every chooser that draws from it.

Link copied to clipboard

The cumulative probabilities of the ranks 1 to n under Zipf's law with exponent s.