MetricKnn API
Fast Similarity Search using the Metric Space Approach
Public Member Functions | List of all members
mknn::MknnRankedAnswer< TypeObject > Class Template Reference

Public Member Functions

 MknnRankedAnswer (TypeObject id_object, long long rank_position)
 
const TypeObject & getIdObject () const
 
long long getRank () const
 the rank, 0 is the first.
 
bool operator< (const MknnRankedAnswer &other) const
 comparator by rank. More...
 

Constructor & Destructor Documentation

template<typename TypeObject >
MknnRankedAnswer::MknnRankedAnswer ( TypeObject  id_object,
long long  rank_position 
)
Parameters
id_object
rank_positionstarting from 0.

Member Function Documentation

template<typename TypeObject >
bool MknnRankedAnswer::operator< ( const MknnRankedAnswer< TypeObject > &  other) const

comparator by rank.

Parameters
other
Returns

The documentation for this class was generated from the following files:
Powered by Download MetricKnn