Description Usage Arguments Value
View source: R/make_runner_function.R
Given a set of n algorithms A (parameter A
) with
parameters θ_i, i \in A (parameter A.pars
) the goal is
to produce a function f = function(x, ...)
that expects a problem
instance x
and optional arguments ...
. The function shall
run each algorithm A_i \in A parameterized with θ_i on
x
. In case of stochastic/randomized algorithms each algorithm should
be run multiple times (parameter repls
) returning an aggregated
value (parameter aggr.fun
).
1 2 3 4 5 6 7 8 | make_runner_function(
A,
A.pars,
runner.fun,
repls = 1L,
aggr.fun = base::mean,
named.result = TRUE
)
|
A |
[ |
A.pars |
[ |
runner.fun |
[ |
repls |
[ |
aggr.fun |
[ |
named.result |
[ |
[function(x, ...)
] Factorized function (see description).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.