Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: RE: Genetic Programming or breeding Perls

by gumpu (Friar)
on Sep 06, 2000 at 13:12 UTC ( #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
Node Status?
node history
Node Type: note [id://31218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-10-01 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (38 votes), past polls