root/bdm/bdmroot.h @ 357

Revision 357, 1.2 kB (checked in by mido, 15 years ago)

mnoho zmen:
1) presun FindXXX modulu do \system
2) zalozeni dokumentace \doc\local\library_structure.dox
3) presun obsahu \tests\UI primo do \tests
4) namisto \INSTALL zalozen \install.html, je to vhodnejsi pro uzivatele WINDOWS, a snad i obecne
5) snaha o predelani veskerych UI podle nove koncepce, soubory pmsm_ui.h, arx_ui.h, KF_ui.h, libDS_ui.h, libEF_ui.h a loggers_ui.h ponechavam
jen zdokumentacnich duvodu, nic by na nich jiz nemelo zaviset, a po zkontrolovani spravnosti provedenych uprav by mely byt smazany
6) predelani estimatoru tak, aby fungoval s novym UI konceptem
7) vytazeni tridy bdmroot do samostatneho souboru \bdm\bdmroot.h
8) pridana dokumentace pro zacleneni programu ASTYLE do Visual studia, ASTYLE pridan do instalacniho balicku pro Windows

Line 
1/*!
2  \file
3  \brief Bayesian Models (bm) that use Bayes rule to learn from observations
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 BDMROOT_H
14#define BDMROOT_H
15
16#include <string>
17
18#include "itpp_ext.h"
19#include "libconfig/libconfig.h++"
20
21using namespace libconfig;
22using namespace itpp;
23using namespace std;
24
25namespace bdm {
26
27//! Root class of BDM objects
28class bdmroot {
29public:
30        //! make sure this is a virtual object
31        virtual ~bdmroot() 
32        {
33        }
34
35        //! This method returns a basic info about the current instance
36        virtual string to_string()
37        {
38                return "";
39        }
40
41        //! This method arrange instance properties according the data stored in the Setting structure
42        virtual void from_setting( const Setting &root )
43        {
44        }
45
46        //! This method save all the instance properties into the Setting structure
47        virtual void to_setting( Setting &root ) const
48        {       
49        }
50
51        //! This method TODO
52        virtual void validate()
53        {
54        }
55
56};
57
58}; //namespace
59#endif // BDMROOT_H
Note: See TracBrowser for help on using the browser.