Blomko.Lib.WeightedRandom 1.0.0

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.

Install-Package Blomko.Lib.WeightedRandom -Version 1.0.0
dotnet add package Blomko.Lib.WeightedRandom --version 1.0.0
<PackageReference Include="Blomko.Lib.WeightedRandom" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Blomko.Lib.WeightedRandom --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Blomko.Lib.WeightedRandom, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Blomko.Lib.WeightedRandom as a Cake Addin
#addin nuget:?package=Blomko.Lib.WeightedRandom&version=1.0.0

// Install Blomko.Lib.WeightedRandom as a Cake Tool
#tool nuget:?package=Blomko.Lib.WeightedRandom&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 300 1/8/2020