#include <topk.h>
Public Member Functions | |
| bool | match (const TopkEntry &e) const |
| bool | match (KEY e) const |
| TopkEntry (KEY key_, float dist_) | |
| void | reset () |
Public Attributes | |
| KEY | key |
| float | dist |
Friends | |
| bool | operator< (const TopkEntry &e1, const TopkEntry &e2) |
The entry stored in the top-k data structure. The class Topk is implemented as a heap of TopkEntry.