Class base_env_dynamics_metrics
Defined in File base_env_dynamics_metrics.hpp
Inheritance Relationships
Base Type
public rmetrics::base_metrics
Class Documentation
-
class base_env_dynamics_metrics : public virtual rmetrics::base_metrics
Defines the metrics to be collected from the environment and the swarm about the different types of environmental variance that can be applied to each. Project-specific types of environmental variances (e.g. those relating to caches can be defined by deriving from this class).
Not really “metrics” per-se, but more of a way to record variances for later usage in post-processing.
Metrics are collected and output EVERY timestep.
Public Functions
-
base_env_dynamics_metrics(void) = default
-
virtual ~base_env_dynamics_metrics(void) = default
-
virtual rtypes::timestep arena_block_manip_penalty(void) const = 0
Return the current value of the block manipulation penalty present in the arena.
-
virtual double avg_motion_throttle(void) const = 0
Return the average motion throttling within the swarm, as a percentage [0, 1.0].
-
base_env_dynamics_metrics(void) = default