Error on Genotype.randomInitialGenotype(conf);

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

Error on Genotype.randomInitialGenotype(conf);

This post has NOT been accepted by the mailing list yet.
I'm trying to execute a GA program that im developing, which tries to find the best solution for a schedule time-table of a school, but im having trouble during:

87 Genotype population = Genotype.randomInitialGenotype(conf);

It gives the following error:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException
        at org.jgap.Genotype.fillPopulation(
        at org.jgap.Genotype.randomInitialGenotype(
        at main.algoritmoGenetico(

[I pasted only the starting 3 lines]

Please, im working on my TCC and i dont find any help about this error or what this means...

I followed the but im using a supergene.