5 #ifndef MATCH_MATRIX_HEADER
6 #define MATCH_MATRIX_HEADER
20 MatchScore() : target(-1), detection(-1), score(0.0f) {}
22 bool operator<(
const MatchScore &other)
const {
23 return score < other.score;
30 return score > other.score;
44 void SetTargets(std::vector<int> &targets,
float threshold);
std::vector< MatchScore > matchMatrix
Definition: MatchMatrix.h:60
Definition: MatchMatrix.h:15
std::vector< char > isDetMatched
Definition: MatchMatrix.h:66
bool operator>(const MatchScore &other) const
Definition: MatchMatrix.h:29
void PrintMatchMatrix()
Definition: MatchMatrix.cpp:66
void SetTargets(std::vector< int > &targets, float threshold)
Definition: MatchMatrix.cpp:38
void SetNumDets(int numDets)
Definition: MatchMatrix.cpp:11
const int capacity
Definition: MatchMatrix.h:54
Definition: MatchMatrix.h:10