problem
, aggregated over all search runs (mean or
median). This is a generic S3 method.
plotConvergence(data, problem, type = c("mean", "median"), col = "black", plot.type = "s", lty, title = "Convergence curve(s)", subtitle, xlab, ylab = "Value", time.unit = c("milliseconds", "seconds", "minutes", "hours"), min.time, max.time, legend = TRUE, legend.pos, legend.inset = c(0.02, 0.05), legend.names, ...)
data
contains results for a single problem only."mean"
(default) or "median"
. Determines how
the values from the different search runs are aggregated."black"
."Convergence curve(s)"
.subtitle = ""
."Time"
followed by the time unit
within brackets (abbreviated)."Value"
."milliseconds"
(default), "seconds"
,
"minutes"
or "hours"
. Determines the time unit of the values
on the x-
axis.x-
axis, according to the specified time.unit
.x-
axis, according to the specified time.unit
.TRUE
."bottomright"
, "bottom"
, "bottomleft"
,
"left"
, "topleft"
, "top"
, "topright"
,
"right"
and "center"
. Defaults to "bottomright"
in case
values are being maximized or "topright"
in case of minimization.x-
distance, the second for
y-
distance. Defaults to c(0.02, 0.05)
.getSearches
for the given
data
and problem
.matplot
.data
contains results for a single problem only, the argument
problem
can be omitted. If desired to plot convergence curves for a
selection of the applied searches, use reduceJAMES
to extract
the respective data.The curves are plotted using matplot
. More information about the
graphical parameters are provided in the documentation of this function. By
default, a legend is added to the plot. This can be omitted by setting
legend = FALSE
. If desired, a custom legend may then be added. It is
possible to zoom in on a specific region of the plot using the parameters
min.time
and max.time
.
Any additional parameters are passed to matplot
.
matplot