distcomp (version 1.0-1)

makeWorker: Make a worker object given a definition and data

Description

The function makeWorker returns an object of the appropriate type based on a computation definition and sets the data for the object. The types of objects that can be created depend upon the available computations

Usage

makeWorker(defn, data)

Arguments

defn

the computation definition

data

the data for the computation

Value

a worker object of the appropriate class based on the definition

See Also

availableComputations