python_corona_simulation icon indicating copy to clipboard operation
python_corona_simulation copied to clipboard

Refactor methods

Open YaoAnthony opened this issue 4 years ago • 0 comments

This time the pull request again rectifies the whole code base, I put all the behavior such as setting people's destination, infection, etc, into the motion file and instantiate the motion in simulation.py. If we want to add any new motion, just add it in the "simulation_motion" methods. This update would make the whole simulation code more readable and clear.

YaoAnthony avatar Aug 15 '21 16:08 YaoAnthony