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>
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. |
Definition at line 198 of file QuadricsStatistic.h.
typedef std::map<int, BaseQuadricsStatistic*> nCenterFocus::LiftAndQuadricsStatistic::BaseQuadricsStatisticMapType |
Definition at line 202 of file QuadricsStatistic.h.
nCenterFocus::LiftAndQuadricsStatistic::LiftAndQuadricsStatistic | ( | std::string | name, | |
int | _minPermittedVanishedFocalValuesNum, | |||
int | _maxPermittedFocalValuesNum, | |||
int | _maxPermittedJacobianRank, | |||
int | exhaustiveMaxLift, | |||
int | exhaustiveLiftTrials | |||
) |
_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.
void nCenterFocus::LiftAndQuadricsStatistic::addLiftAndQuadricsStatistic | ( | int | successiveVanishedFocalValues, | |
int | jacobianRank, | |||
int | quadricsRank, | |||
bool | liftTestPassed = true , |
|||
int | minFailedLiftNr = -1 | |||
) | [inline] |
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 |
Definition at line 293 of file QuadricsStatistic.cpp.
References name_m, and printValue().
void nCenterFocus::LiftAndQuadricsStatistic::printValue | ( | std::ostream & | f | ) | const |
Definition at line 261 of file QuadricsStatistic.cpp.
References exhaustiveLiftTrials_m, exhaustiveMaxLift_m, failedQuadricStatistic_m, and quadricStatisticPair_m.
Referenced by print().
Definition at line 240 of file QuadricsStatistic.h.
Referenced by printValue().
Definition at line 239 of file QuadricsStatistic.h.
Referenced by printValue().
BaseQuadricsStatisticMapType nCenterFocus::LiftAndQuadricsStatistic::failedQuadricStatistic_m [private] |
Definition at line 246 of file QuadricsStatistic.h.
Referenced by addLiftAndQuadricsStatistic(), clear(), printValue(), and ~LiftAndQuadricsStatistic().
std::string nCenterFocus::LiftAndQuadricsStatistic::name_m [private] |
Definition at line 236 of file QuadricsStatistic.h.
Referenced by addLiftAndQuadricsStatistic(), and print().
std::pair< BaseQuadricsStatistic, BaseQuadricsStatistic > nCenterFocus::LiftAndQuadricsStatistic::quadricStatisticPair_m [private] |
Definition at line 243 of file QuadricsStatistic.h.
Referenced by addLiftAndQuadricsStatistic(), clear(), and printValue().