Interface AgeStratifiedNetworkConfiguration

All Superinterfaces:
Abstraction.Named, Abstraction.Replica, Serializable, SetupConfiguration
All Known Subinterfaces:
AgeStratifiedNetworkConfiguration._PartialAgeStratifiedNetworkConfiguration
All Known Implementing Classes:
ImmutableAgeStratifiedNetworkConfiguration, PartialAgeStratifiedNetworkConfiguration

@Immutable public interface AgeStratifiedNetworkConfiguration extends SetupConfiguration
  • Field Details

  • Method Details

    • getAgeDistribution

      EmpiricalDistribution getAgeDistribution()
    • getNetworkConnectedness

      int getNetworkConnectedness()
    • getNetworkRandomness

      double getNetworkRandomness()
    • getOddsContactFromAgeDifference

      Abstraction.SimpleFunction getOddsContactFromAgeDifference()
    • getNormalisedOddsContactFromAgeDifference

      @Default default Abstraction.SimpleFunction getNormalisedOddsContactFromAgeDifference()
    • adjustedProbabilityContact

      default double adjustedProbabilityContact(double p, Person one, Person two)
      Compared to an average relationship strength of 1 how close is the relationship between two people, expressed as an odds ratio. I.e. an OR of 2 means that the odds of the contact is doubled. The underlying probability of the contact is still random but this will change the distribution depending on the contact individual.