%% function specifying what should happen when new beter
%% solution is found, the function can be empty 
function [] = Aeval( fitness_call, optim_value, optimum )

f = fopen('Avalue.out','a');
fprintf( f, '%d %g', fitness_call, optim_value );
%for i = 1:Dim fprintf( f, ' %g', optimum(i) ); end
fprintf( f, '\n' );
fclose( f );

%% author: Anicka Kucerova, Czech Technical University in Prague
%% version 0.0.1
%% 30 Mar 2009