EcoliSimulator
2.0.1a
|
#include <iostream>
#include "E_Coli.h"
#include "ParameterEstimation_E_Coli.h"
#include "CV_rExp_tExp.h"
#include "CV_rIG_tExp.h"
#include "CV_rExpIG_tExp.h"
#include "EO_rExp_tExp.h"
#include "EO_rIG_tExp.h"
#include "EO_rExpIG_tExp.h"
#include "Molecular_rExp_tExp.h"
#include "Molecular_rIG_tExp.h"
#include "Molecular_rExpIG_tExp.h"
#include <vector>
#include "Colori.h"
#include "sssr.h"
Functions | |
void | funz_clear () |
void | timestamp () |
void | setParametersModelBacteriumInteracting (E_coli *batterio, int cont_gen_sim) |
int | writeLog (string what, string msg) |
this function write to the Log file. More... | |
int | Set_Stocasticita (vector< int > &which_compare, int statisticita) |
void | create_bacteria_vector (vector< E_coli * > &batteri) |
void | initialization_interacting_population (int tipo_simulazione, vector< E_coli * > *batteri_int, int n_c, int cont_gen_sim) |
void create_bacteria_vector | ( | vector< E_coli * > & | batteri | ) |
for the non population interacting with the ligand it is enough one rappresentant. This file has to be modified if you add a new model add the right index as in int Set_Stocasticita(vector<int> &which_compare ,int statisticita)
void funz_clear | ( | ) |
This function clear the terminal (different command according to the system)
void initialization_interacting_population | ( | int | tipo_simulazione, |
vector< E_coli * > * | batteri_int, | ||
int | n_c, | ||
int | cont_gen_sim | ||
) |
This file has to be modified if you add a new model like in void create_bacteria_vector(vector<E_coli*> &batteri) but we have to create a vector of number of population bacteria, since they interact with each other. Note that they have all defaoult parameters, a part from the production rate a static variable for E_coli class
tipo_simulazione | model |
batteri_int | pointer to the population of bacteria |
n_c | number bacteria |
int Set_Stocasticita | ( | vector< int > & | which_compare, |
int | statisticita | ||
) |
This file has to be modified if you add a new model: the local variable n_sim keep the number of all model. You have to update it set the model/s you want to simulate.
which_compare | vector of the model to compare |
statisticita | = 1, statistical fitting, else simulation |
void setParametersModelBacteriumInteracting | ( | E_coli * | batterio, |
int | cont_gen_sim | ||
) |
void timestamp | ( | ) |
int writeLog | ( | string | what, |
string | msg | ||
) |
this function write to the Log file.