public void updateBestSolution ( long time , double value , SolutionType newBestSolution ) { times . add ( time ) ; values . add ( value ) ; bestSolution = newBestSolution ; }
Update the best found solution . The update time and newly obtained value are added to the list of updates and the final best solution is overwritten .