aitoa.plot.progress.stat.on.instance: Plot the Progress of a Set of Algorithms on One Instance

Description Usage Arguments

View source: R/plot_progress_stat_on_instance.R

Description

Plot the progress of a set of algorithms on one instance.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
aitoa.plot.progress.stat.on.instance(
  results.dir = ".",
  algorithms,
  instance,
  instance.name = instance,
  time.column = c("t", "fes"),
  max.time = NA_integer_,
  algorithm.colors = aitoa.distinct.colors(length(algorithms)),
  quantiles = .stat.plot.default.quantiles,
  center.stat = median,
  center.lty = .default.lty,
  center.lwd = .thick.lwd,
  quantile.transparency = 0.8,
  make.stairs.quantiles = FALSE,
  make.stairs.center = FALSE,
  instance.limit = NA_integer_,
  instance.limit.name = NA_character_,
  instance.limit.color = .instance.limit.color,
  instance.limit.lty = .instance.limit.lty,
  instance.limit.lwd = .instance.limit.lwd,
  legend.cex = .legend.cex,
  legend.bg = .legend.bg,
  time.axis.text = if (time.column[[1L]] == "t") .time.ms.text else .time.fes.text,
  quality.axis.text = .quality.text,
  make.time.unique = (time.column[[1L]] == "t"),
  f.must.be.improving = TRUE,
  use.f.range.from.raw.data = FALSE,
  mgp = .default.mgp,
  tck = .default.tck,
  cex = .default.cex,
  mar = .default.mar.without.labels,
  ...
)

Arguments

results.dir

the directory where the results can be loaded from

algorithms

a list of algorithsm, the names of which (if provided) are used for the legend

instance

the instance id to be plotted

instance.name

the name of the instance to show in the legend

time.column

the time column

max.time

an optional maximal time limit

algorithm.colors

a character vector of the same length as algorithms providing the colors to be used for the algorithms

quantiles

the quantiles to be plotted in a shaded fashion: all values must be >= 0 and < 0.5 and are mirrored. I.e., if you specify 0.2, then the region between the 0.2 and 0.8 quantile will be plotted semi-transparent.

center.stat

the central statistic to plot, usually the median or mean

center.lty

the line type to be used for the median lines

center.lwd

the line width to be used for median lines

quantile.transparency

the transparency to be applied to each quantile polygon

make.stairs.quantiles

should the quantiles be shown as stairs (TRUE) or linear interpolation (FALSE)

make.stairs.center

should the center statistic be shown as stairs (TRUE) or linear interpolation (FALSE)

instance.limit

an opional quality limit to be plotted as horizontal line

instance.limit.name

the optional name of the quality limit

instance.limit.color

the color for the instance limit line

instance.limit.lty

the line type for the instance limit line

instance.limit.lwd

the line width for the instance limit line

legend.cex

the character scaling for the legend

legend.bg

the background color for the legend

time.axis.text

the text to be used for labeling the time axis, NA for omit label

quality.axis.text

the text to be used for labeling the quality axis, NA for omit label

make.time.unique

should we make the time indices unique (except maybe for the first and last point)? This makes sense when we want to plot diagrams over a time axis, as we then have removed redundant points right away. If make.time.unique==FALSE, then there may be multiple improvements at the same time index due to the resolution of the computer clock (while each improvement will definitely have a unique FE).

f.must.be.improving

true if the logged objective values must be strictly improving? This is the default way logs are generated by aitoa. However, you can also create a log where every single sampled solution is logged, so then you must set f.must.be.improving=FALSE to load the data.

use.f.range.from.raw.data

should we use the real data to compute the range of the y-axis, or should the range depend on the computed statistics only (default)?

mgp

the mgp parameter to be passed to plot

tck

the tck parameter to be passed to plot

cex

the default character scaling

mar

the default margins

...

parameters to be passed to par


thomasWeise/aitoaEvaluate documentation built on Dec. 6, 2020, 1:22 p.m.