So, if you take these three analogies together and exploit them you can come up with a mathematical model of what actually happened, that's capable of replicating the general patterns of the riots themselves.