Pandemic Two – Self Isolation

Previously, I wrote a simple pandemic simulation. Now I have extended it to model self isolation measures. To do this I changed the model in the following ways: the virus has an extra property which is the period immediately after infection for which the patient is asymptomatic.The population now has two levels of sociability: one … Continue reading Pandemic Two – Self Isolation

Noughts and Crosses

Hannah Fry was the presenter of this year's Royal Institution Christmas Lectures. There were some beautiful demonstrations (in my opinion) on several mathematical subjects that have relevance in the real world. The demonstration of how vaccination is effective using the zombie apocalypse was very thought provoking as was the Christmas present detection machine, which was … Continue reading Noughts and Crosses

Accessing Resources from Test Cases in Swift

This is just a reminder from me to me. I constantly find myself searching through my previous projects trying to remember how to do this. Putting it in my blog might make it easier to find it in future. Quite often, when writing test cases, I want to access resources that are not Swift code. … Continue reading Accessing Resources from Test Cases in Swift