getCumulative function

Gets the cumulative number of infected hosts for the full length of the simulation