EcoliSimulator  2.0.1a
interacting_population.cpp File Reference
#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"

Functions

void print_and_open_info (string name, E_coli *batterio, Funz_C *f, double T_f, double *x0, double dt, int n_c, double Raggio, int delta_dist, int num_dist, int const_salv, int cont_gen_sim)
 
int interaction_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 tipo_simulazione, int sel_prog, vector< E_coli * > &batteri_int, 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 &which_compare)
 

Function Documentation

int interaction_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  tipo_simulazione,
int  sel_prog,
vector< E_coli * > &  batteri_int,
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 &  which_compare 
)

Base function to produce simulation of population interacting with the ligand. 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 is not yet ready: we have the file for function C, we should import it and use it properly ... se one should rewrite the m-files the analysis of runs. It's a while loop, so you can repeat the simulation with the same parameters

void print_and_open_info ( string  name,
E_coli batterio,
Funz_C f,
double  T_f,
double *  x0,
double  dt,
int  n_c,
double  Raggio,
int  delta_dist,
int  num_dist,
int  const_salv,
int  cont_gen_sim 
)

This function produce a general summary for the LateX file. In this function the remaining information are compliting by calling the virtual function print_info in E_coli