#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>
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 DEBUG_FROM_GEN 4000 |
#define HEADER_CONSTANTS "[CONSTANT SIMULATOR PARAMETERS]" |
#define HEADER_MIES "[MIES PARAMETERS]" |
#define HEADER_NAMES "[VARIABLE SIMULATOR PARAMETER NAMES]" |
#define HEADER_PARALLEL "[PARALELLIZATION]" |
#define HEADER_SIMULATOR "[SIMULATOR]" |
Typedef Documentation
Function Documentation
void findAndReplace |
( |
string & |
text, |
|
|
const char * |
find, |
|
|
const char * |
replace |
|
) |
| |
void getBound |
( |
ifstream & |
infile, |
|
|
vector< double > * |
bound_r, |
|
|
vector< int > * |
bound_d_z, |
|
|
int |
n |
|
) |
| |
string getStringValue |
( |
ifstream & |
infile ) |
|
char* getValue |
( |
ifstream & |
infile ) |
|
string itos |
( |
int |
number ) |
|
void randPerm |
( |
vector< int > & |
A, |
|
|
int |
n |
|
) |
| |
void skipLinesUntil |
( |
ifstream & |
infile, |
|
|
string |
text |
|
) |
| |
Variable Documentation
boost::normal_distribution normDist |
boost::math::normal_distribution normDistMath |
boost::uniform_int uniDistInt |
boost::uniform_real uniDistReal |