aitoa.plot.runs.on.instance: Plot the Progress of Several Runs one Algorithm on One...

Description Usage Arguments

View source: R/plot_runs_on_instance.R

Description

Plot the progress of a set of runs of one algorithm 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
aitoa.plot.runs.on.instance(
  results.dir = ".",
  algorithm,
  instance,
  time.column = c("t", "fes"),
  max.time = NA_integer_,
  run.colors = aitoa.distinct.colors,
  run.lty = .default.lty,
  run.lwd = .default.lwd,
  make.time.unique = FALSE,
  f.must.be.improving = TRUE,
  max.runs.to.plot = NA_integer_,
  legend.cex = .legend.cex,
  legend.bg = .legend.bg,
  time.axis.text = if (time.column == "t") .time.ms.text else .time.fes.text,
  quality.axis.text = .quality.text,
  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

algorithm

the algorithm id

instance

the instance id to be plotted

time.column

the time column

max.time

an optional maximal time limit

run.colors

a function to generate the colors for the runs

run.lty

the line type to be used for the runs, can be vector

run.lwd

the line width to be used for the runs, can be vector

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.

max.runs.to.plot

an optional number giving the maximum number of runs to be plotted per algorithm

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

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.