![]() |
ʻOhana
Population structure, admixture history, and selection using learning methods.
|
A template for a class that implements the neighbor joining algorithm. More...
#include <jade.neighbor_joining.hpp>
Public Types | |
typedef TValue | value_type |
The value type. More... | |
typedef basic_matrix< value_type > | matrix_type |
The matrix type. More... | |
Public Member Functions | |
basic_neighbor_joining (const matrix_type &distances) | |
Initializes a new instance of the class. More... | |
std::string | str () const |
void | write (std::ostream &out) const |
Writes the constructed tree in Newick format to the specified output stream. More... | |
A template for a class that implements the neighbor joining algorithm.
Definition at line 18 of file jade.neighbor_joining.hpp.
typedef basic_matrix<value_type> jade::basic_neighbor_joining< TValue >::matrix_type |
The matrix type.
Definition at line 25 of file jade.neighbor_joining.hpp.
typedef TValue jade::basic_neighbor_joining< TValue >::value_type |
The value type.
Definition at line 22 of file jade.neighbor_joining.hpp.
|
inlineexplicit |
Initializes a new instance of the class.
distances | The distance matrix. |
Definition at line 30 of file jade.neighbor_joining.hpp.
|
inline |
Definition at line 129 of file jade.neighbor_joining.hpp.
|
inline |
Writes the constructed tree in Newick format to the specified output stream.
out | The output stream. |
Definition at line 140 of file jade.neighbor_joining.hpp.