ECJ-INTEREST-L Archives

March 2005

ECJ-INTEREST-L@LISTSERV.GMU.EDU

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

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

Print Reply
Mime-Version:
1.0 (Apple Message framework v619.2)
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Wed, 9 Mar 2005 13:42:31 -0500
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Subject:
Content-Transfer-Encoding:
7bit
Content-Type:
text/plain; charset=US-ASCII; format=flowed
From:
Sandeep Mulgund <[log in to unmask]>
Comments:
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