CPSCI 307-01: Evolutionary Computation

Homework 12

due: May 1, 2007


For this assignment, you're going to apply XCS to the Woods2 multi-step environment, using Martin Butz's XCS+TS 1.2 software.

Before conducting your experiments, you'll need to modify the source code a bit (again).

  1. In the file woodsEnv.h, the first #define entry (line 19) is for WOODS_LENGTH_OF_ONE_ATTRIBUTE. Modify the line so that it reads
        #define WOODS_LENGTH_OF_ONE_ATTRIBUTE 3
  2. If you want to add an enemy to this run, modify the #define entry for ENEMY_EXISTS (line 29) so that it reads
        #define ENEMY_EXISTS 1
  3. Recompile XCS by issuing the following commands at the bash prompt:
        make clean
        make

The Woods2 environment is located in a file in the Envs subdirectory of the directory containing the XCS system. To execute XCS on the environment, you need to pass it to the program when you invoke it:
    xcs1.2 Envs/Woods2.txt

Do something interesting with XCS and hand in a report describing what you've done. Some observations:


[ Return to the CPSCI 307-01 homepage ]

Brian J. Rosmaita <contact me>
This page was last modified Wednesday, 25 April 2007 at 16:02 UTC.
Valid XHTML 1.0 ! Valid Cascading Style Sheets! This page is in AAA Conformance with the Web Content Accessibility Guidelines