nCenterFocus::CenterfocusParams< TPolynomXY, TRing > Class Template Reference
[Centerfocus Options]

Centerfocus options parser and manager. More...

#include <ReadCenterFocusParams.h>

Collaboration diagram for nCenterFocus::CenterfocusParams< TPolynomXY, TRing >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TPolynomXY PolynomXY_Type
typedef TRing RingType

Public Member Functions

int getCheckpointInterval () const
 in sec.
bool writeResultToCout () const
const list< CoeffListEntrygetCoeffVariablesOrder () const
void printParameters (ostream &oFile) const
 output parameters which was received from the input file to a stream
Attention: it is possible that during computation some parameters were ignored or their values were replaced. This information is currently not fully available.
ofstream & getOsRef () const
const TRing * getRing () const
const TRing & getRingRef () const
TPolynomXY const * getMinusPPolynom () const
TPolynomXY const * getQPolynom () const
TPolynomXY const & getMinusPPolynomRef () const
TPolynomXY const & getQPolynomRef () const
bool areWellDefined ()
void initAllCoeffitientsAreVariables ()
 ~CenterfocusParams ()
access lift options

int getMaxLift () const
int getLiftTrials () const
int getExhaustiveMaxLift () const
int getExhaustiveLiftTrials () const
int getRequestedLiftPointNum () const
access random options

long64 getRequestedTrialsNum () const
long & getRandomSeedRef () const
long * getRandomSeedPtr () const
bool bInitRandomFromTime () const
 use time as random seed ?
bool useFormula1 () const
bool useFormula2 () const
bool useFormula23 () const
long64 getRandomCounterStartValue () const
int getParametrizedFocalValuesNum () const
access filter options

int getHamiltonianComponentSwitch () const
unsigned int getRequiredFullJacobianMinRank () const
unsigned int getRequiredSubJacobianMinRank () const
int requiredVanishedFocalValuesNum () const
unsigned int getMinComponentCodim () const
bool nonSmoothPointPassFilter () const
access general options

int getEpsPrecision () const
int getFieldCharacteristic () const
int getMaxFocalValuesToCompute () const
int getPolynomialDegree () const
string getExperimentTag () const
string getExperimentTagNoWS () const
bool inputFromStd () const
 read parameters from instream (yes/no)
string getOutputFileName () const
bool showProgress () const
 print dots to indicate progress.
int getProgressStepWidth () const
long64 getPointID () const
bool pureSmoothnessTest () const
properties derived from options

int getMaxComputableFocalValues () const
long64 getCoeffTryRandom () const
long64 getCoeffTryAll () const
Parameterlist const * getParameterList ()
bool isCoefficientVariable (int x_exp, int y_exp, P_or_QPolynom p_or_q) const
 checks for current polynoms p,q if coefficient (identified by x_exp, y_exp and P_or_QPolynom) is variable
bool isCoefficientVariable (const CoeffListEntry &coeffEntry) const
bool isRandomVariable (const CoeffListEntry &coeffEntry) const
bool allConstCoefficientsAreVariables () const
bool hasVariableCoefficients () const
const CoeffListgetMonomsWithRandomCoefficients () const
const CoeffListgetMonomsWithAllCoefficients () const
bool polynomsHaveRandomCoeff () const
bool polynomsHaveCheckAllCoeff () const
bool logExtendedLiftStatistic () const
bool polynomsContainsVariableCoeff () const
bool pointPassedFilter (uint16_t exactVanishedFocalValues, uint16_t jacobianRank, bool smooth, uint16_t quadricsRank) const
int getPDFCoefficientNum () const
 PDF steht für Poincaresche Differentialform.

Static Public Attributes

static const string nonSmoothPointPassFilter_ConstString_m
static const string maxFocalValues_ConstString_m
static const string reqVanisnedValues_ConstString_m
static const string characteristic_ConstString_m
static const string polynomialDegree_ConstString_m
static const string randomTrialsNum_ConstString_m
static const string randomSeed_ConstString_m
static const string randomSeedFromSysTime_ConstString_m
static const string maxLift_ConstString_m
static const string liftTrials_ConstString_m
static const string exhaustiveMaxLift_ConstString_m
static const string exhaustiveLiftTrials_ConstString_m
static const string requestedLiftPointNum_ConstString_m
static const string epsPrecision_ConstString_m
static const string minJacobianRank_ConstString_m
static const string minJacobianSubMatrixRank_ConstString_m
static const string useFormula1_ConstString_m
static const string useFormula2_ConstString_m
static const string useFormula23_ConstString_m
static const string appendResults_ConstString_m
static const string experimentTag_ConstString_m
static const string experimentTagNoWhiteSpaces_ConstString_m
static const string showProgress_ConstString_m
static const string true_ConstString_m
static const string false_ConstString_m
static const string minComponentCodim_ConstString_m
static const string randomCounterStartValue_ConstString_m
static const string HamiltonianComponentSwitch_ConstString_m
static const string logExtendedLiftStatistic_ConstString_m
static const string pureSmothnessTest_ConstString_m
static const string checkpointInterval_ConstString_m
static const string pointFilter_ConstString_m
static const string pointFilterStrategy_ConstString_m

Private Member Functions

long64 getCoeffTry (const CoeffList &coefflist) const
check parameters

void checkParameters () const
read general options from input

void loadParamList (istream &fileInStream)
 load params from stream
void loadParamList (string inputFile_)
void loadParamListFromString (const char *inputParameters)
bool initBoolParameter (string name, bool &internParameter, int printOrder)
template<class TInternParameter >
bool initNonNegativeIntParameter (string name, TInternParameter &internParameter, int printOrder)
parameter conversion

void convertStringParamsToOptions ()

Private Attributes

bool bWriteToCout_m
bool bLogExtendedLiftStatistic_m
string lockFileName_m
bool bHasVariableCoefficients_m
bool bAllConstCoefficientsAreVariables_m
 wird in areWellDefined initialisiert.
internal data

long64 randomCounterStartValue_m
 is only relevant for debugging Wert>0 bewirkt, dass für die ersten zufälligen startRandomCounter_m Punkte keine Berechnung durchgeführt wird.
bool bShowProgress_m
string inputFileString_m
bool bLocking_m
bool positionInLValue_m
bool bNonSmoothPointPassFilter_m
bool firstPQ_m
int braceLevel_m
int checkpointInterval_m
bool parameterNameExpected_m
ofstream os_m
TRing * ringEps_m
string outputFileName_m
long64 pointID_m
list< CoeffListEntrycoeffVariablesOrder_m
general options

ParameterlistparamList_m
 input parameter list ({name,value} string pairs) (from macaulay)
int epsPrecision_m
 epsilon precision size
int fieldCharacteristic_m
int maxDegree
int maxFocalValuesToCompute_m
int gradderpolynome_m
 polynomial degree of p,q
istream * inputFile_m
 input data stream
bool inputFromStd_m
int progressStepWidth_m
bool bMultipleExperimentsInAFile_m
string experimentTag_m
string experimentTagNoWS_m
bool bPureSmoothnessTest_m
lift test options

int maxLift_m
int liftTrials_m
int exhaustiveMaxLift_m
int exhaustiveLiftTrials_m
int requestedLiftPointNum_m
random experiment options

long64 azZufallszahlen_m
 number of random trials for each experiment
bool randomSeedFromSysTime_m
 use time as random seed ?
long randomSeed_m
 random seed (for initial seed see input parameter list 'params'
bool benutzeFormel_1_m
 compute q(3,0) in a kind that first focal value vanish
bool benutzeFormel_2_m
 compute p(3,0) in a kind that second focal value vanish
bool benutzeFormel_23_m
int HamiltonianComponentSwitch_m
int minComponentCodim_m
 jacobianRank+QuadricsDim mus be greater than minComponentCodim_m
filter options

int reqFullJacobianMinRank_m
 output result only, if Rank(jacobian)>=reqJacobianMinRank
int reqSubJacobianMinRank_m
 output result only, if Rank(jacobian)>=reqJacobianMinRank
int bReqVanishedFocalValues_m
 output result only, if number of vanished focal values is greater or equal to bReqVanishedFocalValues_m
CFPointFilterpointFilter
experiment options /data

bool containsMonomsWithAllCoefficientsCheck_m
bool containsMonomsWithRandomCoefficients_m
TPolynomXY * infEps_minusP_polynom_m
TPolynomXY * infEps_Q_polynom_m
CoeffList monomsWithAllCoefficients_m
CoeffList monomsWithRandomCoefficients_m

initialisation



 CenterfocusParams (const int argc, const char *const argv[])
void init ()
void setupOutputFile (const int argc, const char *const argv[])
void initExperimentTag ()
void initPolynomialDegree ()
void initFieldCharacteristic ()
void initHamiltonianComponentSwitch ()
void initHasVariableCoefficients ()
void initRandomSeed ()
void initCoeffVariablesOrder ()
void initPointFilter ()

read polynoms for a single Experiment from an input stream / file



bool readNextPolynoms ()
 reads configuration of polynoms P and Q for next experiments.
string readLParameter ()
void readMonomGroup (TRing *ring1, TPolynomXY &pol, string &monomGroup, int momomGroupDegree, P_or_QPolynom p_or_q)
void updatePolynom (TRing *ring1, TPolynomXY &pol, stringstream &polynomStream, P_or_QPolynom p_or_q)
void updatePolynoms (stringstream &polynomData, TRing *ring1)
 for polynomData following format is expected:
"{{p monomials of degree 2 },{q monomials of degree 2 },{p.. degree 3},{q .. degree 3},...{.. degree n},{ .. degree n}}"
void updatePolynomsFromDifferentialForm (string differentialFormString)

Detailed Description

template<class TPolynomXY, class TRing>
class nCenterFocus::CenterfocusParams< TPolynomXY, TRing >

Parse and manage parameters from input file and internal settings

/

Todo:

Warnung ausgeben, falls keine Variablen variiert werden und subJacobiMatrixRank>0

separate Parameters and Work Data

wenn es sich um kein Zufallsexperiment handelt, darf useformula2 und useformula23 und useformula1 nicht gesetzt sein!

Elemente von TRing und von TPolynomXY_Type muessen zueinander passen, ueberlegen, wie dies sichergestellt, bzw. geprueft wird. geht eventuell mit typeid( A )==typeid( a ), und hash include <typeinfo>

Todo:
reengineer this not very well-designed class
Todo:
RingTyp wird eventuell in jedem Ringelement gespeichert. Problem; charaktteristik wird dadurch nicht festgehalten...
Todo:
wieso nicht CenterfocusParams mit TFrommer parametrisieren ? das Ding enthaelt doch sowohl TPolynomXY als auch TRing

Definition at line 339 of file ReadCenterFocusParams.h.


Member Typedef Documentation

template<class TPolynomXY , class TRing >
typedef TPolynomXY nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::PolynomXY_Type

Definition at line 343 of file ReadCenterFocusParams.h.

template<class TPolynomXY , class TRing >
typedef TRing nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::RingType

Definition at line 344 of file ReadCenterFocusParams.h.


Constructor & Destructor Documentation

template<class TPolynomXY , class TRing >
nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::CenterfocusParams ( const int  argc,
const char *const   argv[] 
) [inline]
Todo:

eine fortgeschrittene Methode wäre Semaphore zu nutzen.

Ausgabereihenfolge der Parameter an einer Stelle festlegen.

Note:
Das Locking dient dazu, dass nicht von zwei Prozessen gleichzeitig dieselbe Datei angelegt wird. Es ist natürlich auch möglich, dass es einen Befehl gibt, wecher atomar einen fstream nur dann öffnet, falls es die Datei nicht gibt. Zum hier verwendeten locking siehe http://www.informit.com/articles/article.aspx?p=23618&seqNum=4, 8.3 fcntl: Locks and Other File Operations
Todo:

eine fortgeschrittene Methode wäre Semaphore zu nutzen.

Ausgabereihenfolge der Parameter an einer Stelle festlegen.

Note:
Das Locking dient dazu, dass nicht von zwei Prozessen gleichzeitig dieselbe Datei angelegt wird. Es ist natürlich auch möglich, dass es einen Befehl gibt, wecher atomar einen fstream nur dann öffnet, falls es die Datei nicht gibt. Zum hier verwendeten locking siehe http://www.informit.com/articles/article.aspx?p=23618&seqNum=4, 8.3 fcntl: Locks and Other File Operations

Todo:
: Frage: kann der InputFileStream auch vom String als Eingabe in der Form (mehrfach))gelesen werden?
Todo:
: Frage: kann der InputFileStream auch vom String als Eingabe in der Form (mehrfach))gelesen werden?

Definition at line 192 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::areWellDefined(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::azZufallszahlen_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::init(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initNonNegativeIntParameter(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::loadParamList(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::loadParamListFromString(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomTrialsNum_ConstString_m, and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::setupOutputFile().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::~CenterfocusParams (  )  [inline]

Member Function Documentation

template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::allConstCoefficientsAreVariables (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::areWellDefined (  )  [inline]
Todo:
bHasVariableCoefficients_m gesondert initialisieren, hier nur prüfen, ob nur ein Zufallsexperiment definiert wurde.
Todo:
bHasVariableCoefficients_m gesondert initialisieren, hier nur prüfen, ob nur ein Zufallsexperiment definiert wurde.

Todo:
hier ist noch wichtiger, dass wenn es keine '*'-Koeffizienten, sondern ebenfalls nur 'A'-Koeffizienten gibt, ebenfalls getRequestedTrialsNum=0 sein muss.

diese Bedingung muss gelten, sonst bekommt man eine falsche Statistik.

Todo:
hier ist noch wichtiger, dass wenn es keine '*'-Koeffizienten, sondern ebenfalls nur 'A'-Koeffizienten gibt, ebenfalls getRequestedTrialsNum=0 sein muss.

diese Bedingung muss gelten, sonst bekommt man eine falsche Statistik.

Definition at line 1724 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_1_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_23_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_2_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bHasVariableCoefficients_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::braceLevel_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bReqVanishedFocalValues_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveLiftTrials_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveMaxLift_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::firstPQ_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getEpsPrecision(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMaxComputableFocalValues(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMaxLift(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getParametrizedFocalValuesNum(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRequestedLiftPointNum(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRequestedTrialsNum(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::gradderpolynome_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::inputFile_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::liftTrials_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxFocalValuesToCompute_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxLift_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minComponentCodim_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::parameterNameExpected_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointFilter, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::polynomsContainsVariableCoeff(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::polynomsHaveCheckAllCoeff(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::polynomsHaveRandomCoeff(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::positionInLValue_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::readNextPolynoms(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::requiredVanishedFocalValuesNum(), and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::ringEps_m.

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::CenterfocusParams().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bInitRandomFromTime (  )  const [inline]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::checkParameters (  )  const [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::convertStringParamsToOptions (  )  [inline, private]

muss nach initFieldCharacteristic stattfinden!

Todo:
NonSmoothPointPassFilter oder NonSmoothPointPassFilter

muss nach initFieldCharacteristic stattfinden!

Todo:
NonSmoothPointPassFilter oder NonSmoothPointPassFilter

Definition at line 1269 of file ReadCenterFocusParams.cpp.

References Parameterlist::addDefaultParameter(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::appendResults_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::azZufallszahlen_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_1_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_23_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_2_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bLogExtendedLiftStatistic_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bMultipleExperimentsInAFile_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bNonSmoothPointPassFilter_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bPureSmoothnessTest_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bReqVanishedFocalValues_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bShowProgress_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::checkpointInterval_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::checkpointInterval_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::epsPrecision_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::epsPrecision_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveLiftTrials_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveLiftTrials_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveMaxLift_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveMaxLift_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::fieldCharacteristic_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMaxComputableFocalValues(), Parameterlist::getParameterRefByName(), Parameter::getValueAsString(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::gradderpolynome_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::infEps_minusP_polynom_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::infEps_Q_polynom_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initBoolParameter(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initCoeffVariablesOrder(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initExperimentTag(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initFieldCharacteristic(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initHamiltonianComponentSwitch(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initHasVariableCoefficients(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initNonNegativeIntParameter(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initPointFilter(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initPolynomialDegree(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initRandomSeed(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::liftTrials_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::liftTrials_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::logExtendedLiftStatistic_ConstString_m, Parameter::markUsed(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxFocalValues_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxFocalValuesToCompute_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxLift_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxLift_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minComponentCodim_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minComponentCodim_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minJacobianRank_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minJacobianSubMatrixRank_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::nonSmoothPointPassFilter_ConstString_m, Parameterlist::paramExists(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::paramList_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pureSmothnessTest_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomCounterStartValue_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomCounterStartValue_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomTrialsNum_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqFullJacobianMinRank_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqSubJacobianMinRank_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::requestedLiftPointNum_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::requestedLiftPointNum_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqVanisnedValues_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::ringEps_m, Parameter::setPrintOrder(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::showProgress_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula1_ConstString_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula23_ConstString_m, and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula2_ConstString_m.

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::loadParamList().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getCheckpointInterval (  )  const [inline]
template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getCoeffTry ( const CoeffList coefflist  )  const [inline, private]
Todo:
endlich den Iterator ueber PQ-Elemente schreiben!
Todo:
endlich den Iterator ueber PQ-Elemente schreiben!

Definition at line 1933 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::coeffVariablesOrder_m, and nCenterFocus::CoeffList::containsEntry().

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getCoeffTryAll(), and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getCoeffTryRandom().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getCoeffTryAll (  )  const [inline]
template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getCoeffTryRandom (  )  const [inline]
template<class TPolynomXY , class TRing >
const list<CoeffListEntry> nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getCoeffVariablesOrder (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getEpsPrecision (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getExhaustiveLiftTrials (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getExhaustiveMaxLift (  )  const [inline]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getExperimentTag (  )  const [inline]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getExperimentTagNoWS (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getFieldCharacteristic (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getHamiltonianComponentSwitch (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getLiftTrials (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMaxComputableFocalValues (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMaxFocalValuesToCompute (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMaxLift (  )  const [inline]
template<class TPolynomXY , class TRing >
unsigned int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMinComponentCodim (  )  const [inline]
template<class TPolynomXY , class TRing >
TPolynomXY const* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMinusPPolynom (  )  const [inline]
template<class TPolynomXY , class TRing >
TPolynomXY const& nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMinusPPolynomRef (  )  const [inline]
template<class TPolynomXY , class TRing >
const CoeffList& nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMonomsWithAllCoefficients (  )  const [inline]
template<class TPolynomXY , class TRing >
const CoeffList& nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getMonomsWithRandomCoefficients (  )  const [inline]
template<class TPolynomXY , class TRing >
ofstream& nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getOsRef (  )  const [inline]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getOutputFileName (  )  const [inline]
template<class TPolynomXY , class TRing >
Parameterlist const* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getParameterList (  )  [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getParametrizedFocalValuesNum (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getPDFCoefficientNum (  )  const [inline]

Definition at line 693 of file ReadCenterFocusParams.h.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getPolynomialDegree().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getPointID (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getPolynomialDegree (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getProgressStepWidth (  )  const [inline]
template<class TPolynomXY , class TRing >
TPolynomXY const* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getQPolynom (  )  const [inline]
template<class TPolynomXY , class TRing >
TPolynomXY const& nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getQPolynomRef (  )  const [inline]
template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRandomCounterStartValue (  )  const [inline]
template<class TPolynomXY , class TRing >
long* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRandomSeedPtr (  )  const [inline]
template<class TPolynomXY , class TRing >
long& nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRandomSeedRef (  )  const [inline]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRequestedLiftPointNum (  )  const [inline]
template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRequestedTrialsNum (  )  const [inline]
template<class TPolynomXY , class TRing >
unsigned int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRequiredFullJacobianMinRank (  )  const [inline]
Precondition:
reqFullJacobianMinRank_m>=0 (muss beim initialisieren von reqFullJacobianMinRank_m geprüft werden)

Definition at line 593 of file ReadCenterFocusParams.h.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqFullJacobianMinRank_m.

template<class TPolynomXY , class TRing >
unsigned int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRequiredSubJacobianMinRank (  )  const [inline]
Precondition:
reqFullJacobianMinRank_m>=0 (muss beim initialisieren von reqFullJacobianMinRank_m geprüft werden)

Definition at line 596 of file ReadCenterFocusParams.h.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqSubJacobianMinRank_m.

template<class TPolynomXY , class TRing >
const TRing* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRing (  )  const [inline]
template<class TPolynomXY , class TRing >
const TRing& nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getRingRef (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::hasVariableCoefficients (  )  const [inline]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::init (  )  [inline, private]

Definition at line 381 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::azZufallszahlen_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bAllConstCoefficientsAreVariables_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_1_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_23_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_2_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bLocking_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bLogExtendedLiftStatistic_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bMultipleExperimentsInAFile_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bNonSmoothPointPassFilter_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bPureSmoothnessTest_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::braceLevel_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bReqVanishedFocalValues_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bShowProgress_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bWriteToCout_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::checkpointInterval_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::containsMonomsWithAllCoefficientsCheck_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::containsMonomsWithRandomCoefficients_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::epsPrecision_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveLiftTrials_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveMaxLift_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::experimentTag_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::firstPQ_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::gradderpolynome_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::HamiltonianComponentSwitch_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::infEps_minusP_polynom_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::infEps_Q_polynom_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::inputFromStd_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::liftTrials_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::lockFileName_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxLift_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minComponentCodim_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::parameterNameExpected_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointFilter, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::positionInLValue_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::progressStepWidth_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomCounterStartValue_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomSeed_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomSeedFromSysTime_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqFullJacobianMinRank_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqSubJacobianMinRank_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::requestedLiftPointNum_m, and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::ringEps_m.

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::CenterfocusParams().

template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initAllCoeffitientsAreVariables (  )  [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initBoolParameter ( string  name,
bool &  internParameter,
int  printOrder 
) [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initCoeffVariablesOrder (  )  [inline, private]
Todo:
Schleifenvertauschung darf hier nicht stattfinden!
Note:
Reihenfolge ist wie beim alten Projekt.
Todo:
endlich den Iterator ueber PQ-Elemente schreiben!
Todo:
Schleifenvertauschung darf hier nicht stattfinden!
Note:
Reihenfolge ist wie beim alten Projekt.
Todo:
endlich den Iterator ueber PQ-Elemente schreiben!

Definition at line 1910 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::coeffVariablesOrder_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::getPolynomialDegree(), PCoefficient, and QCoefficient.

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::convertStringParamsToOptions().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initExperimentTag (  )  [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initFieldCharacteristic (  )  [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initHamiltonianComponentSwitch (  )  [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initHasVariableCoefficients (  )  [inline, private]
template<class TPolynomXY , class TRing >
template<class TInternParameter >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initNonNegativeIntParameter ( string  name,
TInternParameter &  internParameter,
int  printOrder 
) [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initPointFilter (  )  [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initPolynomialDegree (  )  [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initRandomSeed (  )  [inline, private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::inputFromStd (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::isCoefficientVariable ( const CoeffListEntry coeffEntry  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::isRandomVariable ( const CoeffListEntry coeffEntry  )  const [inline]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::loadParamList ( string  inputFile_  )  [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::loadParamList ( istream &  fileInStream_  )  [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::loadParamListFromString ( const char inputParameters  )  [inline, private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::logExtendedLiftStatistic (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::nonSmoothPointPassFilter (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointPassedFilter ( uint16_t  exactVanishedFocalValues,
uint16_t  jacobianRank,
bool  smooth,
uint16_t  quadricsRank 
) const [inline]

Definition at line 682 of file ReadCenterFocusParams.h.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointFilter, and CFPointFilter::pointPassedFilter().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::polynomsContainsVariableCoeff (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::polynomsHaveCheckAllCoeff (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::polynomsHaveRandomCoeff (  )  const [inline]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::printParameters ( ostream &  oFile  )  const [inline]
Todo:

diese Funktion gehoert nicht in die Klasse Parameterlist !

Parameterlist::outputParameter funktion ueberarbeiten...

Todo:

diese Funktion gehoert nicht in die Klasse Parameterlist !

Parameterlist::outputParameter funktion ueberarbeiten...

Definition at line 1620 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::coeffVariablesOrder_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::fieldCharacteristic_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::paramList_m, Parameterlist::printNotUsedParameters(), and Parameterlist::printUsedParameters().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pureSmoothnessTest (  )  const [inline]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::readLParameter (  ) 
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::readMonomGroup ( TRing *  ring1,
TPolynomXY &  pol,
string &  monomGroup,
int  momomGroupDegree,
P_or_QPolynom  p_or_q 
) [inline, private]
Todo:
Wie prueft man die Kompatibilitaetsbedingung TRing::ElementType == PolynomXY_Type::ElementType, welche hier erfuellt sein muss weiss ich jetzt ! mit typeinfo!
Todo:
Wie prueft man die Kompatibilitaetsbedingung TRing::ElementType == PolynomXY_Type::ElementType, welche hier erfuellt sein muss weiss ich jetzt ! mit typeinfo!

Definition at line 496 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CoeffList::append(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::epsPrecision_m, extractChar(), extractNextData(), nCenterFocus::isAllMarker(), nCenterFocus::isRandomMarker(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::monomsWithAllCoefficients_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::monomsWithRandomCoefficients_m, parseNumber(), and PCoefficient.

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::updatePolynom().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::readNextPolynoms (  )  [inline]
Precondition:
assumption for correct parsing behaviour: if readNextPolynoms is called, this function must be called until return value is false /
Todo:

use parser Generator - this Parser can't check syntax correctness. Implement /

wenn schon, dann sollten die Polynome p,q und die Struktur RandomcoeffList, AllcoeffList hier per Referenz übergeben werden! /

readNextPolynoms sollte einen Stream als Parameter bekommen !

Precondition:
assumption for correct parsing behaviour: if readNextPolynoms is called, this function must be called until return value is false /
Todo:

use parser Generator - this Parser can't check syntax correctness. Implement /

wenn schon, dann sollten die Polynome p,q und die Struktur RandomcoeffList, AllcoeffList hier per Referenz übergeben werden! /

readNextPolynoms sollte einen Stream als Parameter bekommen !

extract PointID if possible.

extract PointID if possible.

Definition at line 780 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::braceLevel_m, extractChar(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::firstPQ_m, nCenterFocus::gotoLParamValue(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::inputFile_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointID_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::positionInLValue_m, nCenterFocus::readNextPQPolynomStream(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::ringEps_m, seekToBraceLevel(), stripComments(), and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::updatePolynoms().

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::areWellDefined(), and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::initHasVariableCoefficients().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::requiredVanishedFocalValuesNum (  )  const [inline]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::setupOutputFile ( const int  argc,
const char *const   argv[] 
) [inline, private]
Todo:

0. Stufe locking nur für einen festen Benutzer. Realisierungsmöglichkeiten: Lockfile fest verdrahtet

1. Stufe locking nur nur Benutzerweit. Realisierungsmöglichkeiten: Lockfile dynamisch ermittelt oder über Umgebungsvariable festgelegt.

2. Stufe locking Dateisystemweit. Voraussetzung: alle Benutzer haben das gleiche Lockfile gesetzt. Frage: Funktioniert locking über sshfs-Grenzen hinweg?

Note:
ist die Ausgabedatei einmal geöffnet, können theoretisch alle Prozesse auf die Datei zugreifen Exklusive Bearbeitung der Ausgabedatei vom Programm aber nicht nötig, da kein weiterer Sicherheitsgewinn - Nach Ende des Programmdurchlaufs könnte ein anderer Prozeß die Datei öffnen, löschen und verschieben...
Todo:

0. Stufe locking nur für einen festen Benutzer. Realisierungsmöglichkeiten: Lockfile fest verdrahtet

1. Stufe locking nur nur Benutzerweit. Realisierungsmöglichkeiten: Lockfile dynamisch ermittelt oder über Umgebungsvariable festgelegt.

2. Stufe locking Dateisystemweit. Voraussetzung: alle Benutzer haben das gleiche Lockfile gesetzt. Frage: Funktioniert locking über sshfs-Grenzen hinweg?

Note:
ist die Ausgabedatei einmal geöffnet, können theoretisch alle Prozesse auf die Datei zugreifen Exklusive Bearbeitung der Ausgabedatei vom Programm aber nicht nötig, da kein weiterer Sicherheitsgewinn - Nach Ende des Programmdurchlaufs könnte ein anderer Prozeß die Datei öffnen, löschen und verschieben...

wenn aufgerufen "progname infile - ", dann wird die Ausgabe nach cout umgeleitet. und: hier steht cerr, weil du Depp überall cout durch cerr ersetzt hast.

write output to cout.

flush(): so stellt man sicher, dass andere Programme sehen dass eine Datei angelegt wurde. Jetzt kann man den lock freigeben:

wenn aufgerufen "progname infile - ", dann wird die Ausgabe nach cout umgeleitet. und: hier steht cerr, weil du Depp überall cout durch cerr ersetzt hast.

write output to cout.

flush(): so stellt man sicher, dass andere Programme sehen dass eine Datei angelegt wurde. Jetzt kann man den lock freigeben:

Definition at line 246 of file ReadCenterFocusParams.cpp.

References nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bLocking_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bMultipleExperimentsInAFile_m, nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bWriteToCout_m, nCenterFocus::composeOutputFileName(), nCenterFocus::getUserHomeDir(), nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::os_m, and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::outputFileName_m.

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::CenterfocusParams().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::showProgress (  )  const [inline]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::updatePolynom ( TRing *  ring1,
TPolynomXY &  pol,
stringstream &  polynomStream,
P_or_QPolynom  p_or_q 
) [inline, private]
Todo:

nun, der Name stimmt nicht ganz, es wird nicht nur defined_PolynomXY_Type gesetzt, sondern auch monomsWithRandomCoefficients und monomsWithAllCoefficients

das Einlesen

Todo:

nun, der Name stimmt nicht ganz, es wird nicht nur defined_PolynomXY_Type gesetzt, sondern auch monomsWithRandomCoefficients und monomsWithAllCoefficients

das Einlesen

Definition at line 567 of file ReadCenterFocusParams.cpp.

References extractChar(), extractNextBracedData(), getMaxMonomDegree(), getMonomDegree(), and nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::readMonomGroup().

Referenced by nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::updatePolynoms().

Here is the call graph for this function:

template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::updatePolynoms ( stringstream &  polynomData,
TRing *  ring1 
) [inline, private]
template<class TPolynomXY , class TRing >
void nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::updatePolynomsFromDifferentialForm ( string  differentialFormString  )  [inline, private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula1 (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula2 (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula23 (  )  const [inline]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::writeResultToCout (  )  const [inline]

Member Data Documentation

template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::appendResults_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::azZufallszahlen_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bAllConstCoefficientsAreVariables_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_1_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_23_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::benutzeFormel_2_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bHasVariableCoefficients_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bLocking_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bLogExtendedLiftStatistic_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bMultipleExperimentsInAFile_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bNonSmoothPointPassFilter_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bPureSmoothnessTest_m [private]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::braceLevel_m [private]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bReqVanishedFocalValues_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bShowProgress_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::bWriteToCout_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::characteristic_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::checkpointInterval_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::checkpointInterval_m [private]
template<class TPolynomXY , class TRing >
list<CoeffListEntry> nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::coeffVariablesOrder_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::containsMonomsWithAllCoefficientsCheck_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::containsMonomsWithRandomCoefficients_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::epsPrecision_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::epsPrecision_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveLiftTrials_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveLiftTrials_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveMaxLift_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::exhaustiveMaxLift_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::experimentTag_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::experimentTag_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::experimentTagNoWhiteSpaces_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::experimentTagNoWS_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::false_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::fieldCharacteristic_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::firstPQ_m [private]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::gradderpolynome_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::HamiltonianComponentSwitch_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::HamiltonianComponentSwitch_m [private]
template<class TPolynomXY , class TRing >
TPolynomXY* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::infEps_minusP_polynom_m [private]
template<class TPolynomXY , class TRing >
TPolynomXY* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::infEps_Q_polynom_m [private]
template<class TPolynomXY , class TRing >
istream* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::inputFile_m [private]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::inputFileString_m [private]

Definition at line 403 of file ReadCenterFocusParams.h.

template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::inputFromStd_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::liftTrials_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::liftTrials_m [private]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::lockFileName_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::logExtendedLiftStatistic_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxDegree [private]

Definition at line 435 of file ReadCenterFocusParams.h.

template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxFocalValues_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxFocalValuesToCompute_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxLift_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::maxLift_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minComponentCodim_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minComponentCodim_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minJacobianRank_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::minJacobianSubMatrixRank_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
CoeffList nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::monomsWithAllCoefficients_m [private]
template<class TPolynomXY , class TRing >
CoeffList nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::monomsWithRandomCoefficients_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::nonSmoothPointPassFilter_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
ofstream nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::os_m [mutable, private]
template<class TPolynomXY , class TRing >
string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::outputFileName_m [private]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::parameterNameExpected_m [private]
template<class TPolynomXY , class TRing >
Parameterlist* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::paramList_m [private]
template<class TPolynomXY , class TRing >
CFPointFilter* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointFilter [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointFilter_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointFilterStrategy_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pointID_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::polynomialDegree_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::positionInLValue_m [private]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::progressStepWidth_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::pureSmothnessTest_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomCounterStartValue_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
long64 nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomCounterStartValue_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomSeed_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
long nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomSeed_m [mutable, private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomSeedFromSysTime_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
bool nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomSeedFromSysTime_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::randomTrialsNum_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqFullJacobianMinRank_m [private]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqSubJacobianMinRank_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::requestedLiftPointNum_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
int nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::requestedLiftPointNum_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::reqVanisnedValues_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
TRing* nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::ringEps_m [private]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::showProgress_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::true_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula1_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula23_ConstString_m [inline, static]
template<class TPolynomXY , class TRing >
const string nCenterFocus::CenterfocusParams< TPolynomXY, TRing >::useFormula2_ConstString_m [inline, static]

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