InitializationOperator#

class pybrops.breed.op.init.InitializationOperator.InitializationOperator[source]#

Bases: object

Abstract class defining interfaces for the evaluation of an entire breeding program.

The purpose of this abstract class is to provide functionality for:
  1. Initialization of an entire breeding program.

Methods

initialize

Initialize a breeding program.

abstract initialize(miscout, **kwargs)[source]#

Initialize a breeding program.

Parameters:
  • miscout (dict, None) – Pointer to a dictionary for miscellaneous user defined output. If dict, write to dict (may overwrite previously defined fields). If None, user defined output is not calculated or stored.

  • kwargs (dict) – Additional keyword arguments.

Returns:

out – A tuple of length 5: (genome, geno, pheno, bval, gmod)

Where:

  • genome is a dict of genomes for the breeding program.

  • geno is a dict of genotypes for the breeding program.

  • pheno is a dict of phenotypes for the breeding program.

  • bval is a dict of breeding values for the breeding program.

  • gmod is a dict of genomic models for the breeding program.

Return type:

tuple