Class Speed

  • All Implemented Interfaces:
    it.unibo.alchemist.model.cognitive.impact.individual.Characteristic

    
    public final class Speed
     implements Characteristic
                        

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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Speed.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Double getWalking() The walking speed of the agent.
      final Double getRunning() The running speed of the agent.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Speed

        Speed(Age age, Gender gender, RandomGenerator randomGenerator)
        Parameters:
        age -
        the age of the agent.
        gender -
        the gender of the agent.
        randomGenerator -
        the simulation {@link RandomGenerator}.