![]() |
ʻOhana
Population structure, admixture history, and selection using learning methods.
|
A template for a class that renders newick trees as SVG. More...
#include <jade.svg_tree.hpp>
Collaboration diagram for jade::basic_svg_tree< TValue >:Public Types | |
| typedef TValue | value_type |
| The value type. More... | |
| typedef basic_newick_node< value_type > | node_type |
| The Newick node type. More... | |
| typedef basic_vec2< value_type > | vec2_type |
| The vector type. More... | |
Public Member Functions | |
| basic_svg_tree (const node_type &node) | |
| Initializes a new instance of the class based on the specified node. More... | |
| void | optimize_positions () |
| Optimizes the positions of the vertices using the Nelder-Mead Simplex method. More... | |
| std::string | str () const |
| Returns the SVG scene as a string. More... | |
| void | write (std::ostream &out) const |
| Writes the SVG scene to the specified output stream. More... | |
| void | write (char const *const path) const |
| Writes the SVG scene to the specified output file. More... | |
| void | write (const std::string &path) const |
| Writes the SVG scene to the specified output file. More... | |
A template for a class that renders newick trees as SVG.
Definition at line 20 of file jade.svg_tree.hpp.
| typedef basic_newick_node<value_type> jade::basic_svg_tree< TValue >::node_type |
The Newick node type.
Definition at line 27 of file jade.svg_tree.hpp.
| typedef TValue jade::basic_svg_tree< TValue >::value_type |
The value type.
Definition at line 24 of file jade.svg_tree.hpp.
| typedef basic_vec2<value_type> jade::basic_svg_tree< TValue >::vec2_type |
The vector type.
Definition at line 30 of file jade.svg_tree.hpp.
|
inlineexplicit |
Initializes a new instance of the class based on the specified node.
| node | The newick node. |
Definition at line 36 of file jade.svg_tree.hpp.
|
inline |
Optimizes the positions of the vertices using the Nelder-Mead Simplex method.
Definition at line 49 of file jade.svg_tree.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Returns the SVG scene as a string.
Definition at line 141 of file jade.svg_tree.hpp.
Here is the call graph for this function:
|
inline |
Writes the SVG scene to the specified output file.
| path | The path to the output file. |
Definition at line 168 of file jade.svg_tree.hpp.
Here is the call graph for this function:
|
inline |
Writes the SVG scene to the specified output file.
| path | The path to the output file. |
Definition at line 182 of file jade.svg_tree.hpp.
Here is the call graph for this function:
|
inline |
Writes the SVG scene to the specified output stream.
| out | The output stream. |
Definition at line 151 of file jade.svg_tree.hpp.
Here is the caller graph for this function: