Team:LCG-UNAM-Mexico:CA
From 2009.igem.org
(Difference between revisions)
Line 38: | Line 38: | ||
''' np= number of phages.''' <br> | ''' np= number of phages.''' <br> | ||
<br><br> | <br><br> | ||
- | We sample indexes of the rows and columns in the grid at random and then we iterate in that order, thus we have a random sampling without replacement that require only 2n random numbers instead of <math>n | + | We sample indexes of the rows and columns in the grid at random and then we iterate in that order, thus we have a random sampling without replacement that require only 2n random numbers instead of <math>n^2</math>. <br><br> |
For each cell we verify if it has a bacterium, if so:<br> | For each cell we verify if it has a bacterium, if so:<br> | ||
Check if it should duplicate, change direction or move. We also have phages in the grid so we need to check for infections on each iteration: if there are phages in a cell occupied by a bacterium this will become infected with some fixed probability. An infected cell will produce new phages, this number is sampled from the Burst Size Distribution generated by the Stochastic Kinetic Simulations.<br><br> | Check if it should duplicate, change direction or move. We also have phages in the grid so we need to check for infections on each iteration: if there are phages in a cell occupied by a bacterium this will become infected with some fixed probability. An infected cell will produce new phages, this number is sampled from the Burst Size Distribution generated by the Stochastic Kinetic Simulations.<br><br> |
Revision as of 05:44, 16 October 2009