Struct no_selection¶
Defined in File fitness_models.hpp
Struct Documentation¶
-
struct
fwdpp::no_selection¶ Returns a fitness of 1.
- Return
A fitness of 1
- Note
g1 and g2 must be part of the haploid_genome_base hierarchy
- Parameters
g1: A haploid_genomeg2: A haploid_genome
Public Types
-
using
result_type= double¶ Method for standard diploid simulations of a single locus.
Public Functions
-
template<typename
HaploidGenomeType, typenameMutationContainerType>
result_typeoperator()(const HaploidGenomeType&, const HaploidGenomeType&, const MutationContainerType&) const noexcept¶
-
template<typename
T>
result_typeoperator()(const T&) const noexcept¶ Naive implementation for non-standard cases.