Template Function fwdpp::update_mutations_n

Function Documentation

template<typename MutationContainerType, typename fixation_container_t, typename fixation_time_container_t, typename mutation_lookup_table>
void fwdpp::update_mutations_n(MutationContainerType &mutations, fixation_container_t &fixations, fixation_time_container_t &fixation_times, mutation_lookup_table &lookup, std::vector<uint_t> &mcounts, const unsigned &generation, const unsigned &twoN)

Label all fixed neutral variant and all extinct variants for recycling. Copy fixations and fixation times for neutral mutations into containers.

Note

: lookup must be compatible with lookup->erase(lookup->find(double))