Template Function fwdpp::ts::sort_tables_for_simplification

Function Documentation

template<typename TableCollectionType>
void fwdpp::ts::sort_tables_for_simplification(std::ptrdiff_t edge_table_offset, TableCollectionType &tables)

Sorts the tables for simplification, which means only sorting edge and mutation tables, as the site table will be rebuilt during simplification.

If edge_table_offset < 0, the edge table is not sorted.