Template Function fwdpp::ts::sort_mutation_table_and_rebuild_site_table

Function Documentation

template<typename TableCollectionType>
void fwdpp::ts::sort_mutation_table_and_rebuild_site_table(TableCollectionType &tables)

O(n*log(n)) time plus O(n) additional memory. This is called by sort_tables, but also should be called after adding mutations by some manual means to a table collection.