Genetic Algorithms homework
 

1. Modify the fitness function in the one-armed bandit program (genalg2.c) so that it alternates which handle pays off in some pattern and show what your population learns.
 

2. Modify the genalg2.c program (or write a new one) to simulate learning in some different application.
 
 
 

genalg2.c

(Use Save Link As to download:)
genalg2.exe