double linear_time (int current, int total)

Calculate a value for the time, in [0,1], as a function of the current generation and the total number of generations

Documentation

Calculate a value for the time, in [0,1], as a function of the current generation and the total number of generations. With this function, time varies linearly with the generations.



this page was generated by


Joao Pedro Pedroso
Oct 21, 1997