Regulator class

Not all components of an AI system need to be updated in each simulation step. This class can be used to control the update process by defining how many updates should be executed per second.

Constructors

Regulator([double updateFrequency = 0])
Constructs a new regulator.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateFrequency double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ready() bool
Returns true if it is time to allow the next update.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited