createHEWorkerInstance {distcomp} | R Documentation |
Given the definition identifier of an object, instantiate and store object in workspace
Description
The function createHEWorkerInstance
uses a
definition identified by defnId to create the appropriate
object instance for HE computations. The instantiated object is
searched for in the instance path and loaded if already
present, otherwise it is created and assigned the instanceId
and saved under the dataFileName if the latter is specified.
This instantiated object may change state between iterations
when a computation executes
Usage
createHEWorkerInstance(
defnId,
instanceId,
pubkey_bits = NULL,
pubkey_n = NULL,
den_bits = NULL,
dataFileName = NULL
)
Arguments
defnId |
the identifier of an already defined computation |
instanceId |
an indentifier to use for the created instance |
pubkey_bits |
number of bits for public key |
pubkey_n |
the |
den_bits |
the number of bits for the denominator |
dataFileName |
a file name to use for saving the
data. Typically |
Value
TRUE if everything goes well