Class grid2D_metrics_collector
Defined in File grid2D_metrics_collector.hpp
Inheritance Relationships
Base Type
public rcppsw::metrics::base_collector
(Class base_collector)
Class Documentation
-
class grid2D_metrics_collector : public rcppsw::metrics::base_collector
Base class for collectors using a 2D grid to fill with counts of SOMETHING, to be averaged over the entire simulation. Each line of the resulting .csv file corresponds directly to a row in X of the 2D grid.
Public Functions
-
inline grid2D_metrics_collector(std::unique_ptr<rmetrics::base_sink> sink, const math::vector2z &dims)
- Parameters:
sink – The metrics sink to use.
dims – Dimensions of grid.
-
inline grid2D_metrics_collector(std::unique_ptr<rmetrics::base_sink> sink, const math::vector2z &dims)