WorldMonitor

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

Bases: Entity

A monitor object capable of monitoring a world. It has read/write access to the 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(world)

Called to initialize the monitor before running first step

init_()

Called to initialize the agent after the world is initialized.

step(world)

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(world)[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(world)[source]

Called at the END of every simulation step

step_()

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