The stochastic model was programmed using Intel Visual Fortran to work on any computer using the Microsoft Windows platform, where the random number generators in the IMSL libraries were used. The time step of the stochastic process was adopted to be 1 day, and 100-trial simulations were carried out over 360 days, or until the epidemic was eradicated.