This is a simplified flu spreading model.
All the particles are distributed randomly (position, velocity and moving direction).
Assume only one of them is inflected at time t=0, and the color become red when it is inflected (others are shown in gray)
Assumption:
1. The condition to get inflected is by collision (between un-inflected element and inflected element).
   The probability for gray element to get inflected when collision occurred is p. if p=0.5, it means that, on average, un-inflected element need to be collide with inflected element twice to be inflected.
2. The time for the element to develop an immune system is T.
   If the element is inflected at time t, then the immune system is developed at time t+T , and it will not be inflected anymore (the color turn to green).

You can adjust the probability to get inflected [b]p[/b], the time to develop immune system [b]T[/b] , the average velocity of the particle to find out different flu spreading pattern.

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/fluspread_pkg/fluspread.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1332.7kB):double click downloaded file to run it. (9 times by 8 users) , Download EJS source (6 times by 4 users) View EJS source