Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

RE: RE: Genetic Programming or breeding Perls

by gumpu (Friar)
on Sep 06, 2000 at 13:12 UTC ( [id://31218]=note: print w/replies, xml ) Need Help??


in reply to RE: Genetic Programming or breeding Perls
in thread Genetic Programming or breeding Perls

I notice you left out division---presumably you don't want to have to deal with errors from the eval statement?

Yup that was one of the reasons. It would have made the program longer that it already is.

Programs with errors in them are not a problem as long as they have different fitness values. For instance as long as program with one error in it has a higher fitness as a program with two errors in it. If all programs that do not evaluate correctly, result in the same fitness value there is no way for the algorithm to gradually move to a better solution.

GP works only if there are intermediate solutions.

Have Fun

  • Comment on RE: RE: Genetic Programming or breeding Perls

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://31218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-23 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found