dime-worldbank / Disease-Modelling-SSA

This repository contains the code for an agent-based model used for COVID-19 in Sub-Saharan Africa. The original code was written in Python by Aivin Solatorio and is since being developed in Java. Complimentary risk modelling has been conducted in R as an intermediate product and is also part of this repo
MIT License
6 stars 2 forks source link

Change string based variables with set names to enums where possible #32

Closed RobertManningSmith closed 1 month ago

RobertManningSmith commented 4 months ago

Some things in the model would be better if written up as enums. We have several things such as names of behaviours, attributes relating to people etc.. that we have set names for, and will only ever be one of the set names for.

Changing these to enums would be a better data type

RobertManningSmith commented 3 months ago

Also going to make some variables private for better encapsulation