EcoliSimulator  2.0.1a
s_lambda.h
Go to the documentation of this file.
1 //
2 // s_lambda.h
3 // Ecoli_4.1.0
4 //
5 // Created by Stefano Belloni on 20/07/15.
6 /*This program is free software - GNU General Public License Verison 2*/
7 //
8 
9 #ifndef Ecoli_4_1_0_s_lambda_h
10 #define Ecoli_4_1_0_s_lambda_h
11 
12 #include <iostream>
13 #include <vector>
14 
15 
16 using namespace std;
17 
22 class s_lambda{
23 
24  public:
25 
26  std::vector<double> lambda;
27  std::vector<double> sigma;
28  std::vector<double> syntetic_indeX;
29 
30  std::vector<int> n_data;
31 
32  double Q_max;
33  double Q_min;
34 
35  int distr; // distr = 0 -> exponential
36  double CumDen;
37  double Cumlambda;
38 
39 
40  double dQ;
41 
42  int n_records;
44 
45  string I_distribution; // quale distribuzione per l'intervallo di confidenza
46 
47  // Method
48 
50  double s_funz_lambda(double Q); //return the proper lambda
52  double s_funz_sigma(double Q);
53 
55  double StatIntensity(double dt, double t, double Q);
56 
57  s_lambda();
58 
59 };
60 
61 #endif
double Q_min
Definition: s_lambda.h:33
std::vector< double > sigma
Definition: s_lambda.h:27
double Cumlambda
Definition: s_lambda.h:37
This class implements the discretization of the function lambda (theory) It is not yet 100% finished...
Definition: s_lambda.h:22
double Q_max
Definition: s_lambda.h:32
int pos_steady
Definition: s_lambda.h:43
std::vector< double > lambda
Definition: s_lambda.h:26
std::vector< double > syntetic_indeX
Definition: s_lambda.h:28
int n_records
Definition: s_lambda.h:42
double dQ
Definition: s_lambda.h:40
std::vector< int > n_data
Definition: s_lambda.h:30
int distr
Definition: s_lambda.h:35
string I_distribution
Definition: s_lambda.h:45
double CumDen
Definition: s_lambda.h:36