Struct IndexDist_Sorter

Struct Documentation

struct IndexDist_Sorter

operator “<” for std::sort()

Public Functions

template<typename PairType>
inline bool operator()(const PairType &p1, const PairType &p2) const

PairType will be typically: ResultItem<IndexType,DistanceType>