WelchDataFileCollector

class WelchDataFileCollector(pathToDirectory: Path, statisticType: StatisticType, name: String, batchSize: Double) : AbstractWelchDataCollector

Constructors

Link copied to clipboard
constructor(pathToDirectory: Path, statisticType: StatisticType, name: String, batchSize: Double)

Properties

Link copied to clipboard

The average time between observations in each replication returned as an array. 0 element is the first replication observed. If no replications have been observed then the array will be empty.

Link copied to clipboard
override val batchSize: Double

The size associated with batching the within replication observations. If the data is tally based, then it is the number of observations per batch. If the data is observation-based, then it is the time period over which the time average is computed.

Link copied to clipboard

The file made for the raw data

Link copied to clipboard

The directory for the files

Link copied to clipboard

The base file name for the files

Link copied to clipboard
open override var lastTime: Double

The time that the last observation occurred. The last observed time.

Link copied to clipboard
open override var lastValue: Double

The observation at the last observed time.

Link copied to clipboard

The file handle for the meta-data file. The meta-data file contains the number of replications as the first line, and the number of observations in each of the replications as the subsequent lines

If there have been no replications, then this returns 0

Link copied to clipboard

The number of observations in each replication returned as an array. 0 element is the first replication count. If no replications have been observed then the array will be empty.

Link copied to clipboard
open override val numberOfReplications: Int

The number of full replications observed

Link copied to clipboard

Functions

Link copied to clipboard
open override fun beginReplication()

Should be executed prior to each replication

Link copied to clipboard
open override fun cleanUpCollector()

Should be executed once after all replications have been observed

Link copied to clipboard
open override fun collect(time: Double, value: Double)
Link copied to clipboard
open override fun endReplication()

Should be executed after each replication

Link copied to clipboard

Makes a WelchDataFileAnalyzer based on the file in this collector

Link copied to clipboard
open override fun setUpCollector()

Should be executed once prior to any collection and should be used to clear any statistical collection and prepare the collector for collecting data.

Link copied to clipboard
open override fun toString(): String