# Functions
NewAcknowledgedCounter creates the counter which starts at start.
NewConstant creates a constant generator.
NewCounter creates the Counter generator.
NewDiscrete creates the generator.
NewExponential creats an exponential generator with percential and range.
NewExponentialWithMean creates an exponential generator with a mean arrival rate of gamma.
NewHistogram creates a Histogram generator.
NewHistogramFromFile creates a Histogram generator from file.
NewHotspot creates a Hotspot generator.
NewScrambledZipfian creates a ScrambledZipfian generator.
NewSequential creates a counter that starts at countStart.
NewSkewedLatest creates the SkewedLatest generator.
NewUniform creates the Uniform generator.
NewZipfian creates the Zipfian generator.
NewZipfianWithItems creates the Zipfian generator.
NewZipfianWithRange creates the Zipfian generator.
# Constants
WindowMask is used to turn an ID into a slot in the window.
WindowSize is the size of window of pending acks.
ZipfianConstant is the default constant for the zipfian.
# Structs
AcknowledgedCounter reports generated integers via Last only after they have been acknoledged.
Constant is a trivial generator that always returns the same value.
Counter generates a sequence of integers.
Discrete generates a distribution by choosing from a discrete set of values.
Exponential generates an exponential distribution.
Histogram generates integers according to a histogram distribution.
Hotspot generates integers resembling a hotspot distribution where %x of operations access y% of data items.
Number is a common generator.
ScrambledZipfian produces a sequence of items, such that some items are more popular than others, according to a zipfian distribution.
Sequential generates a sequence of integers 0, 1, ...
SkewedLatest generates a popularity distribution of items, skewed to favor recent items significantly more than older items.
Uniform generates integers randomly.
Zipfian generates the zipfian distribution.