Sender: |
|
Date: |
Wed, 16 Jan 2008 17:17:09 -0500 |
MIME-version: |
1.0 (Apple Message framework v752.2) |
Reply-To: |
|
Content-type: |
text/plain; charset=US-ASCII; delsp=yes; format=flowed |
Subject: |
|
From: |
|
In-Reply-To: |
|
Content-transfer-encoding: |
7bit |
Comments: |
|
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]
|
|
|