MCReplicationOracle

constructor(modelIdentifier: String, responseName: String, replicationFunctionBuilder: (streamProvider: RNStreamProviderIfc) -> MCReplicationFunctionIfc, microRepSampleSize: Int = 1, streamProvider: RNStreamProviderIfc = RNStreamProvider(), streamTapePolicy: StreamTapePolicy = StreamTapePolicy())(source)

Parameters

modelIdentifier

the identifier that evaluation requests must carry

responseName

the name of the single response the function observes

replicationFunctionBuilder

builds a fresh single-response function against the oracle's stream provider, acquiring all randomness at construction

microRepSampleSize

the number of function evaluations averaged into one replication (observation); defaults to 1

streamProvider

the provider the oracle owns and positions; defaults to a fresh provider so identically configured oracles reproduce each other exactly

streamTapePolicy

the persistent sub-stream tape; supply one with a non-zero initial position to give a concurrent member its own block of randomness