pub trait LogElementSpace: Space {
    fn log_element<L: StatsLogger + ?Sized>(
        &self,
        name: &'static str,
        element: &Self::Element,
        logger: &mut L
    ) -> Result<(), LogError>; }
Expand description

A space whose elements can be logged to a StatsLogger

Required Methods

Log an element of the space

Implementors

Log the index as a sample from 0..N

Log the index as a sample from 0..N