R/score_accept.R
accept_leftmost_improvement.Rd
Alternative acceptance function for multi-dimensional scores in which order (left to right, e.g. first to last) denotes relevance.
accept_leftmost_improvement(current_score, best_score, ..., tolerance = 0)
One- or multi-dimensional score from the current optimizing iteration (double or vector of doubles)
Best one- or multi-dimensional score found so far (double or vector of doubles)
Ignored arguments that may be used by alternative acceptance functions
Tolerance value: When comparing score vectors from left to right, differences within +/- tol won't immediately shortcut the comparison at this point, allowing improvement in a less important score to exhibit some influence
Boolean, TRUE if current score should be taken as the new optimal score, FALSE otherwise