ReadCenterFocusParams.h File Reference

handles centerfocus input parameters from an input file. More...

#include "CoeffList.h"
#include "Parameterlist.h"
#include <time.h>
#include "RangStatistik.h"
#include "Statistik.h"
#include "random.h"
#include "parseTools.h"
#include "xyMonom.h"
#include <fcntl.h>
#include <cerrno>
#include <cstdio>
#include <pwd.h>
#include <sys/types.h>
#include <iostream>
#include "pointFilter.h"
#include "ReadCenterFocusParams.cpp"
Include dependency graph for ReadCenterFocusParams.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nCenterFocus::CenterfocusParams< TPolynomXY, TRing >
 Centerfocus options parser and manager. More...

Namespaces

namespace  nCenterFocus
 

composes an output file name from prefix and used Program params
Format: $prefix.fieldchar_$characteristic.codim_$codim.eps_$usedEpsPrecision.seed_$usedSeed.m2


Functions

bool nCenterFocus::isMonomChar (char a)
bool nCenterFocus::isAllMarker (string mo)
 string has to be without whitespaces
bool nCenterFocus::isRandomMarker (string morig)
 string has to be without whitespaces
template<class _istream >
void nCenterFocus::gotoLParamValue (_istream &inputStream, bool parameterNameExpected=true)
template<class _istream >
void nCenterFocus::readNextPQPolynomStream (_istream &inp, stringstream &polynomData, int &braceLevel)
 read PQPolynom data from param 'L' data at current Position.
Format: {{p monomials of degree 2 },{q monomials of degree 2 },{p.. degree 3},{q .. degree 3},...{.. degree n},{ .. degree n}}
void nCenterFocus::extractStreamFromPQStream (stringstream &polynomData, P_or_QPolynom p_or_q, stringstream &PStream, stringstream &QStream)
bool nCenterFocus::getUserHomeDir (std::string &userHomeDir)
template<class tParams >
string nCenterFocus::composeOutputFileName (string prefix, tParams *params)

Detailed Description

Todo:

Probleme: readNextPolynoms: polynome sind von TNum abhängig - welche TNum und welche Polynome sollen hier benutzt werden?

überlegen, wie man ein möglichst optionales Programm basteln kann. an eine Experimentalrunde - nur ein PQ-Paar muss p,q von aussen übergeben werden können, mit Optionen, epsprecision und allem piepapo. Dann wirds gehen, sonst nicht. Notfalls parametrisiert man auch die centerFocus-Fkt, um allgemeine Implementierung und optimierte Implementierung zu ermöglichen schliesslich ist der Ring zumindest für das Einlesen fest, warum mehr Freiheiten einführen als notwendig?

Todo:
überlegen, ob in dieser Klasse überhaupt parametrisiert werden soll

bison Parser: http://hal.iwr.uni-heidelberg.de/lehre/inf1-ws02/html/node184.html

Definition in file ReadCenterFocusParams.h.

Generated on Tue Nov 23 13:10:52 2010 for centerfocus by  doxygen 1.6.3