Class kinematics_metrics_data

Inheritance Relationships

Base Type

  • public rmetrics::base_data

Class Documentation

class kinematics_metrics_data : public rmetrics::base_data

Public Functions

inline kinematics_metrics_data(size_t n_robots, size_t n_contexts)
inline auto &cum(void)
inline const auto &cum(void) const
inline auto &interval(void)
inline const auto &interval(void) const
inline size_t n_contexts(void) const
inline size_t n_robots(void) const
inline kinematics_metrics_data &operator+=(const kinematics_metrics_data &rhs)

Accumulate data. We ignore the “cum” field on rhs, and accumulate into our “cum” field using the “interval” field of rhs.

This is the most meaningful semantics I could come up with; I couldn’t find a way to justify accumulating already cumulative data again (it would have required some additional changes/contortions elsewhere).