wrapBatchTools: wrapBatchTools

Description Usage Arguments Value

View source: R/wrapper.R

Description

Wrap a given objective function to be evaluated via the batchtools package and make it accessible for SPOT.

Usage

1
2
3
4
5
6
wrapBatchTools(
  fun,
  reg = NULL,
  clusterFunction = batchtools::makeClusterFunctionsInteractive(),
  resources = NULL
)

Arguments

fun

function to wrap

reg

batchtools registry, if none is provided, then one will be created automatically

clusterFunction

batchtools clusterFunction, default: makeClusterFunctionsInteractive()

resources

resource list that is passed to batchtools, default NULL

Value

callable function for SPOT


bartzbeielstein/SPOT documentation built on June 13, 2020, 5:58 p.m.