root/applications/robust/robustlib.h @ 976

Revision 976, 0.9 kB (checked in by sindj, 14 years ago)

Zaklad robustu, prikladek pro Windows. JS

Line 
1/*!
2  \file
3  \brief Robust Bayesian auto-regression model
4  \author Jan Sindelar.
5*/
6
7#ifndef ROBUST_H
8#define ROBUST_H
9
10#include <stat/exp_family.h>
11       
12using namespace bdm;
13using namespace std;
14
15#include <vector>
16class point
17{
18        vec coordinates;
19        point *twinpoint;
20
21public:
22        point(vec coordinates);
23
24        point(vec coordinates, point *twinpoint);
25};
26
27class segment
28{
29        point *end1,*end2;
30
31public:
32        segment(point *end1, point *end2);
33}
34
35class leaf{
36        leaf *leftchild,*rightchild,*parent;
37        vec condition;
38        vector<segment> segments;
39        bool deadleaf = false;
40
41public:
42        leaf(leaf *parent);     
43
44        evolvechildren(vec condition);
45};
46
47//! Conditional(e) Multicriteria-Laplace-Inverse-Gamma distribution density
48class emlig : public eEF{
49        leaf *tree;
50
51public:
52        emlig(leaf *tree) : eEF();     
53
54        emlig(vec [] conditions) : eEF();
55       
56};
57
58//! Robust Bayesian AR model for Multicriteria-Laplace-Inverse-Gamma density
59class RARX : public BMEF{
60};
61
62
63#endif //TRAGE_H
Note: See TracBrowser for help on using the browser.