|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_PLACEMENT_FORMATS_SERIALIZER_H_
2 #define GENESIS_PLACEMENT_FORMATS_SERIALIZER_H_
58 static void save(
Sample const& map, std::string
const& file_name );
60 static Sample load( std::string
const& file_name );
61 static SampleSet load( std::vector<std::string>
const& file_names );
62 static void load( std::vector<std::string>
const& file_names,
SampleSet& sample_set );
71 #endif // include guard
Store a set of Samples with associated names.
Manage a set of Pqueries along with the PlacementTree where the PqueryPlacements are placed on.
static unsigned char version
Version of this serialization helper. Is written to the stream and read again to make sure that diffe...
static Sample load(std::string const &file_name)
Loads a Sample from a binary file that was written by using save().
static void save(Sample const &map, std::string const &file_name)
Saves the Sample to a binary file that can later be read by using load().
Container namespace for all symbols of genesis in order to keep them separate when used as a library.