mlpack  master
Public Member Functions | List of all members
mlpack::neighbor::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 169 of file neighbor_search_rules.hpp.

Member Function Documentation

template<typename SortPolicy , typename MetricType , typename TreeType >
bool mlpack::neighbor::NeighborSearchRules< SortPolicy, MetricType, TreeType >::CandidateCmp::operator() ( const Candidate c1,
const Candidate c2 
)
inline

Definition at line 170 of file neighbor_search_rules.hpp.


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