NeighborSearchRules< SortPolicy, MetricType, TreeType >::CandidateCmp Struct Reference

Compare two candidates based on the distance. More...

Public Member Functions

bool operator() (const Candidate &c1, const Candidate &c2)
 

Detailed Description


template
<
typename
SortPolicy
,
typename
MetricType
,
typename
TreeType
>

struct mlpack::neighbor::NeighborSearchRules< SortPolicy, MetricType, TreeType >::CandidateCmp

Compare two candidates based on the distance.

Definition at line 175 of file neighbor_search_rules.hpp.

Member Function Documentation

◆ operator()()

bool operator() ( const Candidate c1,
const Candidate c2 
)
inline

Definition at line 176 of file neighbor_search_rules.hpp.


The documentation for this struct was generated from the following file: