Simulating Life

Just another UMass Boston Blogs site

Jon Code Review week of Spring break

| 1 Comment

kat and I worked on infected and uninfected HEPC transmission based on collision based condom use… still trying to get the code to do what we want.  The bar graph is not counting my infected and the condom trait is not fully working yet,

Published: Friday @1500

One Comment

  1. top code
    – you should not have 2 kinds of agents (infected & uninfected); you should just have one breed “person” and have them change color to indicate disease status. That may help with graphing and it will make your code simpler.

    bottom code
    if they have a 1/4 chance of switching to condom use, they’ll all switch very quickly – is that what you want?

Leave a Reply

Required fields are marked *.


Skip to toolbar