#include <LiftStatistic.h>
Public Types | |
typedef std::map< int, std::vector < FailedLiftStatistic > > | failedLiftStatisticMapType |
Public Member Functions | |
ExtendedFailedLiftStatistic () | |
log | |
void | logFailedLift (FailedLiftStatistic &failedLiftStatistic, int jacobianRank) |
io | |
void | printFailedLiftStatistic (std::ostream &os) const |
void | printMinLiftPointStatistic (std::ostream &os) const |
gibt für alle mögliche liftNr an, bei wieviel Punkten minFailedLiftNr=liftNr. | |
void | printSummedMinLiftPointStatistic (std::ostream &os) const |
Ausgabe; für alle liftNr gib aus Minimum ( der Anzahl des Auftretens von FailLiftNr <=liftNr ) gebildet über alle Punkte. dies bedeutet, dass für alle Punkte gilt : #(korrekt als Nichtglatt erkannt) / liftTrials >= obiges Ergebnis(als Fkt von maxLift) / LiftTrials . | |
void | printSummedAverageMinLiftPointStatistic (std::ostream &os) const |
Wahscheinlichkeit p das bei gegebenen maxLift ein Punkt nicht als nichtGlatt erkannt wird, wenn die Versuchsanzahl = 1 ist. bei liftTrials>1 ist die Wahrscheinlichkeit in etwa p^liftTrials (TODO: Aussage für liftTrials>1 nochmal überprüfen). | |
void | print (std::ostream &os) const |
Private Member Functions | |
template<class FailedLiftStatisticVector > | |
unsigned int | getMaxLift (FailedLiftStatisticVector &failedLiftStatisticList) const |
template<class FailedLiftStatisticVector > | |
unsigned int | getLiftTrials (FailedLiftStatisticVector &failedLiftStatisticList) const |
void | initMaxLiftAndLiftTrials () const |
template<class FailedLiftStatisticVector > | |
std::vector< FailedLiftStatistic > | getLiftStatisticEvaluatedList (FailedLiftStatisticVector &failedLiftStatisticList) const |
erstellt eine Statistikliste mit result[i].getFailedLiftCount(liftNr ) = sum_(i:i<=liftNr) (failedLiftStatisticList[i].getFailedLiftCount( liftNr=i ) ) | |
template<class FailedLiftStatisticVector > | |
std::vector< int > | getMinLiftPointStatistic (FailedLiftStatisticVector &failedLiftStatisticList) const |
template<class FailedLiftStatisticVector > | |
std::vector< int > | getMinLiftAllStatistic (FailedLiftStatisticVector &failedLiftStatisticList) const |
template<class FailedLiftStatisticVector > | |
std::vector< double > | getAverageLiftAllStatistic (FailedLiftStatisticVector &failedLiftStatisticList) const |
template<class FailedLiftStatisticVector > | |
std::string | getFailedLiftStatisticValue (FailedLiftStatisticVector &failedLiftStatisticList) const |
std::string | getMinLiftPointStatisticValue (std::vector< int > &minLiftInfo) const |
std::string | getAverageLiftStatisticValue (std::vector< double > &averageLiftInfo) const |
Private Attributes | |
data | |
unsigned short | maxLift_m |
unsigned int | liftTrials_m |
bool | bMaxLiftAndLiftTrialsIinitialized_m |
failedLiftStatisticMapType | failedLiftStatisticMap_m |
std::vector< uint64_t > | hitLiftInfo_m |
std::vector< FailedLiftStatistic > | failedLiftStatisticList_m |
eventuell abhaengig von minlift (und Rang(jacobian)) eine Verteilungsstatistik für failedLiftNr führen.
liftstatistik optional in DB speichern.
Definition at line 103 of file LiftStatistic.h.
typedef std::map<int, std::vector<FailedLiftStatistic > > nCenterFocus::ExtendedFailedLiftStatistic::failedLiftStatisticMapType |
Definition at line 107 of file LiftStatistic.h.
nCenterFocus::ExtendedFailedLiftStatistic::ExtendedFailedLiftStatistic | ( | ) |
Definition at line 137 of file LiftStatistic.cpp.
std::vector< double > nCenterFocus::ExtendedFailedLiftStatistic::getAverageLiftAllStatistic | ( | FailedLiftStatisticVector & | failedLiftStatisticList | ) | const [inline, private] |
Definition at line 334 of file LiftStatistic.h.
References bMaxLiftAndLiftTrialsIinitialized_m, getLiftStatisticEvaluatedList(), and maxLift_m.
Referenced by printSummedAverageMinLiftPointStatistic().
std::string nCenterFocus::ExtendedFailedLiftStatistic::getAverageLiftStatisticValue | ( | std::vector< double > & | averageLiftInfo | ) | const [private] |
Definition at line 311 of file LiftStatistic.cpp.
Referenced by printSummedAverageMinLiftPointStatistic().
std::string nCenterFocus::ExtendedFailedLiftStatistic::getFailedLiftStatisticValue | ( | FailedLiftStatisticVector & | failedLiftStatisticList | ) | const [inline, private] |
Definition at line 389 of file LiftStatistic.h.
References bMaxLiftAndLiftTrialsIinitialized_m, nCenterFocus::FailedLiftStatistic::getFailedLiftCount(), liftTrials_m, and maxLift_m.
Referenced by printFailedLiftStatistic().
std::vector< FailedLiftStatistic > nCenterFocus::ExtendedFailedLiftStatistic::getLiftStatisticEvaluatedList | ( | FailedLiftStatisticVector & | failedLiftStatisticList | ) | const [inline, private] |
Definition at line 226 of file LiftStatistic.h.
References bMaxLiftAndLiftTrialsIinitialized_m, nCenterFocus::FailedLiftStatistic::getFailedLiftCount(), nCenterFocus::FailedLiftStatistic::getMaxLift(), liftTrials_m, and maxLift_m.
Referenced by getAverageLiftAllStatistic(), and getMinLiftAllStatistic().
unsigned int nCenterFocus::ExtendedFailedLiftStatistic::getLiftTrials | ( | FailedLiftStatisticVector & | failedLiftStatisticList | ) | const [inline, private] |
Definition at line 270 of file LiftStatistic.h.
Referenced by initMaxLiftAndLiftTrials().
unsigned int nCenterFocus::ExtendedFailedLiftStatistic::getMaxLift | ( | FailedLiftStatisticVector & | failedLiftStatisticList | ) | const [inline, private] |
Definition at line 253 of file LiftStatistic.h.
Referenced by initMaxLiftAndLiftTrials().
std::vector< int > nCenterFocus::ExtendedFailedLiftStatistic::getMinLiftAllStatistic | ( | FailedLiftStatisticVector & | failedLiftStatisticList | ) | const [inline, private] |
Definition at line 289 of file LiftStatistic.h.
References bMaxLiftAndLiftTrialsIinitialized_m, getLiftStatisticEvaluatedList(), and maxLift_m.
Referenced by printSummedMinLiftPointStatistic().
std::vector< int > nCenterFocus::ExtendedFailedLiftStatistic::getMinLiftPointStatistic | ( | FailedLiftStatisticVector & | failedLiftStatisticList | ) | const [inline, private] |
Definition at line 366 of file LiftStatistic.h.
References bMaxLiftAndLiftTrialsIinitialized_m, and maxLift_m.
Referenced by printMinLiftPointStatistic().
std::string nCenterFocus::ExtendedFailedLiftStatistic::getMinLiftPointStatisticValue | ( | std::vector< int > & | minLiftInfo | ) | const [private] |
Definition at line 283 of file LiftStatistic.cpp.
Referenced by printMinLiftPointStatistic(), and printSummedMinLiftPointStatistic().
void nCenterFocus::ExtendedFailedLiftStatistic::initMaxLiftAndLiftTrials | ( | ) | const [inline, private] |
Definition at line 318 of file LiftStatistic.h.
References bMaxLiftAndLiftTrialsIinitialized_m, failedLiftStatisticList_m, failedLiftStatisticMap_m, getLiftTrials(), getMaxLift(), liftTrials_m, and maxLift_m.
Referenced by print().
void nCenterFocus::ExtendedFailedLiftStatistic::logFailedLift | ( | FailedLiftStatistic & | failedLiftStatistic, | |
int | jacobianRank | |||
) | [inline] |
Definition at line 205 of file LiftStatistic.h.
References bMaxLiftAndLiftTrialsIinitialized_m, and failedLiftStatisticMap_m.
Referenced by nCenterFocus::CenterFocusExperiment< variant >::performRegularExperiment().
void nCenterFocus::ExtendedFailedLiftStatistic::print | ( | std::ostream & | os | ) | const |
Definition at line 271 of file LiftStatistic.cpp.
References bMaxLiftAndLiftTrialsIinitialized_m, initMaxLiftAndLiftTrials(), printFailedLiftStatistic(), printMinLiftPointStatistic(), printSummedAverageMinLiftPointStatistic(), and printSummedMinLiftPointStatistic().
Referenced by nCenterFocus::centerfocus().
void nCenterFocus::ExtendedFailedLiftStatistic::printFailedLiftStatistic | ( | std::ostream & | os | ) | const [inline] |
Definition at line 143 of file LiftStatistic.cpp.
References bMaxLiftAndLiftTrialsIinitialized_m, failedLiftStatisticList_m, failedLiftStatisticMap_m, getFailedLiftStatisticValue(), liftTrials_m, and maxLift_m.
Referenced by print().
void nCenterFocus::ExtendedFailedLiftStatistic::printMinLiftPointStatistic | ( | std::ostream & | os | ) | const |
Definition at line 174 of file LiftStatistic.cpp.
References bMaxLiftAndLiftTrialsIinitialized_m, failedLiftStatisticList_m, failedLiftStatisticMap_m, getMinLiftPointStatistic(), getMinLiftPointStatisticValue(), liftTrials_m, and maxLift_m.
Referenced by print().
void nCenterFocus::ExtendedFailedLiftStatistic::printSummedAverageMinLiftPointStatistic | ( | std::ostream & | os | ) | const |
Definition at line 239 of file LiftStatistic.cpp.
References bMaxLiftAndLiftTrialsIinitialized_m, failedLiftStatisticList_m, failedLiftStatisticMap_m, getAverageLiftAllStatistic(), getAverageLiftStatisticValue(), liftTrials_m, and maxLift_m.
Referenced by print().
void nCenterFocus::ExtendedFailedLiftStatistic::printSummedMinLiftPointStatistic | ( | std::ostream & | os | ) | const |
Definition at line 206 of file LiftStatistic.cpp.
References bMaxLiftAndLiftTrialsIinitialized_m, failedLiftStatisticList_m, failedLiftStatisticMap_m, getMinLiftAllStatistic(), getMinLiftPointStatisticValue(), liftTrials_m, and maxLift_m.
Referenced by print().
bool nCenterFocus::ExtendedFailedLiftStatistic::bMaxLiftAndLiftTrialsIinitialized_m [mutable, private] |
Definition at line 117 of file LiftStatistic.h.
Referenced by getAverageLiftAllStatistic(), getFailedLiftStatisticValue(), getLiftStatisticEvaluatedList(), getMinLiftAllStatistic(), getMinLiftPointStatistic(), initMaxLiftAndLiftTrials(), logFailedLift(), print(), printFailedLiftStatistic(), printMinLiftPointStatistic(), printSummedAverageMinLiftPointStatistic(), and printSummedMinLiftPointStatistic().
std::vector<FailedLiftStatistic > nCenterFocus::ExtendedFailedLiftStatistic::failedLiftStatisticList_m [mutable, private] |
Definition at line 129 of file LiftStatistic.h.
Referenced by initMaxLiftAndLiftTrials(), printFailedLiftStatistic(), printMinLiftPointStatistic(), printSummedAverageMinLiftPointStatistic(), and printSummedMinLiftPointStatistic().
failedLiftStatisticMapType nCenterFocus::ExtendedFailedLiftStatistic::failedLiftStatisticMap_m [private] |
Definition at line 121 of file LiftStatistic.h.
Referenced by initMaxLiftAndLiftTrials(), logFailedLift(), printFailedLiftStatistic(), printMinLiftPointStatistic(), printSummedAverageMinLiftPointStatistic(), and printSummedMinLiftPointStatistic().
std::vector<uint64_t> nCenterFocus::ExtendedFailedLiftStatistic::hitLiftInfo_m [mutable, private] |
Definition at line 127 of file LiftStatistic.h.
unsigned int nCenterFocus::ExtendedFailedLiftStatistic::liftTrials_m [mutable, private] |
Definition at line 116 of file LiftStatistic.h.
Referenced by getFailedLiftStatisticValue(), getLiftStatisticEvaluatedList(), initMaxLiftAndLiftTrials(), printFailedLiftStatistic(), printMinLiftPointStatistic(), printSummedAverageMinLiftPointStatistic(), and printSummedMinLiftPointStatistic().
unsigned short nCenterFocus::ExtendedFailedLiftStatistic::maxLift_m [mutable, private] |
Definition at line 115 of file LiftStatistic.h.
Referenced by getAverageLiftAllStatistic(), getFailedLiftStatisticValue(), getLiftStatisticEvaluatedList(), getMinLiftAllStatistic(), getMinLiftPointStatistic(), initMaxLiftAndLiftTrials(), printFailedLiftStatistic(), printMinLiftPointStatistic(), printSummedAverageMinLiftPointStatistic(), and printSummedMinLiftPointStatistic().