Hello, I'm trying to implement the following genetic algorithm usign JGAP.
I downloaded the 3.2 version and I have created a class to assign the fittness values according to the algorithm. Attached is the code that I'm using to initialize the structures. When running it, I'm
getting the following error:
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2
Executing the some unit tests also I get the same error. I've downgraded to 3.1 and it seems to work now.
Log in to post a comment.