#include <LiftStatistic.h>
Public Member Functions | |
FailedLiftStatistic (unsigned int maxLift, unsigned int liftTrials) | |
FailedLiftStatistic () | |
void | operator+= (const FailedLiftStatistic &summand) |
unsigned int | getMaxLift () const |
unsigned int | getLiftTrials () const |
void | logFailedLift (int currentLiftNr) |
void | logFailedTests (int count) |
logs number of not lift tests which didnt detect non-smoothness for all non-smooth points. | |
int32_t | getFailedLiftCount (unsigned int liftNr) const |
void | setTestFailureCount () |
int32_t | getTestFailureCount () const |
void | setFailedLiftCount (unsigned int liftNr, int32_t count) |
unsigned short | getMinFailedLiftNr () const |
void | print (std::ostream &os) const |
Private Attributes | |
std::vector< int32_t > | failedLiftCount_m |
int64_t | failedLiftTrialCount |
unsigned int | maxLift_m |
unsigned int | liftTrials_m |
int64_t | testFailureCount_m |
Definition at line 38 of file LiftStatistic.h.
nCenterFocus::FailedLiftStatistic::FailedLiftStatistic | ( | unsigned int | maxLift, | |
unsigned int | liftTrials | |||
) |
Definition at line 9 of file LiftStatistic.cpp.
nCenterFocus::FailedLiftStatistic::FailedLiftStatistic | ( | ) |
Definition at line 19 of file LiftStatistic.cpp.
References failedLiftCount_m, and maxLift_m.
int32_t nCenterFocus::FailedLiftStatistic::getFailedLiftCount | ( | unsigned int | liftNr | ) | const |
Definition at line 60 of file LiftStatistic.cpp.
References failedLiftCount_m, and maxLift_m.
Referenced by nCenterFocus::ExtendedFailedLiftStatistic::getFailedLiftStatisticValue(), and nCenterFocus::ExtendedFailedLiftStatistic::getLiftStatisticEvaluatedList().
unsigned int nCenterFocus::FailedLiftStatistic::getLiftTrials | ( | ) | const |
Definition at line 34 of file LiftStatistic.cpp.
References liftTrials_m.
Referenced by operator+=().
unsigned int nCenterFocus::FailedLiftStatistic::getMaxLift | ( | ) | const |
Definition at line 29 of file LiftStatistic.cpp.
References maxLift_m.
Referenced by nCenterFocus::ExtendedFailedLiftStatistic::getLiftStatisticEvaluatedList(), and operator+=().
unsigned short nCenterFocus::FailedLiftStatistic::getMinFailedLiftNr | ( | ) | const |
Definition at line 87 of file LiftStatistic.cpp.
References failedLiftCount_m.
int32_t nCenterFocus::FailedLiftStatistic::getTestFailureCount | ( | ) | const |
Definition at line 75 of file LiftStatistic.cpp.
References testFailureCount_m.
Referenced by print().
void nCenterFocus::FailedLiftStatistic::logFailedLift | ( | int | currentLiftNr | ) |
Definition at line 39 of file LiftStatistic.cpp.
References failedLiftCount_m, failedLiftTrialCount, and liftTrials_m.
void nCenterFocus::FailedLiftStatistic::logFailedTests | ( | int | count | ) |
void nCenterFocus::FailedLiftStatistic::operator+= | ( | const FailedLiftStatistic & | summand | ) |
Definition at line 47 of file LiftStatistic.cpp.
References failedLiftCount_m, failedLiftTrialCount, getLiftTrials(), getMaxLift(), liftTrials_m, maxLift_m, and testFailureCount_m.
void nCenterFocus::FailedLiftStatistic::print | ( | std::ostream & | os | ) | const |
Definition at line 109 of file LiftStatistic.cpp.
References failedLiftCount_m, getTestFailureCount(), liftTrials_m, and maxLift_m.
void nCenterFocus::FailedLiftStatistic::setFailedLiftCount | ( | unsigned int | liftNr, | |
int32_t | count | |||
) |
Definition at line 81 of file LiftStatistic.cpp.
References failedLiftCount_m, and maxLift_m.
void nCenterFocus::FailedLiftStatistic::setTestFailureCount | ( | ) |
Definition at line 67 of file LiftStatistic.cpp.
References failedLiftTrialCount, liftTrials_m, and testFailureCount_m.
std::vector<int32_t> nCenterFocus::FailedLiftStatistic::failedLiftCount_m [private] |
Definition at line 43 of file LiftStatistic.h.
Referenced by FailedLiftStatistic(), getFailedLiftCount(), getMinFailedLiftNr(), logFailedLift(), operator+=(), print(), and setFailedLiftCount().
int64_t nCenterFocus::FailedLiftStatistic::failedLiftTrialCount [private] |
Definition at line 45 of file LiftStatistic.h.
Referenced by logFailedLift(), operator+=(), and setTestFailureCount().
unsigned int nCenterFocus::FailedLiftStatistic::liftTrials_m [private] |
Definition at line 50 of file LiftStatistic.h.
Referenced by getLiftTrials(), logFailedLift(), operator+=(), print(), and setTestFailureCount().
unsigned int nCenterFocus::FailedLiftStatistic::maxLift_m [private] |
Definition at line 49 of file LiftStatistic.h.
Referenced by FailedLiftStatistic(), getFailedLiftCount(), getMaxLift(), operator+=(), print(), and setFailedLiftCount().
int64_t nCenterFocus::FailedLiftStatistic::testFailureCount_m [private] |
Definition at line 52 of file LiftStatistic.h.
Referenced by getTestFailureCount(), operator+=(), and setTestFailureCount().