StatsMonitor

class negmas.situated.StatsMonitor(type_postfix='')[source]

Bases: Entity

A monitor object capable of receiving stats of a world

Attributes Summary

short_type_name

Returns a short name of the type of this entity

type_name

Returns the name of the type of this entity

type_postfix

Methods Summary

init(stats, world_name)

Called to initialize the monitor before running first step

init_()

Called to initialize the agent after the world is initialized.

step(stats, world_name)

Called at the END of every simulation step

step_()

Called at every time-step.

Attributes Documentation

short_type_name

Returns a short name of the type of this entity

type_name

Returns the name of the type of this entity

type_postfix

Methods Documentation

init(stats, world_name)[source]

Called to initialize the monitor before running first step

init_()

Called to initialize the agent after the world is initialized. the AWI is accessible at this point.

step(stats, world_name)[source]

Called at the END of every simulation step

step_()

Called at every time-step. This function is called directly by the world.