aitoa.load.algo.dir: Load a Directory with all Results for one Algorithm

Description Usage Arguments Value See Also

View source: R/load_algorithm_dir.R

Description

Load all the log files in an algorithm directory recursively

Usage

1
2
3
4
5
6
aitoa.load.algo.dir(
  algo.dir,
  keep.columns = c("fes", "t", "f"),
  make.time.unique = FALSE,
  f.must.be.improving = TRUE
)

Arguments

algo.dir

the algorithm directory

keep.columns

the columns to keep, any vector containing elements "t" (for time), "f" (for the objective value), and "fes" (for the consumed FEs)

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.

Value

a list of list of data frames, each loaded via aitoa.load.inst.dir, where the names are the instances

See Also

aitoa.load.inst.dir


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