Speed

class Speed(age: Age, gender: Gender, randomGenerator: RandomGenerator) : Characteristic(source)

The speed of an agent considering its age, gender and a random factor.

Parameters

age
the age of the agent.
gender
the gender of the agent.
randomGenerator
the simulation {@link RandomGenerator}.

Constructors

Link copied to clipboard
constructor(age: Age, gender: Gender, randomGenerator: RandomGenerator)

Types

Link copied to clipboard
object Companion

Default configurations.

Properties

Link copied to clipboard

The running speed of the agent.

Link copied to clipboard

The walking speed of the agent.