#include <aims/math/knn.h>
Definition at line 472 of file knn.h.
◆ Heap()
aims::knn::Heap::Heap |
( |
unsigned int |
n | ) |
|
|
inline |
◆ ~Heap()
virtual aims::knn::Heap::~Heap |
( |
| ) |
|
|
inlinevirtual |
◆ erase_worst()
void aims::knn::Heap::erase_worst |
( |
void |
| ) |
|
◆ exchange()
void aims::knn::Heap::exchange |
( |
unsigned int |
a, |
|
|
unsigned int |
b |
|
) |
| |
◆ get_worst_value()
double aims::knn::Heap::get_worst_value |
( |
| ) |
|
|
inline |
◆ insert()
void aims::knn::Heap::insert |
( |
double |
key, |
|
|
const void * |
value |
|
) |
| |
◆ operator[]()
const MiniHeap& aims::knn::Heap::operator[] |
( |
unsigned int |
ind | ) |
const |
|
inline |
◆ toVectors()
std::pair<std::vector<unsigned int>, std::vector<double> > aims::knn::Heap::toVectors |
( |
const Database & |
_db | ) |
|
The documentation for this class was generated from the following file: