Defines | Typedefs | Functions | Variables

D:/LIACS/mies/SerialES/global.h File Reference

#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <cmath>
#include <ctime>
#include <climits>
#include <cfloat>
#include <algorithm>
#include <sstream>
#include <fstream>
#include <boost/random/uniform_int.hpp>
#include <boost/random/uniform_real.hpp>
#include <boost/random/normal_distribution.hpp>
#include <boost/random/variate_generator.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/math/distributions/normal.hpp>
#include <boost/lexical_cast.hpp>
Include dependency graph for global.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define HEADER_CONSTANTS   "[CONSTANT SIMULATOR PARAMETERS]"
#define HEADER_NAMES   "[VARIABLE SIMULATOR PARAMETER NAMES]"
#define HEADER_MIES   "[MIES PARAMETERS]"
#define HEADER_SIMULATOR   "[SIMULATOR]"
#define HEADER_PARALLEL   "[PARALELLIZATION]"
#define LEN   1024
#define SPACE   "#"
#define REPEAT   '%'
#define COMMENT   ';'
#define DELIMS   " ;\t"
#define DEBUG_FROM_GEN   4000

Typedefs

typedef boost::mt19937 base_generator_type

Functions

void randPerm (vector< int > &A, int n)
string itos (int number)
void skipLinesUntil (ifstream &infile, string text)
char * getValue (ifstream &infile)
string getStringValue (ifstream &infile)
void getBound (ifstream &infile, vector< double > *bound_r, vector< int > *bound_d_z, int n)
void findAndReplace (string &text, const char *find, const char *replace)

Variables

base_generator_type randGenerator
boost::uniform_real uniDistReal
boost::variate_generator
< base_generator_type
&, boost::uniform_real<> > 
uniReal
boost::uniform_int uniDistInt
boost::variate_generator
< base_generator_type
&, boost::uniform_int<> > 
uniInt
boost::normal_distribution normDist
boost::variate_generator
< base_generator_type
&, boost::normal_distribution<> > 
normReal
boost::math::normal_distribution normDistMath

Define Documentation

#define COMMENT   ';'

Definition at line 32 of file global.h.

#define DEBUG_FROM_GEN   4000

Definition at line 35 of file global.h.

#define DELIMS   " ;\t"

Definition at line 33 of file global.h.

#define HEADER_CONSTANTS   "[CONSTANT SIMULATOR PARAMETERS]"

Definition at line 24 of file global.h.

#define HEADER_MIES   "[MIES PARAMETERS]"

Definition at line 26 of file global.h.

#define HEADER_NAMES   "[VARIABLE SIMULATOR PARAMETER NAMES]"

Definition at line 25 of file global.h.

#define HEADER_PARALLEL   "[PARALELLIZATION]"

Definition at line 28 of file global.h.

#define HEADER_SIMULATOR   "[SIMULATOR]"

Definition at line 27 of file global.h.

#define LEN   1024

Definition at line 29 of file global.h.

#define REPEAT   '%'

Definition at line 31 of file global.h.

#define SPACE   "#"

Definition at line 30 of file global.h.


Typedef Documentation

typedef boost::mt19937 base_generator_type

Definition at line 39 of file global.h.


Function Documentation

void findAndReplace ( string &  text,
const char *  find,
const char *  replace 
)

Definition at line 134 of file global.cpp.

void getBound ( ifstream &  infile,
vector< double > *  bound_r,
vector< int > *  bound_d_z,
int  n 
)

Definition at line 86 of file global.cpp.

string getStringValue ( ifstream &  infile )

Definition at line 70 of file global.cpp.

char* getValue ( ifstream &  infile )

Definition at line 50 of file global.cpp.

string itos ( int  number )

Definition at line 29 of file global.cpp.

void randPerm ( vector< int > &  A,
int  n 
)

Definition at line 13 of file global.cpp.

void skipLinesUntil ( ifstream &  infile,
string  text 
)

Definition at line 38 of file global.cpp.


Variable Documentation

boost::normal_distribution normDist
boost::math::normal_distribution normDistMath
boost::variate_generator<base_generator_type&, boost::normal_distribution<> > normReal
base_generator_type randGenerator
boost::uniform_int uniDistInt
boost::uniform_real uniDistReal
boost::variate_generator<base_generator_type&, boost::uniform_int<> > uniInt
boost::variate_generator<base_generator_type&, boost::uniform_real<> > uniReal