add

fun add(tw: TWResponse, minNumBatches: Int = BatchStatistic.MIN_NUM_BATCHES, minBatchSize: Int = BatchStatistic.MIN_NUM_OBS_PER_BATCH, maxNBMultiple: Int = BatchStatistic.MAX_BATCH_MULTIPLE, name: String = tw.name): TWBatchingElement.TWBatchStatisticObserver

Adds the supplied TWResponse variable to the batching

Return

the TWBatchStatisticObserver

Parameters

tw

the TimeWeighted variable to add

minNumBatches

minimum number of batches

minBatchSize

minimum batch size

maxNBMultiple

batch size multiple

name

name for BatchStatistic