Esempio n. 1
0
 public Iterator([NotNull] BackBuffer backBuffer)
 {
     _context = new IteratorContext(backBuffer);
 }
Esempio n. 2
0
        public int NextIndex([NotNull] IteratorContext context)
        {
            var i = context.RandomInteger() % mTableSize;

            return(_quantizedProbTable[i]);
        }
Esempio n. 3
0
 internal CalculationState([NotNull] IteratorContext context)
 {
     Context = context ?? throw new ArgumentNullException(nameof(context));
 }
Esempio n. 4
0
 internal IterationThread([NotNull] IteratorContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }