public class Infection
extends java.lang.Object
Constructor and Description |
---|
Infection(int minInfectionTime,
int maxInfectionTime,
double infectionProbability) |
Modifier and Type | Method and Description |
---|---|
int |
getMaximalInfectionTime()
Minimaln doba aku bude infikovany jedinec chory
|
int |
getMinimalInfectionTime()
Maximalna doba aku bude infikovany jedinec chory
|
double |
probability()
Pravdepodobnost, ze sa jedinec nainfikuje, ak pride do styku s infekciou
|
public Infection(int minInfectionTime, int maxInfectionTime, double infectionProbability)
public int getMinimalInfectionTime()
public int getMaximalInfectionTime()
public double probability()