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

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