Add TODO to reimplement weighted distribution using Vose's alias algorithm
This commit is contained in:
parent
4b1d513cd6
commit
470b7a0757
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue