code: protected void updateCurrentSolution(SolutionType solution, Evaluation evaluation, Validation validation){
          // store new current solution
          curSolution = solution;
          // store evaluation and validation
          curSolutionEvaluation = evaluation;
          curSolutionValidation = validation;
          // inform listeners
          fireNewCurrentSolution(curSolution, curSolutionEvaluation, curSolutionValidation);
      }
docs: Update the current solution during search, given that it has already been evaluated and validated.
  The new current solution and its evaluation/validation are stored and attached local search listeners
  are informed about this update. The update always takes place, it is <b>not</b> required that the
  current solution is valid.
  
  @param solution new current solution
  @param evaluation evaluation of new current solution
  @param validation validation of new current solution