matrx.logger.log_tick.LogDuration

class LogDuration(save_path='', file_name_prefix='', file_extension='.csv', delimeter=';')

Log the number of ticks the Gridworld was running on completion

Attributes
file_name

Make the logger filename publicly available

Methods

log

__init__(self, save_path='', file_name_prefix='', file_extension='.csv', delimeter=';')

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self[, save_path, …])

Initialize self.

log(self, grid_world, agent_data)

Attributes

LOG_ON_FIRST_TICK

LOG_ON_GOAL_REACHED

LOG_ON_LAST_TICK

file_name

Make the logger filename publicly available