Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Paralel Genetic Algorithm Visualization

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
939 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 17, 2009

this genetic algorithm searches for the solution of the game marble solitaire (http://www.c-sharpcorner.com/UploadFile/deskenny/MarbleSolitaire11292005013450A­M/Images/marble.gif) where the point is to remove as much marbles as possible by jumping over them.

The algorithm uses a multi-island system, where the islands are merged to a 4*5 grid, and the neighbors connected. In every 10 cycle the best individual copies himself over the worst one on the neighboring island. Every island has 20 individual population. This is okay for demonstration purposes because the refreshing of the data will be not frequent enough to see how the algorithm works.

There is also a chance of reinitialization, in chance 1:3, when the whole population of a specific island gets reinitialized (the island selection is also random).

the fitness function is the reaming marbles on the table. every gene set of an individual contains a specific step, what is sequential applied from the individual to the playground (the marble table).
Steps are organized with three attributes: X,Y coordinate of the marble and a direction of the jump. The solution has 31 steps (because this is the amount of marbles to remove) so a gene of an individual contains 93 data long vector.
The problem is that more close we are to the global best (solution) more strong are the local bests (the pseudo solutions).
if you have any question, feel free to contact me at: erik at cstudios dot sk.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more