APPL 400 HW

APPL 400 HW - change to 1 and the number of spreaders will...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
The problem with the logic that we wrote in the code was that nothing happens unless individual (i) is a rumor spreader. individual i is chosen from a population of spreaders which is not very realistic. The problem with this is that when indiv(i)= 0 and or 1, individual(j) can still have an affect that is not accounted for in the equation. So we had to consider the cases when individual i = 0, and individual j = 1, in which case i will
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: change to 1 and the number of spreaders will increase and the number of ignorants will decrease. In the case where i=2 and j=1, j will change to 2 and the number of stiflers will increase by 1 and the number of spreaders will decrease by 1. With this brought into consideration, the new code functions much better....
View Full Document

This note was uploaded on 11/03/2009 for the course BIOL 90726 taught by Professor Weakley during the Spring '09 term at UNC.

Ask a homework question - tutors are online