44/// \brief Given the current Result set of the optimizer, calculates the validation error using a validation function and hands the results over to the underlying stopping criterion.
45///
46/// Currently only implemented for functions over RealVector