Averaging Crossover (bug?)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Averaging Crossover (bug?)

Massimiliano Sartirana - Crea
I'm developing an algorithm with JGAP using Supergenes

AveragingCrossoverOperator crashes when using that kind of genes
telling cannot cast it to IntegerGene.

I can be wrong but I think it's because on line 222 of
there is a

if (secondGenes[j] instanceof CompositeGene) {

instead of

if (secondGenes[j] instanceof ICompositeGene) {

I hope it's helpful, if not, excuse me :)

BTW, Congratulations for your work!
have a good day.


Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
jgap-users mailing list
[hidden email]