swarmauri.core.metrics.IMetricAggregate module

class swarmauri.core.metrics.IMetricAggregate.IMetricAggregate[source]

Bases: ABC

abstract add_measurement(measurement)[source]
Return type:

None

abstract reset()[source]

Reset or clear the metric’s current state, starting fresh as if no data had been processed. This is useful for metrics that might aggregate or average data over time and need to be reset.

Return type:

None