Added size() to scorekeeper

This commit is contained in:
Matt Hill
2015-07-04 19:31:21 -04:00
parent e5e5dd153b
commit be81d3ed46
2 changed files with 7 additions and 0 deletions

View File

@@ -51,6 +51,12 @@ namespace alpr
return score; return score;
} }
int ScoreKeeper::size() {
return weight_ids.size();
}
void ScoreKeeper::printDebugScores() { void ScoreKeeper::printDebugScores() {

View File

@@ -35,6 +35,7 @@ namespace alpr
void setScore(std::string weight_id, float score, float weight); void setScore(std::string weight_id, float score, float weight);
float getTotal(); float getTotal();
int size();
void printDebugScores(); void printDebugScores();