|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthealth.AidsSpread
public class AidsSpread
TO DO: Plausible modelling of prevalence of HIV/AIDS in Limpopo the prevalence rate for men is 9.5%, for women it's 13.5% also 1/40% of total population are children
Nested Class Summary | |
---|---|
static class |
AidsSpread.GAMMA
|
Field Summary | |
---|---|
(package private) double |
count
|
(package private) cern.jet.random.Gamma |
gamma
|
Constructor Summary | |
---|---|
AidsSpread()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
boolean |
returnAgentPrevalence(Agent agent)
AVERT.ORG Age (years) Male prevalence % Female prevalence % 2-4 4.9 5.3 5-9 4.2 4.8 10-14 1.6 1.8 15-19 3.2 9.4 20-24 6.0 23.9 25-29 12.1 33.3 30-34 23.3 26.0 35-39 23.3 19.3 40-44 17.5 12.4 45-49 10.3 8.7 50-54 14.2 7.5 55-59 6.4 3.0 60+ 4.0 3.7 Total 8.2 13.3 * |
double |
returnExtendedGamma(double tick)
|
double |
returnGamma(double tick)
Returns the gamma value for own implementation |
double |
returnIncidence()
Returns the incidence based on the Gamma function for COLT library |
double |
returnTransmissionProbabilityKoopman(Agent indexAgent,
int currentTick)
Returns the transmission probability based on Koopman et al. |
double |
returnTransmissionProbabilityWawer(Agent indexAgent)
Returns the transmission probability based on Wawer et al. |
double |
returnTransmissionProbabilityWawerPinkerton(Agent indexAgent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
cern.jet.random.Gamma gamma
double count
Constructor Detail |
---|
public AidsSpread()
Method Detail |
---|
public double returnIncidence()
public double returnGamma(double tick)
tick
-
public double returnExtendedGamma(double tick)
public boolean returnAgentPrevalence(Agent agent)
public double returnTransmissionProbabilityKoopman(Agent indexAgent, int currentTick)
public double returnTransmissionProbabilityWawerPinkerton(Agent indexAgent)
public double returnTransmissionProbabilityWawer(Agent indexAgent)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |