1 #ifndef GENESIS_PLACEMENT_FORMATS_JPLACE_WRITER_H_ 2 #define GENESIS_PLACEMENT_FORMATS_JPLACE_WRITER_H_ 107 void write(
Sample const& sample, std::shared_ptr<utils::BaseOutputTarget> target )
const;
130 return branch_length_precision_;
139 branch_length_precision_ = value;
183 invocation_ = invocation;
189 size_t branch_length_precision_ = 6;
190 std::string program_;
191 std::string invocation_;
197 #endif // include guard JplaceWriter & invocation(std::string const &invocation)
Set the "invocation" string to be written to the jplace file.
std::string const & program() const
Get the currently set "program" string to be written to the jplace file.
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
JplaceWriter & branch_length_precision(size_t value)
Set the precision used for printing the branch_length floating point numbers of the reference Tree of...
Store a Json value of any kind.
Manage a set of Pqueries along with the PlacementTree where the PqueryPlacements are placed on...
JplaceWriter & program(std::string const &program)
Set the "program" string to be written to the jplace file.
std::string const & invocation() const
Get the currently set "invocation" string to be written to the jplace file.
size_t branch_length_precision() const
Get the precision used for printing the branch_length floating point numbers of the reference Tree of...