root/library/bdm/estim/arx_straux.h @ 1173

Revision 1064, 1.3 kB (checked in by mido, 14 years ago)

astyle applied all over the library

Line 
1/*!
2  \file
3  \brief Bayesian Filtering for generalized autoregressive (ARX) model
4  \author Vaclav Smidl.
5
6  -----------------------------------
7  BDM++ - C++ library for Bayesian Decision Making under Uncertainty
8
9  Using IT++ for numerical operations
10  -----------------------------------
11*/
12
13#ifndef STRAUX_H
14#define STRAUX_H
15
16namespace bdm {
17
18
19struct str_aux {
20    vec d0;
21    double nu0;
22    mat L0;
23    mat L;
24    vec d;
25    double nu;
26    ivec strL;                 // Current structure of L and d
27    ivec strRgr;               // Structure elements currently inside regressor (after regressand)
28    ivec strMis;               // structure elements, that are currently outside regressor (before regressand)
29    int posit1;                // regressand position
30    int nbits;                             // number of bits available in double
31    bvec bitstr;
32    double loglik;              // loglikelihood
33};
34
35
36
37struct str_statistics {
38    long long int allstrs;
39    int nrand;
40    int unique;
41    int to;
42    double cputime_seconds;
43    double itemspeed;
44    int muto;
45    ivec mutos;
46    vec maxmutos;
47};
48
49
50//! Replication of Ludvik Tesar original straux1 from mixtools straux1
51ivec straux1 ( ldmat Ld, double nu, ldmat Ld0, double nu0, ivec belief, int nbest, int max_nrep, double lambda, int order_k, Array<str_aux> &rgrsout );
52
53}
54
55#endif // STRAUX_H
56
Note: See TracBrowser for help on using the browser.