Subject: | |
From: | |
Reply To: | |
Date: | Wed, 16 Jan 2008 17:17:09 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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]
|
|
|