Template Function fwdpp::ts::simplification::transfer_new_nodes_and_edges¶
Defined in File simplification.hpp
Function Documentation¶
-
template<typename
Iterator, typenameTableCollectionType>
voidfwdpp::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.