Namespace WeightedRandoms
Classes
- WeightedRandomSelection
The WeightedRandomSelection class provides a method for selecting an item from a list based on a weighted random selection algorithm. The weights are calculated based on a normal distribution with the peak at a specified percentage position in the range and with a specified height for the center that adjusts the shape of the curve. The width of the normal distribution can also be adjusted using a specified scaling factor.