ContinuousMetric

abstract class ContinuousMetric : Metric

A metric that is evaluated at each simulation step based on simulation time intervals.

Continuous metrics report a value for each time step, based on the elapsed time since the last report. The metric value is computed by a subclass-provided implementation.

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 report(currentTime: Instant): Double

Reports a value for the current simulation time.