search
applied to the given problem
(in milliseconds). This is a generic S3
method.
getConvergenceTimes(data, problem, search, r = 0.99)
data
contains results for a single problem only.data
contains results for a single search only (for the considered
problem
).data
contains results for a single problem only, the argument
problem
can be omitted. Likewise, if for the considered problem
results are available for a single search only, the argument search
can be omitted.The convergence time of a search run is defined as the time at which a
certain value threshold is crossed. This threshold is computed from the given
convergence ratio r
as follows: if values are being maximized,
thr = (1-r)*min + r*max
; else, thr = (1-r)*max + r*min
, where
min
and max
are the minimum and maximum observed value in the
considered search run, respectively. In case of maximization, a search run is
said to have converged as soon as it reaches a value which is larger than or
equal to the threshold thr
. In case of minimization, convergence
occurs when the values drop below the threshold. The convergence ratio
r
defaults to 0.99. If set to 1, a search run is said to have
converged when the final best solution is found.