[8] | 1 | \section{BM Class Reference} |
---|
| 2 | \label{classBM}\index{BM@{BM}} |
---|
| 3 | Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities. |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | {\tt \#include $<$libBM.h$>$} |
---|
| 7 | |
---|
[19] | 8 | Inheritance diagram for BM:\nopagebreak |
---|
| 9 | \begin{figure}[H] |
---|
[8] | 10 | \begin{center} |
---|
| 11 | \leavevmode |
---|
[79] | 12 | \includegraphics[width=400pt]{classBM__inherit__graph} |
---|
[8] | 13 | \end{center} |
---|
| 14 | \end{figure} |
---|
[32] | 15 | Collaboration diagram for BM:\nopagebreak |
---|
| 16 | \begin{figure}[H] |
---|
| 17 | \begin{center} |
---|
| 18 | \leavevmode |
---|
[91] | 19 | \includegraphics[width=37pt]{classBM__coll__graph} |
---|
[32] | 20 | \end{center} |
---|
| 21 | \end{figure} |
---|
[8] | 22 | \subsection*{Public Member Functions} |
---|
| 23 | \begin{CompactItemize} |
---|
| 24 | \item |
---|
[32] | 25 | {\bf BM} (const {\bf RV} \&rv0)\label{classBM_605d28b426adb677c86a57ddb525132a} |
---|
[22] | 26 | |
---|
| 27 | \begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item |
---|
[28] | 28 | virtual void {\bf bayes} (const vec \&dt)=0 |
---|
[8] | 29 | \begin{CompactList}\small\item\em Incremental Bayes rule. \item\end{CompactList}\item |
---|
| 30 | void {\bf bayes} (mat Dt)\label{classBM_87b07867fd4c133aa89a18543f68d9f9} |
---|
| 31 | |
---|
[28] | 32 | \begin{CompactList}\small\item\em Batch Bayes rule (columns of Dt are observations). \item\end{CompactList}\item |
---|
[32] | 33 | virtual {\bf epdf} \& {\bf \_\-epdf} ()=0\label{classBM_3dc45554556926bde996a267636abe55} |
---|
[28] | 34 | |
---|
[32] | 35 | \begin{CompactList}\small\item\em Returns a pointer to the \doxyref{epdf}{p.}{classepdf} representing posterior density on parameters. Use with care! \item\end{CompactList}\item |
---|
| 36 | virtual {\bf $\sim$BM} ()\label{classBM_ca0f02b3b4144e0895cc14f7e0374bdd} |
---|
| 37 | |
---|
[33] | 38 | \begin{CompactList}\small\item\em Destructor for future use;. \item\end{CompactList}\item |
---|
| 39 | const {\bf RV} \& {\bf \_\-rv} () const \label{classBM_126bd2595c48e311fc2a7ab72876092a} |
---|
| 40 | |
---|
| 41 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item |
---|
| 42 | double {\bf \_\-ll} () const \label{classBM_87f4a547d2c29180be88175e5eab9c88} |
---|
| 43 | |
---|
| 44 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} |
---|
[32] | 45 | \subsection*{Protected Attributes} |
---|
[8] | 46 | \begin{CompactItemize} |
---|
| 47 | \item |
---|
[32] | 48 | {\bf RV} {\bf rv}\label{classBM_af00f0612fabe66241dd507188cdbf88} |
---|
| 49 | |
---|
| 50 | \begin{CompactList}\small\item\em Random variable of the posterior. \item\end{CompactList}\item |
---|
[8] | 51 | double {\bf ll}\label{classBM_5623fef6572a08c2b53b8c87b82dc979} |
---|
| 52 | |
---|
[28] | 53 | \begin{CompactList}\small\item\em Logarithm of marginalized data likelihood. \item\end{CompactList}\item |
---|
| 54 | bool {\bf evalll}\label{classBM_bf6fb59b30141074f8ee1e2f43d03129} |
---|
[8] | 55 | |
---|
[28] | 56 | \begin{CompactList}\small\item\em If true, the filter will compute likelihood of the data record and store it in {\tt ll} . Set to false if you want to save time. \item\end{CompactList}\end{CompactItemize} |
---|
[8] | 57 | |
---|
[28] | 58 | |
---|
[8] | 59 | \subsection{Detailed Description} |
---|
| 60 | Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities. |
---|
| 61 | |
---|
[91] | 62 | |
---|
| 63 | |
---|
[8] | 64 | \subsection{Member Function Documentation} |
---|
| 65 | \index{BM@{BM}!bayes@{bayes}} |
---|
| 66 | \index{bayes@{bayes}!BM@{BM}} |
---|
[28] | 67 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual void BM::bayes (const vec \& {\em dt})\hspace{0.3cm}{\tt [pure virtual]}}\label{classBM_a892eff438aab2dd1a9e2efcb7fb5bdf} |
---|
[8] | 68 | |
---|
| 69 | |
---|
| 70 | Incremental Bayes rule. |
---|
| 71 | |
---|
| 72 | \begin{Desc} |
---|
| 73 | \item[Parameters:] |
---|
| 74 | \begin{description} |
---|
[28] | 75 | \item[{\em dt}]vector of input data \end{description} |
---|
[8] | 76 | \end{Desc} |
---|
| 77 | |
---|
| 78 | |
---|
[79] | 79 | Implemented in {\bf Kalman$<$ sq\_\-T $>$} \doxyref{}{p.}{classKalman_7750ffd73f261828a32c18aaeb65c75c}, {\bf KalmanCh} \doxyref{}{p.}{classKalmanCh_cca758192846940409822b9bd778d4e1}, {\bf EKFfull} \doxyref{}{p.}{classEKFfull_8ca46f177e395fa714bbd8bd29ea43e0}, {\bf EKF$<$ sq\_\-T $>$} \doxyref{}{p.}{classEKF_c79c62c9b3e0b56b3aaa1b6f1d9a7af7}, {\bf EKFCh} \doxyref{}{p.}{classEKFCh_96f6edda324a0b7ef8b4e86cc7af60c1}, {\bf PF} \doxyref{}{p.}{classPF_64f636bbd63bea9efd778214e6b631d3}, {\bf MPF$<$ BM\_\-T $>$} \doxyref{}{p.}{classMPF_55daf8e4b6553dd9f47c692de7931623}, {\bf ARX} \doxyref{}{p.}{classARX_ec6ab76ea10fc8c61006e15c7013b1ff}, {\bf EKFfixed} \doxyref{}{p.}{classEKFfixed_ddf5334bc1207658fd53698fffbac028}, {\bf Kalman$<$ ldmat $>$} \doxyref{}{p.}{classKalman_7750ffd73f261828a32c18aaeb65c75c}, {\bf Kalman$<$ chmat $>$} \doxyref{}{p.}{classKalman_7750ffd73f261828a32c18aaeb65c75c}, and {\bf Kalman$<$ fsqmat $>$} \doxyref{}{p.}{classKalman_7750ffd73f261828a32c18aaeb65c75c}. |
---|
[32] | 80 | |
---|
[8] | 81 | The documentation for this class was generated from the following file:\begin{CompactItemize} |
---|
| 82 | \item |
---|
[19] | 83 | work/mixpp/bdm/stat/{\bf libBM.h}\end{CompactItemize} |
---|