ruby - Tracking fitness in a genetic algorithm -


I'm still hacking on my old Ruby for the dead (I know, I know, bring back the post Stop trying to stop the dead chuck) but the code has got a little bit by hand and now I am working on a genetic algorithm to ensure that the last battle for survival is being prepared and how much to die with fitness There is a battle till the time.

So, I have found its basic elements; How do I adjust the attributes of the game and get the solution of the solution, I do not understand how it is to store fitness so that I know that I have tried a combination before.

I can not find very genetic code to see the code alone which I can read well about what he is saying. Does anyone have an idea how this is done normally or just an algorithm that can help me in the right direction?

I do not understand how to store fitness so that I know that I have tried a combination before.

In a GA solution generally you are not concerned about generating the same "solution" when the rate of improvement in your 'score' is steady.

Now if you want to log / track the "solution" history then many want to know when it appears, but I believe that there is some random nature in your "game" Repeat the object run.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -