EcoliSimulator  2.0.1a
iniz_par_sim.cpp File Reference
#include <iostream>
#include "Colori.h"
#include <cmath>
#include "E_Coli.h"
#include "ParameterEstimation_E_Coli.h"
#include "CV_rExp_tExp.h"
#include "sssr.h"
#include "GlobalVariables.h"
#include <fstream>
#include <vector>

Functions

void funz_clear ()
 
void timestamp ()
 
void inizializzazione_parametri (int sel_prog, double &T_f, int &n_c, double *x0, int &num_dist, double &Raggio, int &delta_dist, int &const_salv, double &dt)
 
void inizializzazione_parametri (int sel_prog, double &T_f, int &n_c, double *x0, int &num_dist, double &Raggio, int &delta_dist, int &const_salv, double &dt, string name_file, vector< Funz_C * > &f, int &tipo_funz_c_class, int &tipo_response_c, double &RC_0, double &RC_1, int &RC_q)
 

Function Documentation

void funz_clear ( )

This function clear the terminal (different command according to the system)

void inizializzazione_parametri ( int  sel_prog,
double &  T_f,
int &  n_c,
double *  x0,
int &  num_dist,
double &  Raggio,
int &  delta_dist,
int &  const_salv,
double &  dt 
)

This function ititialize the parameters for a simulation. The initialization is done manually, i.e. if I'm reading the answer vector, I read it, otherwise I wait for an imput

void inizializzazione_parametri ( int  sel_prog,
double &  T_f,
int &  n_c,
double *  x0,
int &  num_dist,
double &  Raggio,
int &  delta_dist,
int &  const_salv,
double &  dt,
string  name_file,
vector< Funz_C * > &  f,
int &  tipo_funz_c_class,
int &  tipo_response_c,
double &  RC_0,
double &  RC_1,
int &  RC_q 
)

This function ititialize the parameters for a simulation from a file. It is uesd in int Statistical_Analysis(string name_file_dati, string name_info_file, vector<int> which_compare, int n_compare, int &cont_gen_sim, string &versione_Matlab, int n_c) It might be used to read from file in a different way from the default, so the parameters and not the imput.

void timestamp ( )