149 /// \brief Accesses the best solution obtained so far.
150 /// \return An immutable reference to the best solution obtained so far.
151virtualSolutionTypeconst& solution() const = 0; //mt_hint: try accessing this thing via solution().point and solution().value..
152
153protected:
154 /// \brief Convenience function that checks whether the features of the supplied objective function match with the required features of the optimizer.
155 /// \param [in] objectiveFunction The function to match with.