function this = updateTraces(this, IterationNums)
% Update Objective minimum traces and model-based traces
%

%   Copyright 2016-2022 The MathWorks, Inc.

[~, MinObsObjective, MinObsLoc]             = bestPoint(this, 'Criterion', 'min-observed');
this.PrivIndexOfMinimumTrace(IterationNums) = MinObsLoc;
this.PrivFMinTrace(IterationNums)           = MinObsObjective;
this.PrivFMinEstimatedTrace(IterationNums)  = this.MinEstimatedObjective;
end
