Learn R Programming

BatchExperiments (version 1.3)

addAlgorithm: Add an algorithm to registry.

Description

Add an algorithm to registry and stores it on disk.

Usage

addAlgorithm(reg, id, fun, overwrite = FALSE)

Arguments

reg
[ExperimentRegistry] Registry.
id
[character(1)] Name of algorithm.
fun
[function(job, static, dynamic, ...)] Function which applies the algorithm to a problem instance. Takes a Job object, the static problem part and the evaluated dynamic
overwrite
[logical(1)] Overwrite the algorithm file if it already exists? Default is FALSE.

Value

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

See Also

Other add: Experiment, addExperiments; Problem, addProblem