DataSetList: S3 constructor of the 'DataSetList'

View source: R/DataSetList.R

DataSetListR Documentation

S3 constructor of the 'DataSetList'

Description

Attributes funId DIM algId

Usage

DataSetList(
  path = NULL,
  verbose = T,
  print_fun = NULL,
  maximization = NULL,
  format = IOHprofiler,
  subsampling = FALSE,
  full_aggregation = TRUE
)

Arguments

path

Path to the data files. Will look for all .info-files in this directory and use the corresponding datafiles to create the DataSetList

verbose

Logical.

print_fun

Function used to print output when in verbose mode

maximization

Logical. Whether the underlying optimization algorithm performs a maximization?

format

A character. The format of data source, options are:

  • 'IOHProfiler'

  • 'COCO'

  • 'TWO_COL'

  • 'COCO_BIOBJ'

  • 'NEVERGRAD'

  • 'SOS'

These formats are specified in more detail in our github wiki.

subsampling

Logical. Whether *.cdat files are subsampled?

full_aggregation

If True, individual DataSets are aggregated as much as possible: all DataSets with the same algorithmname, function id and dimension are combined together. This leads to information loss related to static variables, so only use if that information is not required.

Value

A DataSetList object

Examples

path <- system.file("extdata", "ONE_PLUS_LAMDA_EA", package = "IOHanalyzer")
DataSetList(path)

IOHprofiler/IOHanalyzer documentation built on Feb. 1, 2024, 11:35 a.m.