Template Struct genetic_parameters¶
Defined in File simparams.hpp
Struct Documentation¶
-
template<typename
genetic_value, typenamemutation_function, typenamerecombination_function, typenameinterlocus_recombination_function, typenameparent_haploid_genome_swapping_function>
structfwdpp::genetic_parameters¶ Hold types for genetic operations.
This is a simplistic struct to encapsulate the types needed for “doing the genetics” in a simulation.
There is no effort to ensure that the types reflect valid policies upon instantiation or construction.
For a single-locus simulation, interlocus_recombination_function is expected to be std::nullptr_t
The heavy use of lambdas in fwdpp means that it is, in practice, nearly impossible to know the template parameter types. Thus, objects of this type are made by calling fwdpp::make_genetic_parameters.
- Version
0.7.4 Added to library
- Version
0.9.0 gvalue no longer const
Public Functions
Public Members
-
genetic_value
gvalue¶
-
const mutation_function
generate_mutations¶
-
const recombination_function
generate_breakpoints¶
-
const interlocus_recombination_function
interlocus_recombination¶
-
const parent_haploid_genome_swapping_function
haploid_genome_swapper¶
-
flagged_mutation_queue
mutation_recycling_bin¶
-
flagged_haploid_genome_queue
haploid_genome_recycling_bin¶