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

Revisit gamete_cleaner implementation #137

Open molpopgen opened 6 years ago

molpopgen commented 6 years ago

The implementation in fwdpp/internal/gamete_cleaner.hpp is a hot mess. It seems like the whole thing could be replaced with populating an unordered_map of keys to fixations followed by a single pass through extant gametes.