Bookmark to switch branches
Major revision to code.

Now the attacker stops sending messages to infected nodes.  As
a previous note, the probability of stimulated transmission can now
less than 1.  Also added a function to calculate the alarm time
given a scanning window.