Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://31218]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-03-25 10:19 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (311 votes). Check out past polls.