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

Need a proper tree sequence. #344

Open molpopgen opened 3 years ago

molpopgen commented 3 years ago

The current tree visitor is hacky. We should adopt what we've done in forrustts as a model for fwdpp. Some ownership semantics may be a bit trickier, though. It seems that shared_ptr will work, but it isn't "safe" (in a rusty sense), as the consumer could delete it. Sigh.

molpopgen commented 3 years ago

This is the same issue as #294. Apparently I'm in issue groundhog day.