ECJ-INTEREST-L Archives

June 2008

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:
Sean Luke <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Mon, 2 Jun 2008 16:28:47 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
It's possible to hack it but I would not recommend it.

If your concern is higher-resolution checkpoints than a generation  
boundary, which suggests very long evaluation times, you may wish to  
go with Steady-State evolution instead.  By default  
SteadyStateEvolutionState checkpoints every N*M evaluations where N  
is the size of the initial population.  But you can modify the  
generation boundary definition in the code more easily than in the  
generational evolution procedure.  A hack like changing:

             // COMPUTE GENERATION BOUNDARY
             generationBoundary = (evaluations % generationSize == 0);

to

             // COMPUTE GENERATION BOUNDARY
             generationBoundary = (evaluations % 50 == 0);  // do  
every 50 evals

... might do the trick in Steady State.

Sean

On Jun 2, 2008, at 12:02 PM, Shane wrote:

> Is it possible to save a checkpoint in the middle of a generation?

ATOM RSS1 RSS2