I found a description of this in several books about artificial intelligence for game developers [e.g. Buckland (2006) Programming Game AI by Example - Chapter 2; Bourg and Seemann (2004) AI for Game Developers - Chapter 9] and was wondering if anyone had applied this approach to program Social Simulations or Management Science Simulations (without using secondary software like Swarm or Repast)? Would you be willing to share your code?