StatsMonitor
- class negmas.situated.StatsMonitor(type_postfix: str = '')[source]
Bases:
EntityA monitor object capable of receiving stats of a world
Attributes Summary
Returns a short name of the type of this entity
Returns the name of the type of this entity
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: dict[str, Any], world_name: str)[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_()
Called at every time-step. This function is called directly by the world.