6.00SC Pset 8 Specification Error? Each ResistantVirus instance in the viruses list should be initialized with the following parameters: • resistances , The virus’s genetic resistance to drugs in the experiment = {guttagonol:False} def reproduce(self, popDensity, activeDrugs): """ If the virus particle is not resistant to any drug in activeDrugs, then it does not reproduce. So, the model instantiates every ResistantVirus with no resistances and then the reproduce method never lets the Viruses reproduce. This can't be intended.
>Run a simulation that consists of 150 time steps, followed by the addition of the drug, guttagonol, followed by another 150 time steps. As with problem 2 (of P-set #7), perform multiple trials and make sure that your results are repeatable and representative. so the first 150 time steps the virus is able to reproduce, and then the drug is introduced to cull their numbers
Join our real-time social learning platform and learn together with your friends!