The four subdirectories here contain the Symantec C++ code for the model reported in the Journal of Theoretical Biology 186:339-348. I have made the code available for the sake of scientific integrity. This way you may check the code to verify (or discover, in the case I was remiss in the description) the details of the model. It would probably be pretty difficult to actually get the model running from these files, though not impossible. So the only documentation in the code is there for my own use and names of things might seem strange (e.g. I use "pursue" and "escape" instead of "offense" and "defense" genes). I am reserving all rights, blah blah blah... Just email me if you want to use the code for something. Enough caveats. The contents are as follows: Main: the basic model with supporting modules. The main file is Lew.cpp, but the most important file is LewObjects.cpp. Ecology: the ecological version (no mutation in the mutation rate gene). Null_Mut: the null model (fitness is random). Two_Muts: the two mutation rate gene elaboration (one mutation rate gene for the offense gene and a separte rate gene for the defense gene). Let me know if you have any problems/questions. - Carlo Maley (cmaley@ai.mit.edu)