Template Struct genetic_parameters¶
Defined in File simparams.hpp
Struct Documentation¶
-
template<typename
GeneticValueType, typenameMutationFunctionType, typenameRecombinationFunctionType, typenameSwappingFunctionType>
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 Types
-
using
genetic_value= GeneticValueType¶
-
using
mutation_function= MutationFunctionType¶
-
using
recombination_function= RecombinationFunctionType¶
-
using
swapping_function= SwappingFunctionType¶
Public Functions
Public Members
-
genetic_value
gvalue¶
-
const mutation_function
generate_mutations¶
-
const recombination_function
generate_breakpoints¶
-
const swapping_function
haploid_genome_swapper¶
-
flagged_mutation_queue
mutation_recycling_bin¶
-
flagged_haploid_genome_queue
haploid_genome_recycling_bin¶