Description Usage Arguments References
Creates the schedule for a dependency graph. The schedule is the
assignment of the expressions to different processors at different
times. There are many possible scheduling algorithms. The default is
mapSchedule
, which does
simple map parallelism using R's apply family of functions.
1 2 3 4 5 6 7 8 9 10 11 | schedule(graph, data, platform, ...)
## S4 method for signature 'GeneratedCode'
schedule(graph, data, platform, ...)
## S4 method for signature 'TaskGraph'
schedule(graph, data, platform = Platform(),
nWorkers = platform@nWorkers, chunkFuncs = character(),
reduceFuncs = list(), knownReduceFuncs = getKnownReduceFuncs(),
knownChunkFuncs = getKnownChunkFuncs(),
allChunkFuncs = c(knownChunkFuncs, chunkFuncs))
|
graph |
TaskGraph, code dependency graph |
data |
list of data descriptions. Each element is a DataSource. The names of the list elements correspond to the variables in the code that these objects are bound to. |
platform |
Platform describing resource to compute on |
... |
additional arguments to schedule methods |
See Task Scheduling for Parallel Systems, Sinnen, O. for a thorough treatment of what it means to have a valid schedule.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.