matrx.logger.logger.GridWorldLogger

class GridWorldLogger(log_strategy=1, save_path='/logs', file_name='', file_extension='.csv', delimiter=';')

Base logger class for any MATRX Gridworld logger

Attributes
file_name

Make the logger filename publicly available

Methods

log

__init__(self, log_strategy=1, save_path='/logs', file_name='', file_extension='.csv', delimiter=';')

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

Methods

__init__(self[, log_strategy, 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