Code covered by the BSD License  

Highlights from
SpeedyGA: A Fast Simple Genetic Algorithm

image thumbnail
from SpeedyGA: A Fast Simple Genetic Algorithm by Keki Burjorjee
A vectorized implementation of a simple genetic algorithm in Matlab

fitness=oneMax(pop)
% onemax
function fitness=oneMax(pop)
fitness=sum(pop,2)';    

Contact us at files@mathworks.com