EcoliSimulator  2.0.1a
ParameterEstimation_E_coli Class Reference

Base Class for Statistical Analysis of a bacterium: Base class for statistical estimation and simulation. More...

#include <ParameterEstimation_E_Coli.h>

Inheritance diagram for ParameterEstimation_E_coli:
E_coli CV_rExp_tExp EO_rExp_tExp Molecular_rExp_tExp CV_rIG_tExp ParameterEstimation_CV_rExp_tExp EO_rIG_tExp Molecular_rIG_tExp CV_rExpIG_tExp ParameterEstimation_CV_rIG_tExp EO_rExpIG_tExp Molecular_rExpIG_tExp

Public Member Functions

 ParameterEstimation_E_coli ()
 
 ParameterEstimation_E_coli (const E_coli &modello)
 
void s_F_lambda_r (vector< Q_tau_stat > vector_lambda, int n_vect)
 
void set_GoodnessFit (int Good, double D_n, double cumD_n)
 
- Public Member Functions inherited from E_coli
 E_coli ()
 
 E_coli (const E_coli &modello)
 
int initial_position_ec (int j, std::array< double, 2 > x0, double Raggio, int num_dist, int &cont_dist_5, int delta_dist_cont, double Delta_delta_dist)
 
int dist_iniz_ec (std::array< double, 2 > x0, double R, unsigned int num_dist)
 
std::array< double, 2 > X ()
 
double V ()
 
int N_dyn_var ()
 
double C ()
 
double C_iniziale ()
 
double Production_rate ()
 
void setProductionRate (double _prodRate)
 
void Tau_t (double tt_)
 
void Get_tipo_response_c (int T_r)
 
void Get_RC_0 (double Rc0)
 
void Get_RC_1 (double Rc1)
 
void Get_RC_q (int Rcq)
 
int F_tipo_response_c ()
 
double F_RC_0 ()
 
double F_RC_1 ()
 
double F_RC_q ()
 
void set_response (int ftipo_response_c, double fRC_0, double fRC_1, int fRC_q)
 
void agg_ligand (double t, Funz_C *f)
 
void aggiornamento (double dt, double t, Funz_C *f, int &sign_p, ofstream *file_tau, std::ofstream &file_theta)
 
void start_simulation (Funz_C *f)
 
void response_function ()
 
void save_E_coli (ofstream *file, double t)
 
void save_E_coli_initial (std::ofstream *file_, double t)
 
void save_run (double t, ofstream &file_salto, double dt)
 
void save_tumble (double t, ofstream &file_tumble, double dt)
 
void save_theta (double t, double theta, std::ofstream &file_run)
 
virtual void change_par (int change)
 
virtual void reset_par ()
 
virtual void stationary_dyn (double dt, std::vector< double > &m0, int changed_pos)
 
virtual int agg_dyn (double dt, double t)
 
virtual int saveIntDyn (std::string nameFile)
 
virtual void agg_dyint (double dt, double t)
 
virtual void produce (Funz_C *f_i, double dt)
 
virtual double reset_barrier ()
 
virtual double reset_barrier_t ()
 
virtual void save_dyn (ofstream &file, double t)
 
virtual void gnuplot_single (std::string *names_files_Ecoli_mod, std::string &names_indice_mod, std::string *names_files_tau_mod, std::string &names_file_dyn_mod, std::string *names_info_mod, double T_f, Funz_C *f, int save_, int con_gen_sim)
 
virtual void gnuplot_single_film (std::string *names_files_Ecoli_mod, std::string &names_indice_mod, std::string *names_files_tau_mod, std::string &names_file_dyn_mod, std::string *names_info_mod, double T_f, Funz_C *f, int cont_sim)
 
virtual void gnuplot_single_film_gif (std::string *names_files_Ecoli_mod, std::string &names_indice_mod, std::string *names_files_tau_mod, std::string &names_file_dyn_mod, std::string *names_info_mod, double T_f, Funz_C *f, int cont_sim)
 produce the .gif film More...
 
virtual void print_info (std::ofstream &file_save)
 
virtual void gnuplotFunzInternalDynalmic (std::string buffer, int save_, int con_gen_sim)
 
virtual void gnuplot_response (std::string names_info_mod, int save_, int con_gen_sim)
 
virtual void s_F_lambda_r (std::vector< Q_tau_stat > vector_lambda, int n_vect)
 
void statF_lambda_r (s_lambda &vector_lambda)
 
virtual void debugFunction ()
 

Protected Attributes

double s_lambda_t
 
int GoodFit
 
double KS_D_n
 
double KS_L1
 
string distribution_I_r
 
double I_tau_r [2]
 
string distribution_I_t
 
double I_tau_t [2]
 
- Protected Attributes inherited from E_coli
double production_rate
 
double v
 
std::array< double, 2 > x
 
double theta
 
double c
 
double D_theta
 
double lambda_r
 
double lambda_t
 
double tau_r
 
double tau_t
 
int n_dyn_var
 
double barriera_r
 
double barriera_t
 
int salto_
 
double t_t
 
double t_r
 
int sign_c
 
int up_down
 
double c_iniziale
 
int tipo_response_c
 
double RC_0
 
double RC_1
 
int RC_q
 
int tipoNewTheta
 
unsigned int * seed_ecoli
 pointer to a seed More...
 

Additional Inherited Members

- Public Attributes inherited from E_coli
std::mt19937_64 * engine_theta
 pointer to a engine (if I want to use std::uniform_real_distribution<double>) More...
 
std::mt19937_64 * engine_barrier
 
std::mt19937_64 * engine_altro
 
int simulation
 
std::string Tipo_batterio
 
int codice_batterio
 
s_lambda s_lambda_r
 
- Protected Member Functions inherited from E_coli
void setSeed_ec (unsigned int *seed_thread)
 
virtual int writeScriptgnuplotSingle (std::string tipo, std::string *names_files_Ecoli_mod, std::string *names_files_tau_mod, std::string *names_info_mod, std::string &names_file_dyn_mod, double T_f, int con_gen_sim, int save_)
 
virtual int writeScriptLunchgnuplotSingle (std::string tipo, int save_, int con_gen_sim)
 
double Exp_dist_ec ()
 
double rand_normal_ec (double stddev)
 
double gamma_par_double_ec ()
 
double unifRand_ec ()
 
double deltaW_ec (double dt)
 
double newtheta_ec (double theta)
 
void setEngine_ec (std::mt19937_64 *engine_thread_theta, std::mt19937_64 *engine_thread_bar, std::mt19937_64 *engine_thread_altro)
 

Detailed Description

Base Class for Statistical Analysis of a bacterium: Base class for statistical estimation and simulation.

Constructor & Destructor Documentation

ParameterEstimation_E_coli::ParameterEstimation_E_coli ( )
ParameterEstimation_E_coli::ParameterEstimation_E_coli ( const E_coli modello)

Member Function Documentation

void ParameterEstimation_E_coli::s_F_lambda_r ( vector< Q_tau_stat vector_lambda,
int  n_vect 
)
void ParameterEstimation_E_coli::set_GoodnessFit ( int  Good,
double  D_n,
double  cumD_n 
)
virtual

save outpot of goodness fit test

Reimplemented from E_coli.

Member Data Documentation

string ParameterEstimation_E_coli::distribution_I_r
protected
string ParameterEstimation_E_coli::distribution_I_t
protected
int ParameterEstimation_E_coli::GoodFit
protected
double ParameterEstimation_E_coli::I_tau_r[2]
protected
double ParameterEstimation_E_coli::I_tau_t[2]
protected
double ParameterEstimation_E_coli::KS_D_n
protected
double ParameterEstimation_E_coli::KS_L1
protected
double ParameterEstimation_E_coli::s_lambda_t
protected

The documentation for this class was generated from the following files: