accept_strict_improvement function

Default acceptance function. Accept current score if and only if all elements are less than or equal than in best score and there's at least one improvement.

Default acceptance function. Accept current score if and only if all elements are less than or equal than in best score and there's at least one improvement.

accept_strict_improvement(current_score, best_score, ...)

Arguments

  • current_score: One- or multi-dimensional score from the current optimizing iteration (double or vector of doubles)
  • best_score: Best one- or multi-dimensional score found so far (double or vector of doubles)
  • ...: Ignored arguments that may be used by alternative acceptance functions

Returns

Boolean, TRUE if current score should be taken as the new optimal score, FALSE otherwise