package
0.0.0-20240517214603-12a582f1ef68
Repository: https://github.com/edobtc/cloudkit.git
Documentation: pkg.go.dev
# Functions
NewProbabilistic returns an initialized Sample operator.
NewSample returns an initialized Sample operator.
NewUniformChoice returns an initilized weighted choice assignment operator.
NewWeightedChoice returns an initilized weighted choice assignment operator.
# Variables
ErrFailedAssignmentWeightedChoice returns if there is some inability to select a variant at the set weight when the defaults are returned from Assign.
ErrNoVariants Returns when an experiment has no variants.
# Structs
Probabilistic implements a probabilistic selector of variants.
Sample implements a sampler for.
UniformChoice implements an assignment operator for uniform choice selection of variants.
WeightedChoice implements an assignment operator for weighted choice selection of variants.