Sign in to follow this  

GA and EA algoritm examples

This topic is 2081 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color=#000000][font=verdana, arial, helvetica, sans-serif][size=3]I need some examples for Genetic and Evolutionary algorithms in C++.[/size][/font][/color]
[color=#000000][font=verdana, arial, helvetica, sans-serif][size=3]For solving different problems, not only the Traveling Salesman Problem.[/size][/font][/color]
[color=#000000][font=verdana, arial, helvetica, sans-serif][size=3]I couldn't find any myself, not in c++.[/size][/font][/color]
[color=#000000][font=verdana, arial, helvetica, sans-serif][size=3]I need plain code.[/size][/font][/color]

Share this post


Link to post
Share on other sites
Really? Koza, google him, has a bunch of patents for things discovered by ga. There's that evolving car demo people like, and lots of stuff on YouTube.

Share this post


Link to post
Share on other sites
Me thinks you probably wrong. I find a lot of tutorials and other things that start with the basics. And I found some free lectures from Stanford University on Machine Learning, but I can't find plain code.

Share this post


Link to post
Share on other sites
I doubt you will find much code because the GA part is trivial. The work is in parsing, executing, and scoring each permutation and this is very problem specific.

There is an interesting video on YouTube of a GA used to find an better wind mill blade design. The gentleman used a fluid dynamics simulator, which he did not write himself, to test each blade design.

There is another example on YouTube of finding an optimal location for a radio antenna on a HUM V. The GA code would have just been a set of coordinates (3 numbers I'm guessing), but to test each placement there would have been some pretty sophisticated simulation package that was employed.

NEAT uses GA as a leaning algorithm for neural networks. Some commercial data mining packages include GAs to refine decision trees. There is a commercial function "solver" (video on YouTube) that uses EP exclusively to find an equation to fit data.

Keep looking. There is a lot of stuff out there.

Share this post


Link to post
Share on other sites

This topic is 2081 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this