package
0.99.99-test-ignore
Repository: https://github.com/ava-labs/avalanchego.git
Documentation: pkg.go.dev
# Functions
NewBestUniform returns a new sampler.
NewBestWeightedWithoutReplacement returns a new sampler.
NewUniform returns a new sampler.
NewWeighted returns a new sampler.
NewWeightedWithoutReplacement returns a new sampler.
# Interfaces
Uniform samples values without replacement in the provided range.
Weighted defines how to sample a specified valued based on a provided weighted distribution.
WeightedWithoutReplacement defines how to sample weight without replacement.