public Iterator([NotNull] BackBuffer backBuffer) { _context = new IteratorContext(backBuffer); }
public int NextIndex([NotNull] IteratorContext context) { var i = context.RandomInteger() % mTableSize; return(_quantizedProbTable[i]); }
internal CalculationState([NotNull] IteratorContext context) { Context = context ?? throw new ArgumentNullException(nameof(context)); }
internal IterationThread([NotNull] IteratorContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }