コード例 #1
0
 /**
  * Method used in subclasses to notify the completion of an iteration of the algorithm.
  *
  * @param currentSolution solution found at iteration
  * @return true if the algorithm should continue to execute
  */
 public boolean endIteration(Solution currentSolution) {
   if (optimizationResult != null) {
     optimizationResult.endIteration(currentSolution);
   }
   current_it++;
   return current_it < max_it;
 }