Print

Print


Hi,

I need to manage a GA run from my own program code.  I found an example
in the list archives that goes something like this:

SimpleEvolutionState state = (SimpleEvolutionState)
        (Evolve.make(new String[]{"-file","mytest.params"}));
int i;
for (i=0; i<200; i++){
       state.go();
       if (state.debugState == state.DEBUG_END)
         break;
}

This seems to work fine.  Once it's done, how can I obtain the optimal
solution (an IntegerVectorSpecies) and use it in my own code for other
purposes?

Thanks,

Sandeep