Interface HumanProperty

  • All Implemented Interfaces:
    it.unibo.alchemist.model.NodeProperty , java.io.Serializable

    
    public interface HumanProperty<T extends Object, S extends Vector<S>, A extends Transformation<S>>
     implements NodeProperty<T>
                        

    A capability representing a pedestrian's individual characteristics.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Double probabilityOfHelping(HeterogeneousPedestrianModel<T, S, A> toHelp, Boolean isGroupMember) Value between 0 and 1 representing the probability this pedestrian will help another pedestrian in difficulty.
      abstract Age getAge() The age of this pedestrian.
      abstract Gender getGender() The gender of this pedestrian.
      abstract Speed getSpeed() The speed of an agent considering its age, gender and a random factor.
      abstract Double getCompliance() Value between 0 and 1 representing the attitude towards conforming to social rules of this pedestrian.
      abstract HelpAttitude getHelpAttitude() The attitude of an agent towards helping another agent.
      • Methods inherited from class it.unibo.alchemist.model.NodeProperty

        cloneOnNewNode, getNode
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getAge

         abstract Age getAge()

        The age of this pedestrian.

      • getSpeed

         abstract Speed getSpeed()

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

      • getCompliance

         abstract Double getCompliance()

        Value between 0 and 1 representing the attitude towards conforming to social rules of this pedestrian.