ECJ-INTEREST-L Archives

January 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:
Wed, 16 Jan 2008 17:17:09 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
ECJ by default has a fixed seed.  But if you're using one thread (the  
default), just add the parameter:

seed.0 = time

If you're using additional threads, you need to add seed.1, seed.2,  
etc. as well

You can include this in your parameter file, or you can say something  
like:

	java ec.Evolve -file myFile.params -p seed.0=time

Sean

On Jan 16, 2008, at 4:27 PM, Loretta Macklem wrote:

> Hi,
>
> I am working with ECJ and I have made a shell script to do 30 runs  
> in a row. I am running into a seeding issue. It is always using the  
> same seed. Is there a way to set the seed to use a random number?
>
> Thanks,
>
> -- 
> Loretta Macklem
> Graduate Teaching Assistant
> Michigan State University
> [log in to unmask]

ATOM RSS1 RSS2