No BSD License  

Highlights from
gaevolve

from gaevolve by Gabriele Lombardi
A simple but flexible tool to implement genetic algorithms

SDisp(sol,fit,pop,fits)
% Hook function:
function stop = SDisp(sol,fit,pop,fits)

% Display the number of bits:
disp(sprintf('Actual max bits: %d',fit));

% Returning:
stop = fit==32;

Contact us at files@mathworks.com