CoolingFactory function

Configure the cooling schedule of the acceptance function of a genetic algorithm.