lshkit::TopkEntry< KEY > Struct Template Reference

Top-K entry. More...

#include <topk.h>

List of all members.

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)


Detailed Description

template<typename KEY>
struct lshkit::TopkEntry< KEY >

Top-K entry.

The entry stored in the top-k data structure. The class Topk is implemented as a heap of TopkEntry.


The documentation for this struct was generated from the following file:
Get LSHKIT at SourceForge.net. Fast, secure and Free Open Source software downloads doxygen