specify number of generations
init learns to set trajectory output frequency