Operators¶
Crossover¶
-
class
jmetal.operator.crossover.NullCrossover¶ Bases:
jmetal.core.operator.Crossover-
execute(parents: typing.List[jmetal.core.solution.Solution]) → typing.List[jmetal.core.solution.Solution]¶
-
get_name()¶
-
get_number_of_parents()¶
-
-
class
jmetal.operator.crossover.SBX(probability: float, distribution_index: float = 20.0)¶ Bases:
jmetal.core.operator.Crossover-
execute(parents: typing.List[jmetal.core.solution.FloatSolution]) → typing.List[jmetal.core.solution.FloatSolution]¶
-
get_name()¶
-
get_number_of_parents()¶
-
-
class
jmetal.operator.crossover.SP(probability: float)¶ Bases:
jmetal.core.operator.Crossover-
execute(parents: typing.List[jmetal.core.solution.BinarySolution]) → typing.List[jmetal.core.solution.BinarySolution]¶
-
get_name()¶
-
get_number_of_parents()¶
-
Mutation¶
-
class
jmetal.operator.mutation.BitFlip(probability: float)¶ Bases:
jmetal.core.operator.Mutation-
execute(solution: jmetal.core.solution.BinarySolution) → jmetal.core.solution.BinarySolution¶
-
get_name()¶
-
-
class
jmetal.operator.mutation.IntegerPolynomial(probability: float, distribution_index: float = 0.2)¶ Bases:
jmetal.core.operator.Mutation-
execute(solution: jmetal.core.solution.IntegerSolution) → jmetal.core.solution.IntegerSolution¶
-
get_name()¶
-
-
class
jmetal.operator.mutation.NullMutation¶ Bases:
jmetal.core.operator.Mutation-
execute(solution: jmetal.core.solution.Solution) → jmetal.core.solution.Solution¶
-
get_name()¶
-
-
class
jmetal.operator.mutation.Polynomial(probability: float, distribution_index: float = 0.2)¶ Bases:
jmetal.core.operator.Mutation-
execute(solution: jmetal.core.solution.FloatSolution) → jmetal.core.solution.FloatSolution¶
-
get_name()¶
-
-
class
jmetal.operator.mutation.SimpleRandom(probability: float)¶ Bases:
jmetal.core.operator.Mutation-
execute(solution: jmetal.core.solution.FloatSolution) → jmetal.core.solution.FloatSolution¶
-
get_name()¶
-
-
class
jmetal.operator.mutation.Uniform(probability: float, perturbation: float = 0.5)¶ Bases:
jmetal.core.operator.Mutation-
execute(solution: jmetal.core.solution.FloatSolution) → jmetal.core.solution.FloatSolution¶
-
get_name()¶
-
Selection¶
-
class
jmetal.operator.selection.BestSolutionSelection¶ Bases:
jmetal.core.operator.Selection-
execute(front: typing.List[S]) → S¶
-
get_name() → str¶
-
-
class
jmetal.operator.selection.BinaryTournament2Selection(comparator_list: typing.List[jmetal.component.comparator.Comparator])¶ Bases:
jmetal.core.operator.Selection-
execute(front: typing.List[S]) → S¶
-
get_name() → str¶
-
-
class
jmetal.operator.selection.BinaryTournamentSelection(comparator: jmetal.component.comparator.Comparator = <jmetal.component.comparator.DominanceComparator object>)¶ Bases:
jmetal.core.operator.Selection-
execute(front: typing.List[S]) → S¶
-
get_name() → str¶
-
-
class
jmetal.operator.selection.NaryRandomSolutionSelection(number_of_solutions_to_be_returned: int = 1)¶ Bases:
jmetal.core.operator.Selection-
execute(front: typing.List[S]) → S¶
-
get_name() → str¶
-
-
class
jmetal.operator.selection.RandomSolutionSelection¶ Bases:
jmetal.core.operator.Selection-
execute(front: typing.List[S]) → S¶
-
get_name() → str¶
-
-
class
jmetal.operator.selection.RankingAndCrowdingDistanceSelection(max_population_size: int)¶ Bases:
jmetal.core.operator.Selection-
execute(front: typing.List[S]) → typing.List[S]¶
-
get_name() → str¶
-
-
jmetal.operator.selection.S= ~S¶