Package 

Class Speed

  • All Implemented Interfaces:
    it.unibo.alchemist.model.cognitiveagents.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
    • Constructor Summary

      Constructors 
      Constructor Description
      Speed(Age age, Gender gender, RandomGenerator rg)
    • 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 rg)
        Parameters:
        age -
            the age of the agent.
        gender -
            the gender of the agent.
        rg -
            the simulation {@link RandomGenerator}.