Typedef fwdpp::traits::mutation_model_diploid

Typedef Documentation

using fwdpp::traits::mutation_model_diploid = typename traits::internal::mutation_model_diploid<DiploidType, MutationContainerType, GenomeContainerType>::type

Gives mutation model function signature for models requiring diploids as arguments. If MutationContainerType is not a container of mutations and/or GenomeContainerType is not a container of haploid_genomes, them mmodel_HaploidGenomeType will evaluate to void.

Otherwise, it will evaluate to std::function<std::size_t(recycling_bin_t<MutationContainerType> &, const DiploidType &,const typename GenomeContainerType::value_type &, MutationContainerType &)>;