nCenterFocus::BaseQuadricsStatistic Class Reference
[Quadrics Statistics]

hold statistics of a single centerfocus experiment : distribution of jacobian rank for different numbers of vanished focal values and different ranks of corresponding quadrics list

#include <QuadricsStatistic.h>

Collaboration diagram for nCenterFocus::BaseQuadricsStatistic:
Collaboration graph

List of all members.

Public Member Functions

void clear ()
constructors and destructors

 BaseQuadricsStatistic (std::string name, int _permittedMinSuccessiveVanishedFocalValuesNum, int _maxPermittedVanishedFocalValuesNum, int _maxPermittedJacobianRank)
 BaseQuadricsStatistic logs ( addQuadricsStatistic() ) and prints quadrics and rank statistic.
 BaseQuadricsStatistic (const BaseQuadricsStatistic &ref)
virtual ~BaseQuadricsStatistic ()

void addQuadricsStatistic (int successiveVanishedFocalValues, int jacobianRank, int quadricsRank)

int getPermittedMinSuccessiveVanishedFocalValues () const
int getPermittedMaxVanishedFocalValuesNum () const
int getPermittedMaxJacobianRank () const

Private Member Functions

BaseQuadricsStatisticoperator= (const BaseQuadricsStatistic &ref)

Private Attributes


std::vector< BaseRankStatistic * > rankStatistics_m
 rankStatistics_m[ quadricsRank ] contains rank statistic logs for quadrics rank = quadricsRank if quadricsRank is a possible quadrics rank.
std::vector< long64expSum_m
 counts logged trial number separately for each quadrics rank.
std::string name_m
int maxQuadricRank_m
 max expected quadrics rank to log, computed as

\[ \frac{ maxJacobianRank\_m * ( maxJacobianRank\_m + 1 ) } {2} \]

int maxJacobianRank_m
 max expected jacobian rank to log
int maxFocalValuesToCompute_m
 max expected number of successive vanished focal values to log
int minSuccessiveVanishedFocalValues_m
 smallest number of successive vanished focal values to log


void print (std::ostream &f) const
 Print quadrics statistic in Macaulay-style
Format: name +' = ' + value + ' ; '.
void printValue (std::ostream &os) const
int getHighestLoggedQuadricsRank () const

Detailed Description

Definition at line 27 of file QuadricsStatistic.h.

Constructor & Destructor Documentation

nCenterFocus::BaseQuadricsStatistic::BaseQuadricsStatistic ( std::string  name,
int  _permittedMinSuccessiveVanishedFocalValuesNum,
int  _maxPermittedVanishedFocalValuesNum,
int  _maxPermittedJacobianRank 
_permittedMinSuccessiveVanishedFocalValuesNum expected minimal #(vanished focal values) - parameter passed to addQuadricsStatistic()
_maxPermittedVanishedFocalValuesNum expected maximal (number of vanished focal values) - parameter passed to addQuadricsStatistic()
_maxPermittedJacobianRank expected maximal rank parameter passed to addQuadricsStatistic()

Definition at line 26 of file QuadricsStatistic.cpp.

References expSum_m, maxFocalValuesToCompute_m, maxJacobianRank_m, maxQuadricRank_m, minSuccessiveVanishedFocalValues_m, and rankStatistics_m.

nCenterFocus::BaseQuadricsStatistic::BaseQuadricsStatistic ( const BaseQuadricsStatistic ref  ) 

Definition at line 80 of file QuadricsStatistic.cpp.

References expSum_m, maxJacobianRank_m, maxQuadricRank_m, and rankStatistics_m.

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

Definition at line 154 of file QuadricsStatistic.cpp.

References maxQuadricRank_m, and rankStatistics_m.

Member Function Documentation

void nCenterFocus::BaseQuadricsStatistic::addQuadricsStatistic ( int  successiveVanishedFocalValues,
int  jacobianRank,
int  quadricsRank 
) [inline]

Definition at line 167 of file QuadricsStatistic.h.

References expSum_m, maxQuadricRank_m, and rankStatistics_m.

void nCenterFocus::BaseQuadricsStatistic::clear (  ) 
int nCenterFocus::BaseQuadricsStatistic::getHighestLoggedQuadricsRank (  )  const [private]

Definition at line 106 of file QuadricsStatistic.cpp.

References expSum_m, and maxQuadricRank_m.

Referenced by printValue().

int nCenterFocus::BaseQuadricsStatistic::getPermittedMaxJacobianRank (  )  const [inline]

Definition at line 114 of file QuadricsStatistic.h.

References maxJacobianRank_m.

int nCenterFocus::BaseQuadricsStatistic::getPermittedMaxVanishedFocalValuesNum (  )  const [inline]

Definition at line 108 of file QuadricsStatistic.h.

References maxFocalValuesToCompute_m.

int nCenterFocus::BaseQuadricsStatistic::getPermittedMinSuccessiveVanishedFocalValues (  )  const [inline]

Definition at line 102 of file QuadricsStatistic.h.

References minSuccessiveVanishedFocalValues_m.

BaseQuadricsStatistic& nCenterFocus::BaseQuadricsStatistic::operator= ( const BaseQuadricsStatistic ref  )  [inline, private]

Definition at line 75 of file QuadricsStatistic.h.

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

Definition at line 145 of file QuadricsStatistic.cpp.

References name_m, and printValue().

Here is the call graph for this function:

void nCenterFocus::BaseQuadricsStatistic::printValue ( std::ostream &  os  )  const
umschreiben in getValueAsString

Definition at line 117 of file QuadricsStatistic.cpp.

References expSum_m, getHighestLoggedQuadricsRank(), and rankStatistics_m.

Referenced by print().

Here is the call graph for this function:

Member Data Documentation

Definition at line 95 of file QuadricsStatistic.h.

Referenced by BaseQuadricsStatistic(), clear(), and getPermittedMaxJacobianRank().

Definition at line 92 of file QuadricsStatistic.h.

Referenced by print().

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