ECJ-INTEREST-L Archives

June 2008

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
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Mon, 2 Jun 2008 16:28:47 -0400
MIME-version:
1.0 (Apple Message framework v753)
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=US-ASCII; delsp=yes; format=flowed
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
7bit
Comments:
To: ECJ Evolutionary Computation Toolkit <[log in to unmask]>
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