SAStep
data class SAStep(val x: Double, val fOfX: Double, val rmSeries: Double, val rsc: Double, val stoppingCriteria: Double, val iterationCount: Int)(source)
Immutable snapshot of the SA algorithm state at the completion of one iteration. Emitted through SAStepEmitterIfc.stepEmitter and optionally accumulated via StochasticApproximationRootFinder.saveSteps. Safe to store, share, or pass across threads without mutation risk.
Parameters
x
Candidate root evaluated this iteration.
f Of X
Function value f(x).
rm Series
Robbins-Monroe series value after Kesten update this iteration.
rsc
Exponentially smoothed accumulator after update this iteration: rsc = alpha * rsc_prev + (1 - alpha) * f(x).
stopping Criteria
Convergence signal |scaleFactor * rmSeries * rsc|.
iteration Count
1-based iteration number when this snapshot was taken.