Package-level declarations

Types

Link copied to clipboard
abstract class AbstractWelchDataCollector(statisticType: StatisticType, name: String, batchSize: Double) : WelchDataCollectorIfc

An abstract base class for building collectors of Welch data

Link copied to clipboard
Link copied to clipboard
class WelchDataArrayCollector(maxNumObs: Int, maxNumReps: Int, statisticType: StatisticType, name: String, batchSize: Double) : AbstractWelchDataCollector
Link copied to clipboard
class WelchDataArrayObserver(responseVariable: Response, maxNumObs: Int = 50000, maxNumReps: Int = 20, batchSize: Double) : ModelElementObserver

Collects Welch data in to an array. The size of the array must be specified when creating the observer. Any data that is observed that results in more data than the array size is ignored (not stored).

Link copied to clipboard

The purpose of this interface is to define the behavior of implementations that collect data for the making of Welch plots. The collection should work for either observation or time-persistent data and should not depend upon whether the data is produced directly from a running KSL model. This is to facilitate the reuse of code for data that is generated from other sources such as files or other simulation models. The collection model assumes the following behavior:

Link copied to clipboard

This class knows how to process data collected by the WelchDataFileCollector class and produce "Welch Data". That is for every observation, this file will average across the replications and compute the average across the replications and compute the cumulative sum over the averages.

Link copied to clipboard
class WelchDataFileCollector(pathToDirectory: Path, statisticType: StatisticType, name: String, batchSize: Double) : AbstractWelchDataCollector
Link copied to clipboard
@Serializable
data class WelchFileMetaDataBean(val dataName: String, val pathToFile: String, val numberOfReplications: Int, val numObsInEachReplication: LongArray, val timeOfLastObsInEachReplication: DoubleArray, val minNumObsForReplications: Long, val endReplicationAverages: DoubleArray, val timeBtwObsInEachReplication: DoubleArray, val batchSize: Double, val statisticType: StatisticType)

A data class that holds information about Welch data files in a form that facilitates translation to JSON.

Link copied to clipboard
class WelchFileObserver(responseVariable: Response, batchSize: Double) : ModelElementObserver