Blomko.Lib.WeightedRandom NuGet Package

Creates a weighted random distribution.

Can be used when certain values should occure more or less than when using Random. Values and distribution weight is supplied into the constructor.

WeightedRandom.Next() can then be called to get the next value.




Got any Blomko.Lib.WeightedRandom Question?





Info

Version: 1.0.0
Author(s): Niklas Blomqvist
Last Update: Wednesday, January 8, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/blomqvist/Blomko.Lib
NuGet Url: https://www.nuget.org/packages/Blomko.Lib.WeightedRandom


Install
Install-Package Blomko.Lib.WeightedRandom
dotnet add package Blomko.Lib.WeightedRandom
paket add Blomko.Lib.WeightedRandom
Blomko.Lib.WeightedRandom Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

1579