|
T * | get_val (size_t key) |
| Return the list of values for a heap.
|
|
TI * | get_ids (size_t key) |
| Correspponding identifiers.
|
|
void | heapify () |
| prepare all the heaps before adding
|
|
void | addn (size_t nj, const T *vin, TI j0=0, size_t i0=0, long ni=-1) |
|
void | addn_with_ids (size_t nj, const T *vin, const TI *id_in=nullptr, long id_stride=0, size_t i0=0, long ni=-1) |
|
void | reorder () |
| reorder all the heaps
|
|
void | per_line_extrema (T *vals_out, TI *idx_out) const |
|
template<typename C>
struct faiss::HeapArray< C >
a template structure for a set of [min|max]-heaps it is tailored so that the actual data of the heaps can just live in compact arrays.
Definition at line 350 of file Heap.h.