accept_leftmost_improvement | R Documentation |
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)
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 |
tolerance |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.