swarmsim.metrics.GroupRotationBehavior#

class swarmsim.metrics.GroupRotationBehavior(history=100)[source]#
Attributes:
average
value

Methods

as_config_dict

attach_world

calculate

center_of_mass

draw

out_average

out_current

reset

set_value

__init__(history=100)[source]#

Methods

__init__([history])

as_config_dict()

attach_world(world)

calculate()

center_of_mass()

draw(screen[, zoom])

out_average()

out_current()

reset()

set_value(value)

Attributes

average

instantaneous

value