Class dist2D_pos_metrics_collector

Inheritance Relationships

Base Type

  • public rdmetrics::grid2D_metrics_collector

Class Documentation

class dist2D_pos_metrics_collector : public rdmetrics::grid2D_metrics_collector

Collector for dist2D_metrics.

Metrics MUST be collected serially; concurrent updates to the gathered stats are not supported.

Public Functions

dist2D_pos_metrics_collector(std::unique_ptr<rmetrics::base_sink> sink, const rmath::vector2z &dims)
Parameters:
  • sink – The metrics sink to use.

  • dims – Dimensions of arena.

void collect(const rmetrics::base_metrics &metrics) override