nCenterFocus::ExtendedFailedLiftStatistic Class Reference
[Lift Statistics]

#include <LiftStatistic.h>

List of all members.

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< FailedLiftStatisticgetLiftStatisticEvaluatedList (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< FailedLiftStatisticfailedLiftStatisticList_m

Detailed Description

Todo:

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.


Member Typedef Documentation

Definition at line 107 of file LiftStatistic.h.


Constructor & Destructor Documentation

nCenterFocus::ExtendedFailedLiftStatistic::ExtendedFailedLiftStatistic (  ) 

Definition at line 137 of file LiftStatistic.cpp.


Member Function Documentation

template<class FailedLiftStatisticVector >
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().

Here is the call graph for this function:

std::string nCenterFocus::ExtendedFailedLiftStatistic::getAverageLiftStatisticValue ( std::vector< double > &  averageLiftInfo  )  const [private]

Definition at line 311 of file LiftStatistic.cpp.

Referenced by printSummedAverageMinLiftPointStatistic().

template<class FailedLiftStatisticVector >
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().

Here is the call graph for this function:

template<class FailedLiftStatisticVector >
std::vector< FailedLiftStatistic > nCenterFocus::ExtendedFailedLiftStatistic::getLiftStatisticEvaluatedList ( FailedLiftStatisticVector &  failedLiftStatisticList  )  const [inline, private]
template<class FailedLiftStatisticVector >
unsigned int nCenterFocus::ExtendedFailedLiftStatistic::getLiftTrials ( FailedLiftStatisticVector &  failedLiftStatisticList  )  const [inline, private]

Definition at line 270 of file LiftStatistic.h.

Referenced by initMaxLiftAndLiftTrials().

template<class FailedLiftStatisticVector >
unsigned int nCenterFocus::ExtendedFailedLiftStatistic::getMaxLift ( FailedLiftStatisticVector &  failedLiftStatisticList  )  const [inline, private]

Definition at line 253 of file LiftStatistic.h.

Referenced by initMaxLiftAndLiftTrials().

template<class FailedLiftStatisticVector >
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().

Here is the call graph for this function:

template<class FailedLiftStatisticVector >
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]
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().

Here is the call graph for this function:

void nCenterFocus::ExtendedFailedLiftStatistic::logFailedLift ( FailedLiftStatistic failedLiftStatistic,
int  jacobianRank 
) [inline]
Todo:
wenn es sich um einen erkannten nichtglatten punkt handelt, zählen wie oft diese Tatsache nicht erkannt wurde.

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
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().

Here is the call graph for this function:

void nCenterFocus::ExtendedFailedLiftStatistic::printMinLiftPointStatistic ( std::ostream &  os  )  const
void nCenterFocus::ExtendedFailedLiftStatistic::printSummedAverageMinLiftPointStatistic ( std::ostream &  os  )  const
void nCenterFocus::ExtendedFailedLiftStatistic::printSummedMinLiftPointStatistic ( std::ostream &  os  )  const

Member Data Documentation

std::vector<uint64_t> nCenterFocus::ExtendedFailedLiftStatistic::hitLiftInfo_m [mutable, private]

Definition at line 127 of file LiftStatistic.h.

unsigned short nCenterFocus::ExtendedFailedLiftStatistic::maxLift_m [mutable, private]

The documentation for this class was generated from the following files:
Generated on Tue Nov 23 13:10:53 2010 for centerfocus by  doxygen 1.6.3