swarmsim.sensors.StaticSensor#

Abstract Static Sensor class.

class swarmsim.sensors.StaticSensor.StaticSensor(parent=None)[source]#

Base Static Sensor class for the agent. This class should not be instantiated directly.

Attributes:
position

Methods

as_config_dict

draw

get_state

set_agent

set_parent

set_seed

state_pretty

step

draw(screen, zoom=1.0)[source]#
step(population)[source]#

Classes

StaticSensor([parent])

Base Static Sensor class for the agent.