Logging

The MATRX simulation can be logged every tick, with results written to csv files. By default a number of loggers are already implemented and ready to use:

matrx.logger.log_agent_actions.LogActions([…])

Logs per agent the action performed per tick

matrx.logger.log_idle_agents.LogIdleAgents([…])

Logs the number of idle agents per tick

matrx.logger.log_tick.LogDuration([…])

Log the number of ticks the Gridworld was running on completion

matrx.logger.log_messages.MessageLogger([…])

Logs messages send and received by (all) agents

matrx.logger.logger.GridWorldLogger([…])

Base logger class for any MATRX Gridworld logger