molpopgen / fwdpp

fwdpp is a C++ template library for implementing efficient forward-time population genetic simulations
http://fwdpp.readthedocs.io
GNU General Public License v3.0
27 stars 11 forks source link

Add simplify function #230

Closed molpopgen closed 4 years ago

molpopgen commented 5 years ago

The current implementation of the simplification algorithm is handled via fwdpp::ts::table_simplifier. This solution is okay, but not ideal for more flexible use cases.

The temporary containers that the class uses can be placed in a new struct that can be passed in to the function.