ECJ-INTEREST-L Archives

February 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML 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:
Eric 'Siggy' Scott <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Sat, 8 Feb 2014 22:42:29 -0500
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (723 bytes) , text/html (1074 bytes)
While looking over the SimpleEvaluator code, I noticed that the
package-private field "Population oldpop = null;", which is used as a swap
variable, never has a value assigned to it.  As such, any call to
"contract()" will set state.population to null.  This could be a bug
affecting the behavior of the "num-test" parameter, described in section
6.1.6 of the manual.

The line "Population oldpop = state.population;" appears at the end of
"expand()" and does nothing.  This should probably be changed to read
"this.oldpop = state.population".

I'm not currently using this feature, and I haven't played with this to
verify the bug or the fix.

Siggy

-- 

Ph.D student in Computer Science
George Mason University
http://mason.gmu.edu/~escott8/


ATOM RSS1 RSS2