makeFunctionsByName function

Generate smoof function by passing a character vector of generator names.

Generate smoof function by passing a character vector of generator names.

This function is especially useful in combination with filterFunctionsByTags to generate a test set of functions with certain properties, e.~g., multimodality.

makeFunctionsByName(fun.names, ...)

Arguments

  • fun.names: [character]

    Non empty character vector of generator function names.

  • ...: [any]

    Further arguments passed to generator.

Returns

[smoof_function]

Examples

# generate a testset of multimodal 2D functions ## Not run: test.set = makeFunctionsByName(filterFunctionsByTags("multimodal"), dimensions = 2L, m = 5L) ## End(Not run)

See Also

filterFunctionsByTags

  • Maintainer: Jakob Bossek
  • License: BSD_2_clause + file LICENSE
  • Last published: 2023-03-10