This page contains demos of some of the results that have been achieved with GAs.
Some notes from this excellent tutorial.
procedure genetic_algorithm {
set time t = 0;
initialize the population, P(t);
while the termination condition is not met do {
evaluate the fitness of each member of P(t);
select most fit members from P(t);
produce the offspring of pairs of members using genetic operator;
replace the weakest candidates of P(t) with these offspring;
set time t = t + 1;
}
}
GA Overview
We will be using the Java GA Toolkit to analyze and experiment with the Traveling Salesman Problem.
$ java -classpath gaa.jar:ScsGrid.jar:tabsplitter.jar:. GaaApplet TspDemo.par &