예제 #1
0
            public int RandomIndex(MyRandom random)
            {
                var p = random.Next(Sum);

                return(RandomIndex(Distribution, p));
            }