aitoa.plot.gantt.for.stat.on.multiple.instances: Plot Multiple Gantt Charts for one Statistic into one Diagram

Description Usage Arguments

View source: R/plot_gantt_for_stat_on_multiple_instances.R

Description

Multiple Gantt charts fitting to one statistic are plotted into a single diagram in a column. #' @title Plot a Gantt Chart based on End Result Statistics

Plot a Gantt chart extract from a log file matching a given end result statistic.

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
34
35
36
37
aitoa.plot.gantt.for.stat.on.multiple.instances(
  end.result.stats,
  results.dir,
  algorithm,
  instances,
  statistic = c("best.f.median", "best.f.min", "best.f.q050", "best.f.q159",
    "best.f.q250", "best.f.q750", "best.f.q841", "best.f.q950", "best.f.max",
    "best.f.mean", "success.time.min", "success.time.max", "success.fes.min",
    "success.fes.max"),
  machine.name.func = as.character,
  job.colors = NA_character_,
  print.job.names = TRUE,
  job.name.func = as.character,
  job.name.cex = .gantt.default.job.name.cex,
  xlab = NA_character_,
  ylab = NA_character_,
  time.max = NA_integer_,
  instances.limit = NA_integer_,
  instances.limit.name = NA_character_,
  instance.limit.cex = .instance.limit.cex,
  instance.limit.color = .instance.limit.color,
  instance.limit.lty = .instance.limit.lty,
  instance.limit.lwd = .instance.limit.lwd,
  instance.limit.adj = .gantt.default.instance.limit.adj,
  center.label.cex = .gantt.label.cex,
  center.label.bg = .gantt.label.bg,
  las = 1L,
  xaxs = "i",
  yaxs = "i",
  mgp = .default.mgp,
  tck = .default.tck,
  cex = .default.cex,
  mar = if ((is.null(xlab) || is.na(xlab)) && (is.null(ylab) || is.na(ylab)))
    .default.mar.without.labels else NULL,
  mar.single = .default.mar.without.labels,
  ...
)

Arguments

end.result.stats

the end result statistics frame, as obtained with aitoa.load.end.result.stats

results.dir

the directory where to search the run log files

algorithm

the algorithm id

instances

the instance ids, the names of the list are used as instance names

statistic

the statistics for which a matching run should be sought

machine.name.func

a function converting a machine index into a character string with the machine name. The first machine index is 0L, the last one length(x) - 1L.

job.colors

an optional vector of job colors

print.job.names

should the job names be printed into the job rectangles?

job.name.func

a function converting a job index into a character string, only used if isTRUE(print.job.names), the job indices passed on depend on the indices present in x.

job.name.cex

the scaling for job names, only considered if isTRUE(print.job.names)

xlab

the label for the x-axis

ylab

the label for the y-axis

time.max

an optional maximal time value

instances.limit

an opional quality limit to be plotted as horizontal line

instances.limit.name

the optional name of the quality limit, NA for omit

instance.limit.cex

the font scaling for the instance limit annotation (only if !is.na(instance.limit.name))

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

instance.limit.adj

the adjustment for the instance limit annotation (only if !is.na(instance.limit.name))

center.label.cex

the font size multiplier for the label

center.label.bg

the background for the label

las

the axis label oriantation (this is the default to be passed to plot, better don't change)

xaxs

the x-axis interval type (this is the default to be passed to plot, better don't change)

yaxs

the y-axis interval type (this is the default to be passed to plot, better don't change)

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

mar.single

potential individual margins to be passed to the single diagrams

...

parameters to be passed to plot


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