matrx.logger.log_idle_agents.LogIdleAgents

class LogIdleAgents(log_strategy=1, save_path='', file_name_prefix='', file_extension='.csv', delimeter=';')

Logs the number of idle agents per tick

Attributes
file_name

Make the logger filename publicly available

Methods

log

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

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