Speed

class Speed(age: Age, gender: Gender, randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator) : Characteristic

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: ERROR CLASS: Symbol not found for RandomGenerator)

Types

Link copied to clipboard
object Companion

Default configurations.

Properties

Link copied to clipboard
val running: ERROR CLASS: Unresolved name: times (*)

The running speed of the agent.

Link copied to clipboard
val walking: ERROR CLASS: Ambiguity: plus, [kotlin/Double.plus, kotlin/Double.plus, kotlin/Double.plus, kotlin/Double.plus, kotlin/Double.plus, kotlin/Double.plus]

The walking speed of the agent.