addAlgorithm | R Documentation |
Algorithms are functions which get the codedata part as well as the problem instance (the return value of the
function defined in Problem
) and return an arbitrary R object.
This function serializes all components to the file system and registers the algorithm in the ExperimentRegistry
.
removeAlgorithm
removes all jobs from the registry which depend on the specific algorithm.
reg$algorithms
holds the IDs of already defined algorithms.
addAlgorithm(name, fun = NULL, reg = getDefaultRegistry())
removeAlgorithms(name, reg = getDefaultRegistry())
name |
[ |
fun |
[ If you do not provide a function, it defaults to a function which just returns the instance. |
reg |
[ |
[Algorithm
]. Object of class “Algorithm”.
Problem
, addExperiments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.