Definition at line 74 of file classify_kmeans_2d.cpp.
◆ KPoint()
KPoint::KPoint |
( |
int |
id_point, |
|
|
std::vector< double > & |
values |
|
) |
| |
|
inline |
Definition at line 83 of file classify_kmeans_2d.cpp.
85 this->id_point = id_point;
86 total_values = values.size();
88 for (
int i = 0;
i < total_values;
i++)
89 this->values.push_back(values[
i]);
◆ addValue()
void KPoint::addValue |
( |
double |
value | ) |
|
|
inline |
◆ getCluster()
int KPoint::getCluster |
( |
| ) |
|
|
inline |
◆ getID()
◆ getTotalValues()
int KPoint::getTotalValues |
( |
| ) |
|
|
inline |
◆ getValue()
double KPoint::getValue |
( |
int |
index | ) |
|
|
inline |
◆ setCluster()
void KPoint::setCluster |
( |
int |
id_cluster | ) |
|
|
inline |
The documentation for this class was generated from the following file: