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 hooks for boost::serialization for "sugar" types #22

Closed molpopgen closed 8 years ago

molpopgen commented 9 years ago

Add boost::serialization capability for the data types in fwdpp/sugar. This can be done w/o adding a dependency on boost for the library itself, and should have benefits, like enabling simulations to use MPI via boost::mpi.

molpopgen commented 9 years ago

This actually will require a dependency on boost. The containers of pointers will require use of boost::serialization::split_free. This should probably still be done (but is not an immediate priority).

molpopgen commented 8 years ago

This may be doable now that the pointer-based structure of the library was replaced with vectors of indexes in 0.4.4

molpopgen commented 8 years ago

This is not necessary. The built-in serialization routines are sufficient for MPI communication. See neutral_mpi.cc in fwdpp_perf