Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
An important TinyGP bug fix
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Nic McPhee  
View profile   Translate to Translated (View Original)
 More options 19 Jan, 19:32
From: Nic McPhee <nic.mcp...@gmail.com>
Date: Mon, 19 Jan 2009 11:32:27 -0800 (PST)
Local: Mon 19 Jan 2009 19:32
Subject: An important TinyGP bug fix
<a href="http://www.gp-field-guide.org.uk/2009/01/another-bug-fixed-in-
tinygp.html">From the blog</a>:

<blockquote>
Many thanks to Muhammad Atif Azad, who thoroughly analysed
TinyGP.java, the sample GP implementation in one of the appendices of
the book, and uncovered another important bug.

In the evolve function the following line of code

if ( rd.nextDouble() > CROSSOVER_PROB ) {

should be

if ( rd.nextDouble() < CROSSOVER_PROB ) {

This bug does not crash the system, but it means that the parameter
CROSSOVER_PROB is interpreted as the mutation probability rather than
the crossover probability (its intended purpose).

We had found and cured this bug some years ago in the C version of
TinyGP, but it somehow made it into the Java version (probably because
I did the conversion before the bug had been found).

The bug has now been fixed in the online version of TinyGP.java

My most sincere apologies to any users of this system.
</blockquote>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google