matrx.logger.log_agent_actions.LogActions

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

Logs per agent the action performed per tick

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