swarmsim.metrics.GroupRotationBehavior#

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

Methods

as_config_dict

attach_world

calculate

center_of_mass

draw

out_average

out_current

reset

set_value

__init__(history=None)[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

default_aggregation

value