#include <GeneralTools.h>
Public Member Functions | |
| ScoreAccum () | |
| ~ScoreAccum () | |
| unsigned long | getSize () |
| void | addAndAccumulate (const String &id, double score, unsigned long nbFrames) |
| double | getScore (const String &id) |
| double | getScore (unsigned long n) |
| String & | getId (unsigned long n) |
| unsigned long | getIndex (const String &id) |
Private Attributes | |
| unsigned long | _nb |
| DoubleVector | _score |
| ULongVector | _nbFrame |
| XLine | _id |
Definition at line 128 of file GeneralTools.h.
| ScoreAccum::ScoreAccum | ( | ) | [inline] |
Definition at line 134 of file GeneralTools.h.
| ScoreAccum::~ScoreAccum | ( | ) | [inline] |
Definition at line 135 of file GeneralTools.h.
| void ScoreAccum::addAndAccumulate | ( | const String & | id, |
| double | score, | ||
| unsigned long | nbFrames | ||
| ) |
Definition at line 240 of file GeneralTools.cpp.
References _id, _nb, _nbFrame, and _score.
Referenced by ComputeTestByLabel(), and ComputeTestHisto().
| String & ScoreAccum::getId | ( | unsigned long | n ) |
Definition at line 268 of file GeneralTools.cpp.
Referenced by ComputeTestByLabel().
| unsigned long ScoreAccum::getIndex | ( | const String & | id ) |
| double ScoreAccum::getScore | ( | const String & | id ) |
Definition at line 254 of file GeneralTools.cpp.
References getIndex().
Referenced by ComputeTestByLabel(), and ComputeTestHisto().
| double ScoreAccum::getScore | ( | unsigned long | n ) |
Definition at line 262 of file GeneralTools.cpp.
| unsigned long ScoreAccum::getSize | ( | ) | [inline] |
Definition at line 136 of file GeneralTools.h.
Referenced by ComputeTestByLabel().
XLine ScoreAccum::_id [private] |
Definition at line 132 of file GeneralTools.h.
Referenced by addAndAccumulate(), getId(), and getIndex().
unsigned long ScoreAccum::_nb [private] |
Definition at line 129 of file GeneralTools.h.
Referenced by addAndAccumulate(), and getId().
ULongVector ScoreAccum::_nbFrame [private] |
Definition at line 131 of file GeneralTools.h.
Referenced by addAndAccumulate(), and getScore().
DoubleVector ScoreAccum::_score [private] |
Definition at line 130 of file GeneralTools.h.
Referenced by addAndAccumulate(), and getScore().
1.7.2