InstantaneousMetric

abstract class InstantaneousMetric : Metric

A metric that fires discrete events during simulation.

Instantaneous metrics report values only when discrete events occur, such as an arrival or departure in the queue.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The number of samples collected for this metric.

Functions

Link copied to clipboard
fun onFire(callback: (Instant, Double) -> Unit)

Registers a listener to be invoked when this metric fires.