desdeo_emo.recombination.biogp_mutation

Module Contents

Classes

BioGP_mutation

Functions

mutate(offspring, individuals, params, *args)

Perform BioGP mutation functions.

desdeo_emo.recombination.biogp_mutation.mutate(offspring, individuals, params, *args)[source]

Perform BioGP mutation functions.

Standard mutation: Randomly select and regrow a subtree of an individual.

Small mutation: Randomly select a node within a tree and replace it with either a function of the same arity, or another value from the terminal set.

Mono parental: Randomly swap two subtrees within the same individual.

Parameters:
  • offspring (list) – List of individuals to mutate.

  • individuals (list) – List of all individuals.

  • params (dict) – Parameters for breeding. If None, use defaults.

class desdeo_emo.recombination.biogp_mutation.BioGP_mutation(probability_mutation: float)[source]
do(offspring)[source]