Entity

class negmas.situated.Entity(type_postfix: str = '')[source]

Bases: object

Defines an entity that is a part of the world but does not participate in the simulation

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()

Override this method to modify initialization logic

init_()

Called to initialize the agent after the world is initialized.

step()

Override this method to modify stepping logic

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

Override this method to modify initialization logic

init_()[source]

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

step()[source]

Override this method to modify stepping logic

step_()[source]

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