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

remove any notion of, or dependency on, a specific ploidy from popbase #115

Closed molpopgen closed 6 years ago

molpopgen commented 6 years ago

Refactors fwdpp::sugar::popbase to not depend on a specific ploidy. This change both enables ploidy values other than two and enables slocuspop and mlocuspop objects based on the same mutation/gamete types to inherit from a common base class.

This is an ABI change, but not an API change.