fold Visit
open fun foldVisit(newObservations: EstimatedResponse, prior: PenaltyMemory?, iteration: Int): PenaltyMemory?(source)
Folds a visit's new observations for this penalty's constraint into the prior memory, returning the snapshot to carry on the resulting solution. Memoryless penalties keep the default (null).
Parameters
new Observations
the estimate over the observations obtained at this visit
prior
the memory carried from a prior visit, or null on the first visit
iteration
the current evaluation iteration