EmigrationOperator#
- class pybrops.breed.arch.EmigrationOperator.EmigrationOperator[source]#
Bases:
BreedingEdge
Abstract class defining immigration operators.
- The purpose of this abstract class is to define functionality for:
Protocols for emigration between different breeding nodes.
Methods
Emigrate individuals to a BreedingNode.
- abstract emigrate(bnode, **kwargs)[source]#
Emigrate individuals to a BreedingNode.
- Parameters:
bnode (BreedingNode) – A BreedingNode object to add individuals.
kwargs (dict) – Dictionary of data for individuals to be added.
- Return type:
None