ECJ-INTEREST-L Archives

March 2005

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sandeep Mulgund <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Wed, 9 Mar 2005 13:42:31 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
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

ATOM RSS1 RSS2