Revision 477, 1.1 kB
(checked in by mido, 15 years ago)
|
panove, vite, jak jsem peclivej na upravu kodu.. snad se vam bude libit:) konfigurace je v souboru /system/astylerc
|
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 root_H |
---|
14 | #define root_H |
---|
15 | |
---|
16 | #include <string> |
---|
17 | |
---|
18 | #include "itpp_ext.h" |
---|
19 | #include "base/libconfig/libconfig.h++" |
---|
20 | |
---|
21 | using namespace libconfig; |
---|
22 | using namespace itpp; |
---|
23 | using namespace std; |
---|
24 | |
---|
25 | namespace bdm { |
---|
26 | |
---|
27 | //! Root class of BDM objects |
---|
28 | class root { |
---|
29 | public: |
---|
30 | //! make sure this is a virtual object |
---|
31 | virtual ~root() { |
---|
32 | } |
---|
33 | |
---|
34 | //! This method returns a basic info about the current instance |
---|
35 | virtual string to_string() { |
---|
36 | return ""; |
---|
37 | } |
---|
38 | |
---|
39 | //! This method arrange instance properties according the data stored in the Setting structure |
---|
40 | virtual void from_setting ( const Setting &set ) { |
---|
41 | } |
---|
42 | |
---|
43 | //! This method save all the instance properties into the Setting structure |
---|
44 | virtual void to_setting ( Setting &set ) const { |
---|
45 | } |
---|
46 | |
---|
47 | //! This method TODO |
---|
48 | virtual void validate() { |
---|
49 | } |
---|
50 | }; |
---|
51 | |
---|
52 | }; //namespace |
---|
53 | #endif // root_H |
---|