Class interference_locs3D_metrics_collector

Inheritance Relationships

Base Type

  • public rdmetrics::grid3D_metrics_collector

Class Documentation

class interference_locs3D_metrics_collector : public rdmetrics::grid3D_metrics_collector

Collector for interference_metrics as a 3D grid of where robots most frequently encounter other robots.

Metrics CAN be collected concurrently if the calling context guarantees that no two robots will have the same discrete location. Otherwise, serial collection is required.

Public Functions

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

  • dims – Dimensions of arena.

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