nCenterFocus::LiftAndQuadricsStatistic Class Reference
[Quadrics Plus Lift Statistics]

hold statistics of a single centerfocus experiment : distribution of jacobian rank for different numbers of vanished focal values , different ranks of corresponding quadrics list separately for non-smooth and potential smooth points. For non-smooth points the observed minimal failed lift nr is logged.

#include <QuadricsStatistic.h>

Collaboration diagram for nCenterFocus::LiftAndQuadricsStatistic:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map< int,
BaseQuadricsStatistic * > 
BaseQuadricsStatisticMapType

Public Member Functions

 LiftAndQuadricsStatistic (std::string name, int _minPermittedVanishedFocalValuesNum, int _maxPermittedFocalValuesNum, int _maxPermittedJacobianRank, int exhaustiveMaxLift, int exhaustiveLiftTrials)
virtual ~LiftAndQuadricsStatistic ()
void clear ()
addStatistic

void addLiftAndQuadricsStatistic (int successiveVanishedFocalValues, int jacobianRank, int quadricsRank, bool liftTestPassed=true, int mitFailedLiftNr=-1)
io

void printValue (std::ostream &f) const
void print (std::ostream &f) const
 print lift an quadrics statistic in macaulay style - ( name +' = ' + value + ' ; ' )

Private Attributes

std::string name_m
int exhaustiveMaxLift_m
 used maxLift-Parameter to determine minFailedLiftNr, see failedQuadricStatistic_m and addLiftAndQuadricsStatistic()
int exhaustiveLiftTrials_m
 used liftTrials-Parameter to determine minFailedLiftNr, see failedQuadricStatistic_m and addLiftAndQuadricsStatistic()
std::pair
< BaseQuadricsStatistic,
BaseQuadricsStatistic
quadricStatisticPair_m
 first element holds statistic for potentially smooth points and second element holds statistic for non-smooth points.
BaseQuadricsStatisticMapType failedQuadricStatistic_m
 failedQuadricStatistic_m[ i ] holds quadric statistic for all points with minFailedLiftNr = i.

Detailed Description

Definition at line 198 of file QuadricsStatistic.h.


Member Typedef Documentation

Definition at line 202 of file QuadricsStatistic.h.


Constructor & Destructor Documentation

nCenterFocus::LiftAndQuadricsStatistic::LiftAndQuadricsStatistic ( std::string  name,
int  _minPermittedVanishedFocalValuesNum,
int  _maxPermittedFocalValuesNum,
int  _maxPermittedJacobianRank,
int  exhaustiveMaxLift,
int  exhaustiveLiftTrials 
)
Parameters:
_minPermittedVanishedFocalValuesNum expected minimal #(vanished focal values) - parameter passed to addLiftAndQuadricsStatistic()
_maxPermittedFocalValuesNum expected maximal (number of vanished focal values) - parameter passed to addLiftAndQuadricsStatistic()
_maxPermittedJacobianRank expected maximal rank parameter passed to addLiftAndQuadricsStatistic()
exhaustiveMaxLift used maxLift-Parameter to determine minFailedLiftNr, see addLiftAndQuadricsStatistic()
exhaustiveLiftTrials used liftTrials-Parameter to determine minFailedLiftNr, see addLiftAndQuadricsStatistic()

Definition at line 226 of file QuadricsStatistic.cpp.

nCenterFocus::LiftAndQuadricsStatistic::~LiftAndQuadricsStatistic (  )  [virtual]

Definition at line 302 of file QuadricsStatistic.cpp.

References failedQuadricStatistic_m.


Member Function Documentation

void nCenterFocus::LiftAndQuadricsStatistic::addLiftAndQuadricsStatistic ( int  successiveVanishedFocalValues,
int  jacobianRank,
int  quadricsRank,
bool  liftTestPassed = true,
int  minFailedLiftNr = -1 
) [inline]
Todo:
Optimierung: ssmap von boost ist eventuell schneller im vergleich zu std::map .
Parameters:
minFailedLiftNr - if a regular lift fail, an exhausted lift test must be performed to determine minFailedLiftNr

Definition at line 254 of file QuadricsStatistic.h.

References failedQuadricStatistic_m, name_m, and quadricStatisticPair_m.

Referenced by nCenterFocus::CenterFocusExperiment< variant >::performRegularExperiment().

void nCenterFocus::LiftAndQuadricsStatistic::clear (  ) 

Definition at line 252 of file QuadricsStatistic.cpp.

References failedQuadricStatistic_m, and quadricStatisticPair_m.

void nCenterFocus::LiftAndQuadricsStatistic::print ( std::ostream &  os  )  const
Precondition:
name_m is Macaulay-compilant variable name.

Definition at line 293 of file QuadricsStatistic.cpp.

References name_m, and printValue().

Here is the call graph for this function:

void nCenterFocus::LiftAndQuadricsStatistic::printValue ( std::ostream &  f  )  const

Member Data Documentation

Definition at line 240 of file QuadricsStatistic.h.

Referenced by printValue().

Definition at line 239 of file QuadricsStatistic.h.

Referenced by printValue().

Definition at line 236 of file QuadricsStatistic.h.

Referenced by addLiftAndQuadricsStatistic(), and print().

Definition at line 243 of file QuadricsStatistic.h.

Referenced by addLiftAndQuadricsStatistic(), clear(), and printValue().


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