Template Class manip_event_recorder

Inheritance Relationships

Base Type

  • public ccontroller::metrics::manipulation_metrics

Class Documentation

template<size_t MaxEvents>
class manip_event_recorder : public ccontroller::metrics::manipulation_metrics

Records the state of various events within a single timestep in a controller as they manipulate their environment.

Public Functions

manip_event_recorder(void) = default
~manip_event_recorder(void) = default
inline rtypes::timestep penalty(uint index) const override
inline void record(uint index, const rtypes::timestep &penalty)

Record that the specified event resulted in the specified penalty when it occurred this timestep.

inline void reset(void)
inline bool status(uint index) const override