Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

google search terms as population members of a genetic algorithm

by fbinard (Beadle)
on Jul 22, 2005 at 02:10 UTC ( #477072=CUFP: print w/replies, xml ) Need Help??

I wanted to have fun with the google API, so I combined it with a genetic algorithm. It evolves search terms. The fitness function uses the parts of the answers that is returned by the google search server as parameters.

I've ran out of idea as to what to do with it. If someone thinks of something, all the code is here. Or let me know.

The top level file is It could be adapted to do something else very easily just by changing parameters in the fitness function (the function that evaluates individuals). All the rest (selection, sexual reproduction, mutation, population control) is implemented.

  • Comment on google search terms as population members of a genetic algorithm

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://477072]
Front-paged by ysth
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-10-27 02:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (352 votes). Check out past polls.