-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVirus.h
73 lines (42 loc) · 1.45 KB
/
Virus.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#ifndef TA_TO_VIRUS_H
#define TA_TO_VIRUS_H
class Virus {
private:
double d_chance;
double i_chance;
double spread_chance_max;
double spread_chance_min;
double degreeStep;
double max_recovery_chance;
int recovery_steps;
int vaccination_delay;
double vaccination_growth;
double vaccine_effectiveness;
int quarantine;
public:
Virus();
double getDChance() const;
double getIChance() const;
double getMaxSpreadChance() const;
double getMinSpreadChance() const;
double getMaxRecoveryChance() const;
int getRecoverySteps() const;
double getRecoverChance() const;
double getDegreeStep() const;
int getVaccinationDelay() const;
double getVaccinationGrowth() const;
int getQuarantine() const;
void setDChance(double dChance);
void setIChance(double iChance);
void setMaxSpreadChance(double maxSpreadChance);
void setMinSpreadChance(double minSpreadChance);
void setDegreeStep(double degreeStep);
void setVaccinationDelay(int vaccinationDelay);
void setVaccinationGrowth(double vaccinationGrowth);
void setMaxRecoveryChance(double maxRecoveryChance);
void setRecoverySteps(int recoverySteps);
void setVaccineEffectiveness(double vaccineEffectiveness);
double getVaccineEffectiveness() const;
void setQuarantine(int quarantine);
};
#endif //TA_TO_VIRUS_H