Functions

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

#include "global.h"
Include dependency graph for global.cpp:

Go to the source code of this file.

Functions

base_generator_type randGenerator (42u)
boost::uniform_real uniDistReal (0, 1)
boost::variate_generator
< base_generator_type
&, boost::uniform_real<> > 
uniReal (randGenerator, uniDistReal)
boost::uniform_int uniDistInt (0, INT_MAX)
boost::variate_generator
< base_generator_type
&, boost::uniform_int<> > 
uniInt (randGenerator, uniDistInt)
boost::normal_distribution normDist (0, 1)
boost::variate_generator
< base_generator_type
&, boost::normal_distribution<> > 
normReal (randGenerator, normDist)
boost::math::normal_distribution normDistMath (0, 1)
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)

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.

boost::normal_distribution normDist ( ,
 
)
boost::math::normal_distribution normDistMath ( ,
 
)
boost::variate_generator<base_generator_type&, boost::normal_distribution<> > normReal ( randGenerator  ,
normDist   
)
base_generator_type randGenerator ( 42u   )
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.

boost::uniform_int uniDistInt ( ,
INT_MAX   
)
boost::uniform_real uniDistReal ( ,
 
)
boost::variate_generator<base_generator_type&, boost::uniform_int<> > uniInt ( randGenerator  ,
uniDistInt   
)
boost::variate_generator<base_generator_type&, boost::uniform_real<> > uniReal ( randGenerator  ,
uniDistReal   
)