Open Nithanaroy opened 4 years ago
Currently City.spread_disease function in simulator.ipynb is O(n^2), where n is the City's population. Use techniques like Spatial K-nn [1] to reduce its runtime to be able to scale to city's with bigger populations.
City.spread_disease function
O(n^2)
n
Currently
City.spread_disease function
in simulator.ipynb isO(n^2)
, wheren
is the City's population. Use techniques like Spatial K-nn [1] to reduce its runtime to be able to scale to city's with bigger populations.