Learn R Programming

BatchExperiments (version 1.3)

addProblem: Add a problem to registry.

Description

Add a algorithm to problem and stores it on disk.

Usage

addProblem(reg, id, static = NULL, dynamic = NULL, seed = NULL,
  overwrite = FALSE)

Arguments

reg
[ExperimentRegistry] Registry.
id
[character(1)] Name of problem.
static
[any] Static part of problem that never changes and is not dependent on parameters. Default is NULL.
dynamic
[function(job, static, ...)] R generator function that creates dynamic / stochastic part of problem instance, which might be dependent on parameters. First parameter job is a Job
seed
[integer(1)] Start seed for this problem. This allows the synchronization of a stochastic problem across algorithms, so that different algorithms are evaluated on the same stochastic instance. The seeding mechanism works as f
overwrite
[logical(1)] Overwrite the problem file if it already exists? Default is FALSE.

Value

  • [character(1)]. Invisibly returns the id.

See Also

Other add: Algorithm, addAlgorithm; Experiment, addExperiments