Template Function fwdpp::ts::simplification::transfer_new_nodes_and_edges

Function Documentation

template<typename Iterator, typename TableCollectionType>
void fwdpp::ts::simplification::transfer_new_nodes_and_edges(const Iterator new_edge_destination, simplifier_internal_state<TableCollectionType> &state, TableCollectionType &tables)

Update the tables. To keep memory use as sane as possible, we use resize-and-move here. In theory, we can also do vector swaps, but that has a side-effect of keeping far too much RAM allocated compared to what we need.