Template Function fwdpp::fwdpp_internal::process_haploid_genomes

Function Documentation

template<typename gcont_t, typename mcont_t>
void fwdpp::fwdpp_internal::process_haploid_genomes(const gcont_t &haploid_genomes, const mcont_t &mutations, std::vector<uint_t> &mcounts)

For every non-extinct haploid_genome, increment the count of its mutations using the frequency of the haploid_genome.

This is usually the most expensive function call in a simulation.