Public Attributes | |
std::vector< int > | row_to_col |
col no. | |
std::vector< int > | col_to_row |
row no. | |
int | cost |
Total cost associated with this assignment. | |
int | numMatches |
Number of valid matches in this assignment. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Assignment &obj) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const Assignment & | obj | |||
) | [friend] |
std::vector<int> w2img::HungarianMatch::Assignment::col_to_row |
row no.
(starting at zero) assigned to each col. An assignment value of -1 indicates that this col is unassigned i.e. that it is terminated.
Total cost associated with this assignment.
Number of valid matches in this assignment.
std::vector<int> w2img::HungarianMatch::Assignment::row_to_col |
col no.
(starting at zero) assigned to each row. An assignment value of -1 indicates that this row is unassigned i.e. that it is new.