Exemple #1
0
        private Cell ChooseNextCell(List <Cell> cells)
        {
            var randomDouble = RandHelper.GetRand().NextDouble();
            var nextCell     = randomDouble < Policy.epsilon ? ChooseRandom(cells) : ChooseHighestRewardValue(cells);

            Policy.UpdateEpsilon();
            return(nextCell);
        }