DataSet: Constructor of S3 class 'DataSet'

View source: R/DataSet.R

DataSetR Documentation

Constructor of S3 class 'DataSet'

Description

DataSet contains the following attributes * funId * DIM * algId * datafile * instance * maxEvals * finalFunEvals * comment * Additional attributes based on the original format

Usage

DataSet(
  info,
  verbose = F,
  maximization = NULL,
  format = IOHprofiler,
  subsampling = FALSE,
  full_sampling = FALSE
)

Arguments

info

A List. Contains a set of in a *.info file.

verbose

Logical.

maximization

Logical. Whether the underlying optimization algorithm performs a maximization? Set to NULL to determine automatically based on format

format

A character. The format of data source, either 'IOHProfiler', 'COCO' or 'TWO_COL"

subsampling

Logical. Whether *.cdat files are subsampled?

full_sampling

Logical. Whether the raw (unaligned) FV matrix should be stored. Currenlt only useful when a correlation plot between function values and parameters should be made

Value

A S3 object 'DataSet'

Examples

path <- system.file('extdata', 'ONE_PLUS_LAMDA_EA', package = 'IOHanalyzer')
info <- read_index_file(file.path(path, 'IOHprofiler_f1_i1.info'))
DataSet(info[[1]])

IOHanalyzer documentation built on Sept. 20, 2023, 5:07 p.m.