42/// \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.
43///
44/// Currently only implemented for functions over RealVector