ecsendmail / MultiverseContagion

1 stars 3 forks source link

Population size & transmission chains #7

Closed ashlinrichardson closed 3 years ago

ashlinrichardson commented 3 years ago

Hi: I will get to the line numbers later.... The answer to (2) is that the population has to be initialized, and there are variables set by reading the csv files before the initialization routines.....so if no csv files, could go straight to initialization and defaults, but this would have to be done in the code to suppress reading csv files....right now, if you go straight to clock advance, there would be faults. The answer to (3) is that you have nailed it....I think that your algebraic definition is unnecessarily formal.....but there are some constraints: a - no cycles ie if Link(a,b) and Link(b,c) then there the set of links L(c,a) is EMPTY b - if a link L(a,b) means that a infects b, then b occurs only once in the entire set {L}

Ernie

On Sat, Nov 7, 2020 at 2:58 PM Richardson, Ashlin CITZ:EX Ashlin.Richardson@gov.bc.ca wrote: Hi Ernie,

A few questions to help me pick this back up..

  1. could you please confirm code line numbers (relative to your latest version that's online in the repo) for the following things (if they exist in the code, whereas if some of them are calculated manually, please forward a spreadsheet which illustrates the calculation to be automated):

I didn't list the transmission chain aspect since (presumably) the console would show me where that is

  1. Do you have a method for varying the population size, other than manually generating input files? I wasn't clear on whether you have an existing method to "automatically" generate or revise the inputs, or randomly sample slices from them etc.

  2. Please clarify a terse definition for "chain of transmission"? E.g. given the ordered pairs I_i = (x_i, y_i) I_i meaning x_i infects y_i..

..a chain of transmission is a sequence: I_1, I_2, .., In (i \in 1,...,n) such that: y(i + 1) = x_i (\forall 1 < i < n)?

Automating counting length of chains looks fun / easy, want to check I'm clear on the details first cheers

Ash