MateSelectionConfiguration#

class pybrops.breed.prot.sel.cfg.MateSelectionConfiguration.MateSelectionConfiguration[source]#

Bases: SelectionConfiguration

A mixin class to provide functionality for selection configurations which require random samples to be drawn.

Methods

Attributes

ncross

Number of cross configurations to consider.

nmating

Number of times an individual cross configuration is executed.

nparent

Number of parents in a given cross configuration.

nprogeny

Number of progeny to derive from a mating event.

pgmat

Genome matrix for the parental candidates.

xconfig

xconfig.

xconfig_xmap

Cross map corresponding to the decision space.

property ncross: Integral#

Number of cross configurations to consider.

property nmating: ndarray#

Number of times an individual cross configuration is executed.

property nparent: Integral#

Number of parents in a given cross configuration.

property nprogeny: ndarray#

Number of progeny to derive from a mating event.

property pgmat: PhasedGenotypeMatrix#

Genome matrix for the parental candidates.

property xconfig: ndarray#

xconfig.

property xconfig_xmap: ndarray#

Cross map corresponding to the decision space.