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 separately for non-smooth and potential smooth points
#include <QuadricsStatistic.h>
Public Member Functions | |
void | clear () |
constructors and destructors | |
QuadricsStatistic (std::string name, int _permittedMinSuccessiveVanishedFocalValuesNum, int _maxPermittedVanishedFocalValuesNum, int _maxPermittedJacobianRank) | |
virtual | ~QuadricsStatistic () |
addStatistic | |
void | addQuadricsStatistic (int successiveVanishedFocalValues, int jacobianRank, int quadricsRank, bool liftTestPassed=true) |
TODO das ist eigentlich nicht mehr QuadricStatistic, sonderen bereits auch liftStatistic. | |
io | |
void | print (std::ostream &f) const |
Private Attributes | |
std::string | name_m |
std::pair < BaseQuadricsStatistic, BaseQuadricsStatistic > | quadricStatisticPair_m |
first element holds statistic for potentially smooth points and second element holds statistic for non-smooth points. |
Definition at line 125 of file QuadricsStatistic.h.
nCenterFocus::QuadricsStatistic::QuadricsStatistic | ( | std::string | name, | |
int | _permittedMinSuccessiveVanishedFocalValuesNum, | |||
int | _maxPermittedVanishedFocalValuesNum, | |||
int | _maxPermittedJacobianRank | |||
) |
see BaseQuadricsStatistic for parameter documentation.
Definition at line 171 of file QuadricsStatistic.cpp.
nCenterFocus::QuadricsStatistic::~QuadricsStatistic | ( | ) | [virtual] |
Definition at line 212 of file QuadricsStatistic.cpp.
void nCenterFocus::QuadricsStatistic::addQuadricsStatistic | ( | int | successiveVanishedFocalValues, | |
int | jacobianRank, | |||
int | quadricsRank, | |||
bool | liftTestPassed = true | |||
) | [inline] |
liftTestPassed | lift test passed or not |
Definition at line 180 of file QuadricsStatistic.h.
References quadricStatisticPair_m.
void nCenterFocus::QuadricsStatistic::clear | ( | ) |
Definition at line 206 of file QuadricsStatistic.cpp.
References quadricStatisticPair_m.
void nCenterFocus::QuadricsStatistic::print | ( | std::ostream & | os | ) | const |
prints quadric statistic in Macaulay style - ( name +' = ' + value + ' ; ' )
Definition at line 193 of file QuadricsStatistic.cpp.
References name_m, and quadricStatisticPair_m.
std::string nCenterFocus::QuadricsStatistic::name_m [private] |
Definition at line 158 of file QuadricsStatistic.h.
Referenced by print().
std::pair< BaseQuadricsStatistic, BaseQuadricsStatistic > nCenterFocus::QuadricsStatistic::quadricStatisticPair_m [private] |
Definition at line 161 of file QuadricsStatistic.h.
Referenced by addQuadricsStatistic(), clear(), and print().