Closed Jammy2211 closed 4 years ago
Yeah it's probably over-engineered.
I guess there are two reasons for having it as a class:
For example, you might also associate a transmission constant with each form of transport that could be comprised by this class.
However, in the short term there isn't much motivation for having it as a class instead of a string.
I think it is good to leave it as a class since, as Richard says, the aim is to have interaction intensities associated to different means of transport.
Don't we only care about the distinction between public and private transport? Although perhaps we want to make something more precise (like buses are smaller than subway trains). Although in the end you should more or less interact with the same number of people in both, there are some subtle distinctions like you don't interact with everyone in the same subway train, but the subway is closer than a bus and could potentially help the spread of the disease. We need to think about it
Let us for the time being only go public vs. private.
We can later become more specific - so, structurally I would make it a class, with currently only two instances.
On 24/04/2020 17:14, florpi wrote:
Don't we only care about the distinction between public and private transport? Although perhaps we want to make something more precise (like buses are smaller than subway trains). Although in the end you should more or less interact with the same number of people in both, there are some subtle distinctions like you don't interact with everyone in the same subway train, but the subway is closer than a bus and could potentially help the spread of the disease. We need to think about it
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JosephPB/covidmodelling/issues/32#issuecomment-619107121, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBDWIHYL5N6RY2QQNWEL6TROG3G5ANCNFSM4MQAKTAQ.
--
Professor Frank Krauss
Royal Society Wolfson Fellow
Institute for Particle Physics Phenomenology Director, Institute for Data Science Durham University
Durham DH1 3LE United Kingdom
Better yet we can add a public/private attribute in the configuration. We would still know the specific form of transport.
On 24 Apr 2020, at 17:26, FrankKrauss notifications@github.com wrote:
Let us for the time being only go public vs. private.
We can later become more specific - so, structurally I would make it a class, with currently only two instances.
On 24/04/2020 17:14, florpi wrote:
Don't we only care about the distinction between public and private transport? Although perhaps we want to make something more precise (like buses are smaller than subway trains). Although in the end you should more or less interact with the same number of people in both, there are some subtle distinctions like you don't interact with everyone in the same subway train, but the subway is closer than a bus and could potentially help the spread of the disease. We need to think about it
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JosephPB/covidmodelling/issues/32#issuecomment-619107121, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBDWIHYL5N6RY2QQNWEL6TROG3G5ANCNFSM4MQAKTAQ.
--
Professor Frank Krauss
Royal Society Wolfson Fellow
Institute for Particle Physics Phenomenology Director, Institute for Data Science Durham University
Durham DH1 3LE United Kingdom
Tel: +44 191 3343751 https://www.ippp.dur.ac.uk/profile/krauss
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JosephPB/covidmodelling/issues/32#issuecomment-619113848, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQRGMQI3SBBWETB4I4CA7TROG4TZANCNFSM4MQAKTAQ.
https://github.com/JosephPB/covidmodelling/pull/40 adds is_public to each mode of transport.
Is there any reason that this needs to be a class as opposed to a string? Looking within the commute module it seems a bit overkill to make this a class, assuming that:
Once I'm more familiar with the code-base I'll have a go at sorting this.