onegpy.operators.crossover.destructive_crossover

onegpy.operators.crossover.destructive_crossover(parents, points)[source]

A function for destructive crossover :param parents: list of solution objects. solutions to do crossover. :param points: list of node. crossover points. these nodes are replaced each other. :return: list of solution objects. new_solutions