# CS 523 Spring 2013 Project 2 # Steven Garcia (someemail1@cs.unm.edu) # Jeff Bowles (someemail2@cs.unm.edu) To view the source code, untar the source code: tar jxf antbots-1.4-modified.tar.bz2 tar jxf antisland-src.tar.bz2 This will put the source code into antbots-1.4-modified antisland-src To build antbots: cd antbots-1.4-modified make To build antisland cd antisland-src mkdir build cd build cmake .. make The first directory is our modified antbots code for parts 2.2.1 and 2.2.2. The second directory contained more extensive changes neeed to implement the island GA. To run the code, a script has been provided that will run 6 experiments and create the .dat and .csv files that contain all of the data. A lot of files will be created. This script will take some time to run. While only 5 generations are done for each of the antbots runs, the Island GA will run 5 generations for 10 islands. This will take approximately 30 minutes to run ./run.sh This command will generate the data files needed by the matlab code to generate the figures for part 2. Next, Open matlab, change working directory to the one that contains our project Type "part1" at the prompt to generate figures and tables for part 1. Type "part2" at the prompt to generate figures and tables for part 2. This will generate the figures in the paper and three latex tables. Keep in mind that these figures and table will not be exactly like the ones in the paper because there will only be 5 generations of data. To run visrun on parts 2.2 and 2.3 2.2: ./visrun 8000 coop 50 ./coop_22_ga1 ./coop_22_ga2 ./visrun 8000 comp 50 ./comp_22_ga1 ./comp_22_ga2 2.3: ./visrun 8000 coop 50 ./coop_island_ga1 ./coop_island_ga2 ./visrun 8000 comp 50 ./comp_island_ga1 ./comp_island_ga2