Neural net for genetic algorithm