:py:mod:`desdeo_emo.recombination.biogp_mutation`
=================================================

.. py:module:: desdeo_emo.recombination.biogp_mutation


Module Contents
---------------

Classes
~~~~~~~

.. autoapisummary::

   desdeo_emo.recombination.biogp_mutation.BioGP_mutation



Functions
~~~~~~~~~

.. autoapisummary::

   desdeo_emo.recombination.biogp_mutation.mutate



.. py:function:: mutate(offspring, individuals, params, *args)

   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.

   :param offspring: List of individuals to mutate.
   :type offspring: list
   :param individuals: List of all individuals.
   :type individuals: list
   :param params: Parameters for breeding. If None, use defaults.
   :type params: dict


.. py:class:: BioGP_mutation(probability_mutation: float)

   .. py:method:: do(offspring)



