Class Compliance

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

    
    public final class Compliance
     implements Characteristic
                        

    The level of compliance of an agent considering its gender and its age.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Double level
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Double getLevel() The calculated level of compliance.
      • Methods inherited from class java.lang.Object

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

      • Compliance

        Compliance(Age age, Gender gender)
        Parameters:
        age -
        the age of the agent.
        gender -
        the gender of the agent.
    • Method Detail

      • getLevel

         final Double getLevel()

        The calculated level of compliance.