macop.operators.crossovers.SimpleCrossover

Crossover implementation which generated new solution by splitting at mean size best solution and current solution

Classes

SimpleCrossover()

Crossover implementation which generated new solution by splitting at mean size best solution and current solution

class macop.operators.crossovers.SimpleCrossover.SimpleCrossover[source]

Crossover implementation which generated new solution by splitting at mean size best solution and current solution

kind

{Algorithm} – specify the kind of operator

apply(_solution)[source]

Create new solution based on best solution found and solution passed as parameter

Parameters

_solution – {Solution} – the solution to use for generating new solution

Returns

{Solution} – new generated solution