#include <analyze.h>
Public Methods | |
void | open_sample (const string path) |
reading of a sample file. More... | |
int | elt_cl (const int i) const |
Give the ith generate value. More... | |
int | elt_time (const int i) const |
Give the ith coalesce time. More... | |
int | nb_cl () const |
Give the class number of the generation. More... | |
int | size_sample () const |
Give the sample size. More... | |
int | MaxTau () const |
Give the largest coalesce time value. More... | |
void | create_cl () |
Creation of histo_cl vector. More... | |
void | create_time () |
Creation of histo_time vector. More... | |
int | elt_histo_time (const int i) const |
Give the apparition number of the class value i. More... | |
string | norm_cl (const string file) |
Normalization of histo_cl vector. More... | |
string | norm_time (const string file) |
Normalization of histo_time vector. More... | |
double | pi (const int i) const |
Give the ith estimated probability value. More... | |
template<class T> T | sum (vector< T > V, const int choice) |
Sum of T vector element. More... | |
double | tau (vector< int > V) |
Give the mean estimator. More... | |
double | sigma (vector< int > V) |
Give the standard deviation estimator. More... | |
double | error (vector< int > V) |
Give the relative error. More... | |
ldouble | int_conf (vector< int > V, const int choice) |
Construction of confidence interval. More... | |
Private Attributes | |
vector< int > | cl |
vector< int > | t |
int | size |
vector< int > | histo_cl |
vector< int > | histo_t |
|
Creation of histo_cl vector.
|
|
Creation of histo_time vector.
|
|
Give the ith generate value.
|
|
Give the apparition number of the class value i.
|
|
Give the ith coalesce time.
|
|
Give the relative error.
|
|
Construction of confidence interval. The choice variable permit to choose lower or upper born of the confidence interval.
|
|
Give the largest coalesce time value.
|
|
Give the class number of the generation. If user simulate without functional, the class number is exactly the dimension of the space state. |
|
Normalization of histo_cl vector. It results a file '.stat_cl'.
|
|
Normalization of histo_time vector. It results a file '.stat_time'.
|
|
reading of a sample file.
|
|
Give the ith estimated probability value.
|
|
Give the standard deviation estimator.
|
|
Give the sample size.
|
|
Sum of T vector element. We can calculate , or .
|
|
Give the mean estimator.
|
|
Storage of output generate value. |
|
Count of different generate values apparition. |
|
Count of different iteration number values apparition. |
|
Sample size. |
|
Storage of iteration number values : these values correspond to the coalesce time of an iteration. |