Problems with simulating society ch4 section 4.3

*To*: mathgroup at smc.vnet.net*Subject*: [mg35525] Problems with simulating society ch4 section 4.3*From*: "Katherine Geel" <katherine at removethis.burgercom.co.za>*Date*: Wed, 17 Jul 2002 02:09:29 -0400 (EDT)*Reply-to*: "Katherine Geel" <katherine at removethis.burgercom.co.za>*Sender*: owner-wri-mathgroup at wolfram.com

Hi I am hoping that someone can help me as I am fairly desperate for an answer. I am attempting to do two things: one to run a simulation from the gaylord and d'andria book "simulating society", the one on page89, section 4.3. For some unknown reason the simulation runs, however the graphical plot just hangs for ever and ever. My computer does have the necessary power so I don't know what the problem is. The second thing I am trying to do is run my own (partly) simulation of the repeated prisoner's dilemma, with two types, Tit-for-tat players and defectors, and have the two types interact, then change their type depending on the average payoff in their immediate Moore neighbourhood, and then walk. For some reason I get the following error which I have no idea how to get rid of ( this is why I am attempting to run the section 4.3 simulation as it does something similar). I've attached the code of section 4.3 on the off chance someone knows what the problem is. [Contact the author to get the code - moderator] Thanks Katherine Geel