Closed mhinsch closed 2 years ago
Thanks, good points. Concerning the data argument: In general, if that works with MA, I would prefer anyway to use a model argument (as I did in marriage!
) that then also contains the towns and houses. That would make the interface across transition functions uniform and would make it easier to separate the scheduling from the simulation.
Probably the best solution would be to have several alaises API
doX!(modelType,...) = doX!(modelType.arg1,modelType.arg2,...)
Marriage is basically done (save a few parameter issues). I've also simplified findNewHouse etc. a bit and added memoization.