#include <cost.h>
Public Methods | |
void | init () |
Initialization of the trajectories. More... | |
void | init_state (const int nb) |
Creation of Cout vector without functional. More... | |
int | value () const |
Give the first element of Class vector. More... | |
int | value (const int i) const |
Give the ith value of Class vector. More... | |
int | value_next () const |
Give the first element of Class_next vector. More... | |
int | value_next (const int i) const |
Give the ith element of Class_next vector. More... | |
void | swap () |
Update of the trajectories after each CFTP iteration. More... | |
bool | test () |
Test the global backward trajectories coupling. More... | |
bool | test_next () |
Test the global forward trajectories coupling. More... | |
void | free_cl () |
Memory liberation of simulation vector. More... | |
void | change (const int i, const int j) |
Modification of the ith Class_next element with the value of the jth element of Class vector. More... | |
void | mk_cost (const string path) |
Reading of a cost file. More... | |
int | nb_cl () |
Give the class (according to the study functional) number. More... | |
Private Attributes | |
vector< int > | Class |
vector< int > | Class_next |
vector< int > | Cout |
|
Modification of the ith Class_next element with the value of the jth element of Class vector. This public method is used to generate next state of trajectories by the Walker aliasing algorithm.
|
|
Memory liberation of simulation vector.
|
|
Initialization of the trajectories.
|
|
Creation of Cout vector without functional.
|
|
Reading of a cost file.
|
|
Give the class (according to the study functional) number.
|
|
Update of the trajectories after each CFTP iteration.
|
|
Test the global backward trajectories coupling.
|
|
Test the global forward trajectories coupling.
|
|
Give the ith value of Class vector. It be useful to MCMC simulation to estimate a functional of stationary distribution. |
|
Give the first element of Class vector. Its public method is used to obtain the generate value of each realization. |
|
Give the ith element of Class_next vector.
|
|
Give the first element of Class_next vector. Its public method is used to obtain the generate value of each realization in Forward simulation. |
|
Storage of trajectory values at time -n |
|
Storage of trajectory values at time -n+1 |
|
Storage of space states cost function |