DataSet: Constructor of S3 class 'DataSet'

Description Usage Arguments Value Examples

View source: R/DataSet.R

Description

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

Usage

1
2
DataSet(info, verbose = F, maximization = NULL, format = IOHprofiler,
  subsampling = 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?

Value

A S3 object 'DataSet'

Examples

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

IOHprofiler/IOHanalyzer documentation built on Aug. 8, 2020, 2:09 a.m.