Add TODO to reimplement weighted distribution using Vose's alias algorithm

This commit is contained in:
Nikita Lisitsa 2024-01-26 13:29:04 +03:00
parent 4b1d513cd6
commit 470b7a0757

View file

@ -8,6 +8,9 @@
namespace psemek::random
{
// TODO: reimplement in O(1) using Vose's Alias Algorithm
// https://www.keithschwarz.com/darts-dice-coins/
template <typename T>
struct weighted_distribution
{