Struct MatchingProblem::Candidate

Nested Relationships

This struct is a nested type of Class MatchingProblem.

Struct Documentation

struct aslam::MatchingProblem::Candidate

Public Functions

inline Candidate()
inline Candidate(int _index_apple, int _index_banana, double _score, int _priority)
inline bool operator<(const Candidate &other) const
inline bool operator>(const Candidate &other) const
inline bool operator==(const Candidate &other) const

Public Members

int index_apple
int index_banana
double score
int priority

The priority field allows categorizing candidates.

Certain matching engines might treat candidates differently according to their priority. The priority outrules the score in the candidate comparison.