ResponseBatchingElement

class ResponseBatchingElement @JvmOverloads constructor(modelElement: ModelElement, name: String? = null) : ModelElement(source)

Controls the batching of Response variables within the Model. Used by StatisticalBatchingElement.

Author

rossetti

Constructors

Link copied to clipboard
constructor(modelElement: ModelElement, name: String? = null)

Properties

Link copied to clipboard

Returns a list of summary statistics on all ResponseVariable variables The list is a copy of originals.

Functions

Link copied to clipboard
fun add(response: ResponseCIfc, minNumBatches: Int = BatchStatistic.MIN_NUM_BATCHES, minBatchSize: Int = BatchStatistic.MIN_NUM_OBS_PER_BATCH, maxNBMultiple: Int = BatchStatistic.MAX_BATCH_MULTIPLE, name: String = response.name): BatchStatisticObserver

Adds the supplied Response variable to the batching

Link copied to clipboard
Link copied to clipboard

Returns a statistical summary BatchStatistic on the Response variable across the observed batches.

Link copied to clipboard

Look up the BatchStatisticObserver for the Response

Link copied to clipboard

Gets the CSV Header for the ResponseVariable

Link copied to clipboard
fun getCSVRow(response: ResponseCIfc): String

Gets the CSV row for the Response

Link copied to clipboard
fun remove(response: ResponseCIfc)

Removes the supplied Response variable from the batching

Link copied to clipboard
fun removeAll()

Removes all previously added ResponseVariable from the batching