Darren Lewis
CS426/BMI226/EE392K
mkdir CS426
cd CS426
cp –rf /afs/ir/class/cs426/genesis .
This will create a directory in your CS426 directory called genesis.cd genesis
make install
double eval(char *str, int length, double vect[], int genes);
where the different parameters are defined as the following:
char *str; /* string representation */
int length; /* length of bit string */
double vect[]; /* floating point representation */
int genes; /* number of elements in vect */
101111111111111111111111111111 1.0000e+00 145 4362
From left to right, this is the actual chromosome, the fitness value, the generation that the structure first appeared, and the trial count that the structure first appeared.