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

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