def next_population(self, population, fitnesses):
        """Make a new population after each optimization iteration.

        Args:
            population: The population current population of solutions.
            fitnesses: The fitness associated with each solution in the population
        Returns:
            list; a list of solutions.
        """
        return [self._next_solution() for _ in range(self._population_size)]
def next_population ( self , population , fitnesses ) : return [ self . _next_solution ( ) for _ in range ( self . _population_size ) ]
Make a new population after each optimization iteration.

        Args:
            population: The population current population of solutions.
            fitnesses: The fitness associated with each solution in the population
        Returns:
            list; a list of solutions.