Uploaded by 1475551 on Dec 17, 2009
this genetic algorithm searches for the solution of the game marble solitaire (http://www.c-sharpcorner.com/UploadFile/deskenny/MarbleSolitaire11292005013450A
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.
-
2 likes, 0 dislikes
1:00
Camouflage evolution simulation with Genetic algorithmby mvedenev1,056 views
2:08
Genetic Algorithm, Friction Compensationby mmakrzem3,198 views
0:31
Job-shop problem with genetic algoritm in matlabby mvedenev502 views
3:20
Long-term evolution of swarms with high mutation rates and environmental perturbationsby ComplexSystem892 views
0:17
Genetic algorithm, Darwin (first run)by hmortensen29074,180 views
3:40
Jamming with Genetic Algorithmsby Onderstekop750 views
1:10
Genetic Algorithm Fishby ravivyatom53,447 views
2:56
Visualization of Quick sortby udiprod247,206 views
8:14
Winners of the 2010 AlgoViz.org Awardsby algovizorg338 views
1:21
Genetic Algorithms TSPby ravivyatom17,715 views
1:05
Genetic Algorithm Convergence Example 3by FernandoDucha449 views
0:31
LÖVE - Fighting Monsters (neural nets+genetic algorithms+bullets = win)by HappyLittleDeco1,359 views
0:13
Genetic Algorithm Visualizationby vthexhead11,662 views
0:10
genetic algorithmby chauandrew6,539 views
2:02
Neural Network and Genetic Algorithm Simulationby ReandeBlog2,087 views
10:00
Plotting functions of two variables in MATLAB (Part 2)by RobertTalbertPhD4,484 views
1:39
Genetic Algorithmby KipRicker1,355 views
0:17
Genetic Algorithm Convergence Example 1by FernandoDucha2,926 views
2:37
Neural Network and Genetic Algorithm Simulationby ReandeBlog1,134 views
- Loading more suggestions...
Link to this comment:
All Comments (0)