Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. def doesClear(self):
  2. """ Stochastically determines whether this virus particle is cleared from the
  3. patient's body at a time step.
  4. returns: True with probability self.getClearProb and otherwise returns
  5. False.
  6. """
  7. x = random.random
  8. return self.getClearProb > x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement