#include <kmeantree.h>
Public Member Functions | |
mean_t () | |
void | accumulate (float a, float b, descriptor_t *d) |
double | distance (descriptor_t *d) |
Public Attributes | |
float | mean [descriptor_size] |
Definition at line 51 of file kmeantree.h.
mean_t::mean_t | ( | ) |
void mean_t::accumulate | ( | float | a, | |
float | b, | |||
descriptor_t * | d | |||
) |
Definition at line 265 of file kmeantree.cpp.
References kmean_tree::descriptor_t::descriptor, kmean_tree::descriptor_size, and mean.
Referenced by kmean_tree::node_t::run_kmean().
double mean_t::distance | ( | descriptor_t * | d | ) |
Definition at line 291 of file kmeantree.cpp.
References kmean_tree::descriptor_t::descriptor, kmean_tree::descriptor_size, and mean.
Referenced by kmean_tree::node_t::cmp_scores().
Definition at line 53 of file kmeantree.h.
Referenced by accumulate(), distance(), mean_t(), kmean_tree::node_t::print_summary(), kmean_tree::node_t::run_kmean(), and save_node_images().