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(self, grid_world, agent_data)

The main method to be overwritten by your own logger class.

__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)

The main method to be overwritten by your own logger class.

Attributes

LOG_ON_FIRST_TICK

LOG_ON_GOAL_REACHED

LOG_ON_LAST_TICK

file_name

Make the logger filename publicly available