 |
ʻOhana
Population structure, admixture history, and selection using learning methods.
|
7 #ifndef JADE_NWK2SVG_HPP__
8 #define JADE_NWK2SVG_HPP__
10 #include "jade.svg_tree.hpp"
18 template <
typename TValue>
47 #endif // JADE_NWK2SVG_HPP__
void write(std::ostream &out) const
Writes the SVG scene to the specified output stream.
static void execute(std::istream &in, std::ostream &out)
Executes the program through the specified streams.
A template for a class that converts Newick-formatted trees to SVG representations.
A template class representing a node from a Newick tree.
TValue value_type
The value type.
jade::basic_svg_tree< value_type > svg_tree_type
The SVG tree type.
jade::basic_newick_node< value_type > node_type
The node type.
A template for a class that renders newick trees as SVG.
void optimize_positions()
Optimizes the positions of the vertices using the Nelder-Mead Simplex method.