EcoliSimulator
2.0.1a
|
#include <iostream>
#include <vector>
#include <fstream>
#include <limits>
#include <ctime>
#include "GlobalVariables.h"
#include "sssr.h"
#include "E_Coli.h"
#include "ParameterEstimation_E_Coli.h"
#include "CV_rExp_tExp.h"
#include "Funz_C.h"
#include "Funz_C_Par.h"
#include "CV_rIG_tExp.h"
#include "CV_rExpIG_tExp.h"
#include "Molecular_rExp_tExp.h"
#include "Colori.h"
#include "Declar_funz.h"
#include "Funz_C_Inter.h"
#include "apngasm_Global.h"
Macros | |
#define | SAVE 0 |
Functions | |
int | compareModels (std::vector< E_coli * > &batteri, std::vector< int > &which_compare, int cont_gen_sim, int save_) |
This function compares the different models which we simulate: basically it imitate the quantity in Samaey's Article. More... | |
int | independent_population (Funz_C *f, int n_compare, string *names_Ecoli_mod, string &names_indice_mod, string *names_tau_mod, string &names_file_dyn_mod, string *names_info_mod, int sel_prog, vector< int > &which_compare, vector< E_coli * > &batteri, double T_f, double *x0, double dt, int n_c, double Raggio, int delta_dist, int num_dist, int const_salv, string &versione_Matlab, string names_jumps[], int &cont_gen_sim, int n_stat, vector< string > *pt_name_file_satistics, vector< string > *pt_name_info_satistics) |
#define SAVE 0 |
int compareModels | ( | std::vector< E_coli * > & | batteri, |
std::vector< int > & | which_compare, | ||
int | cont_gen_sim, | ||
int | save_ | ||
) |
This function compares the different models which we simulate: basically it imitate the quantity in Samaey's Article.
This function calculates and displays {i,j}(t):={1}{^2}|Var[X_j(t)] - Var[X_i(t)]|^2$ I cannot really calculate like in Samaey since I have different values for theta!!
int independent_population | ( | Funz_C * | f, |
int | n_compare, | ||
string * | names_Ecoli_mod, | ||
string & | names_indice_mod, | ||
string * | names_tau_mod, | ||
string & | names_file_dyn_mod, | ||
string * | names_info_mod, | ||
int | sel_prog, | ||
vector< int > & | which_compare, | ||
vector< E_coli * > & | batteri, | ||
double | T_f, | ||
double * | x0, | ||
double | dt, | ||
int | n_c, | ||
double | Raggio, | ||
int | delta_dist, | ||
int | num_dist, | ||
int | const_salv, | ||
string & | versione_Matlab, | ||
string | names_jumps[], | ||
int & | cont_gen_sim, | ||
int | n_stat, | ||
vector< string > * | pt_name_file_satistics, | ||
vector< string > * | pt_name_info_satistics | ||
) |
Base function to produce simulation of independent population. We pass al the parameters needed, bacteria, model, names of files, type of result( just simulation, or simulate to produce statistical files. From this function you call the gnuplot routine for the analysis, the MATLAB program the analysis of runs. It's a while loop, so you can repeat the simulation with the same parameters