Dummy initializer for K-means that leaves the centers as-is. More...
#include <simple_kmeans.h>
Public Member Functions | |
template<class Feature , class Distance , class FeatureAllocator > | |
void | operator() (const std::vector< Feature * > &features, size_t k, std::vector< Feature, FeatureAllocator > ¢ers, Distance distance) |
Dummy initializer for K-means that leaves the centers as-is.
Definition at line 226 of file simple_kmeans.h.
void vt::InitGiven::operator() | ( | const std::vector< Feature * > & | features, | |
size_t | k, | |||
std::vector< Feature, FeatureAllocator > & | centers, | |||
Distance | distance | |||
) | [inline] |
Definition at line 229 of file simple_kmeans.h.