root/doc/latex/namespacebdm.tex @ 269

Revision 269, 17.1 kB (checked in by smidl, 16 years ago)

doc

Line 
1\hypertarget{namespacebdm}{
2\section{bdm Namespace Reference}
3\label{namespacebdm}\index{bdm@{bdm}}
4}
5Space of basic BDM structures. 
6
7
8\subsection*{Classes}
9\begin{CompactItemize}
10\item 
11class \hyperlink{classbdm_1_1ARX}{ARX}
12\begin{CompactList}\small\item\em Linear Autoregressive model with Gaussian noise. \item\end{CompactList}\item 
13class \hyperlink{classbdm_1_1EKFful__unQR}{EKFful\_\-unQR}
14\begin{CompactList}\small\item\em Extended \hyperlink{classbdm_1_1Kalman}{Kalman} filter with unknown {\tt Q} and {\tt R}. \item\end{CompactList}\item 
15class \hyperlink{classbdm_1_1EKFCh__unQ}{EKFCh\_\-unQ}
16\begin{CompactList}\small\item\em Extended \hyperlink{classbdm_1_1Kalman}{Kalman} filter in Choleski form with unknown {\tt Q}. \item\end{CompactList}\item 
17class \hyperlink{classbdm_1_1EKFCh__cond}{EKFCh\_\-cond}
18\begin{CompactList}\small\item\em Extended \hyperlink{classbdm_1_1Kalman}{Kalman} filter with unknown parameters in {\tt IM}. \item\end{CompactList}\item 
19class \hyperlink{classbdm_1_1KalmanFull}{KalmanFull}
20\begin{CompactList}\small\item\em Basic \hyperlink{classbdm_1_1Kalman}{Kalman} filter with full matrices (education purpose only)! Will be deleted soon! \item\end{CompactList}\item 
21class \hyperlink{classbdm_1_1Kalman}{Kalman}
22\begin{CompactList}\small\item\em \hyperlink{classbdm_1_1Kalman}{Kalman} filter with covariance matrices in square root form. \item\end{CompactList}\item 
23class \hyperlink{classbdm_1_1KalmanCh}{KalmanCh}
24\begin{CompactList}\small\item\em \hyperlink{classbdm_1_1Kalman}{Kalman} filter in square root form. \item\end{CompactList}\item 
25class \hyperlink{classbdm_1_1EKFfull}{EKFfull}
26\begin{CompactList}\small\item\em Extended \hyperlink{classbdm_1_1Kalman}{Kalman} Filter in full matrices. \item\end{CompactList}\item 
27class \hyperlink{classbdm_1_1EKF}{EKF}
28\begin{CompactList}\small\item\em Extended \hyperlink{classbdm_1_1Kalman}{Kalman} Filter. \item\end{CompactList}\item 
29class \hyperlink{classbdm_1_1EKFCh}{EKFCh}
30\begin{CompactList}\small\item\em Extended \hyperlink{classbdm_1_1Kalman}{Kalman} Filter in Square root. \item\end{CompactList}\item 
31class \hyperlink{classbdm_1_1KFcondQR}{KFcondQR}
32\begin{CompactList}\small\item\em \hyperlink{classbdm_1_1Kalman}{Kalman} Filter with conditional diagonal matrices R and Q. \item\end{CompactList}\item 
33class \hyperlink{classbdm_1_1KFcondR}{KFcondR}
34\begin{CompactList}\small\item\em \hyperlink{classbdm_1_1Kalman}{Kalman} Filter with conditional diagonal matrices R and Q. \item\end{CompactList}\item 
35class \hyperlink{classbdm_1_1PF}{PF}
36\begin{CompactList}\small\item\em Trivial particle filter with proposal density equal to parameter evolution model. \item\end{CompactList}\item 
37class \hyperlink{classbdm_1_1MPF}{MPF}
38\begin{CompactList}\small\item\em Marginalized Particle filter. \item\end{CompactList}\item 
39class \hyperlink{classbdm_1_1merger}{merger}
40\begin{CompactList}\small\item\em Function for general combination of pdfs. \item\end{CompactList}\item 
41class \hyperlink{classbdm_1_1MixEF}{MixEF}
42\begin{CompactList}\small\item\em Mixture of Exponential Family Densities. \item\end{CompactList}\item 
43class \hyperlink{classbdm_1_1mratio}{mratio}
44\begin{CompactList}\small\item\em Class representing ratio of two densities which arise e.g. by applying the Bayes rule. It represents density in the form: \[ f(rv|rvc) = \frac{f(rv,rvc)}{f(rvc)} \] where $ f(rvc) = \int f(rv,rvc) d\ rv $. \item\end{CompactList}\item 
45class \hyperlink{classbdm_1_1emix}{emix}
46\begin{CompactList}\small\item\em Mixture of epdfs. \item\end{CompactList}\item 
47class \hyperlink{classbdm_1_1mprod}{mprod}
48\begin{CompactList}\small\item\em Chain rule decomposition of \hyperlink{classbdm_1_1epdf}{epdf}. \item\end{CompactList}\item 
49class \hyperlink{classbdm_1_1eprod}{eprod}
50\begin{CompactList}\small\item\em Product of independent epdfs. For dependent pdfs, use \hyperlink{classbdm_1_1mprod}{mprod}. \item\end{CompactList}\item 
51class \hyperlink{classbdm_1_1mmix}{mmix}
52\begin{CompactList}\small\item\em Mixture of mpdfs with constant weights, all mpdfs are of equal type. \item\end{CompactList}\item 
53class \hyperlink{classbdm_1_1bdmroot}{bdmroot}
54\begin{CompactList}\small\item\em Root class of BDM objects. \item\end{CompactList}\item 
55class \hyperlink{classbdm_1_1str}{str}
56\begin{CompactList}\small\item\em Structure of \hyperlink{classbdm_1_1RV}{RV} (used internally), i.e. expanded RVs. \item\end{CompactList}\item 
57class \hyperlink{classbdm_1_1RV}{RV}
58\begin{CompactList}\small\item\em Class representing variables, most often random variables. \item\end{CompactList}\item 
59class \hyperlink{classbdm_1_1fnc}{fnc}
60\begin{CompactList}\small\item\em Class representing function $f(x)$ of variable $x$ represented by {\tt rv}. \item\end{CompactList}\item 
61class \hyperlink{classbdm_1_1epdf}{epdf}
62\begin{CompactList}\small\item\em Probability density function with numerical statistics, e.g. posterior density. \item\end{CompactList}\item 
63class \hyperlink{classbdm_1_1mpdf}{mpdf}
64\begin{CompactList}\small\item\em Conditional probability density, e.g. modeling some dependencies. \item\end{CompactList}\item 
65class \hyperlink{classbdm_1_1datalink__e2e}{datalink\_\-e2e}
66\begin{CompactList}\small\item\em DataLink is a connection between two data vectors Up and Down. \item\end{CompactList}\item 
67class \hyperlink{classbdm_1_1datalink__m2e}{datalink\_\-m2e}
68\begin{CompactList}\small\item\em data link between \item\end{CompactList}\item 
69class \hyperlink{classbdm_1_1datalink__m2m}{datalink\_\-m2m}
70\item 
71class \hyperlink{classbdm_1_1logger}{logger}
72\begin{CompactList}\small\item\em Class for storing results (and semi-results) of an experiment. \item\end{CompactList}\item 
73class \hyperlink{classbdm_1_1mepdf}{mepdf}
74\begin{CompactList}\small\item\em Unconditional \hyperlink{classbdm_1_1mpdf}{mpdf}, allows using \hyperlink{classbdm_1_1epdf}{epdf} in the role of \hyperlink{classbdm_1_1mpdf}{mpdf}. \item\end{CompactList}\item 
75class \hyperlink{classbdm_1_1compositepdf}{compositepdf}
76\begin{CompactList}\small\item\em Abstract composition of pdfs, will be used for specific classes this abstract class is common to \hyperlink{classbdm_1_1epdf}{epdf} and \hyperlink{classbdm_1_1mpdf}{mpdf}. \item\end{CompactList}\item 
77class \hyperlink{classbdm_1_1DS}{DS}
78\begin{CompactList}\small\item\em Abstract class for discrete-time sources of data. \item\end{CompactList}\item 
79class \hyperlink{classbdm_1_1BM}{BM}
80\begin{CompactList}\small\item\em Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities. \item\end{CompactList}\item 
81class \hyperlink{classbdm_1_1BMcond}{BMcond}
82\begin{CompactList}\small\item\em Conditional Bayesian Filter. \item\end{CompactList}\item 
83class \hyperlink{classbdm_1_1MemDS}{MemDS}
84\begin{CompactList}\small\item\em Memory storage of off-line data column-wise. \item\end{CompactList}\item 
85class \hyperlink{classbdm_1_1ArxDS}{ArxDS}
86\begin{CompactList}\small\item\em Generator of \hyperlink{classbdm_1_1ARX}{ARX} data. \item\end{CompactList}\item 
87class \textbf{ARXDS}
88\item 
89class \textbf{stateDS}
90\item 
91class \hyperlink{classbdm_1_1eEF}{eEF}
92\begin{CompactList}\small\item\em General conjugate exponential family posterior density. \item\end{CompactList}\item 
93class \hyperlink{classbdm_1_1mEF}{mEF}
94\begin{CompactList}\small\item\em Exponential family model. \item\end{CompactList}\item 
95class \hyperlink{classbdm_1_1BMEF}{BMEF}
96\begin{CompactList}\small\item\em Estimator for Exponential family. \item\end{CompactList}\item 
97class \hyperlink{classbdm_1_1enorm}{enorm}
98\begin{CompactList}\small\item\em Gaussian density with positive definite (decomposed) covariance matrix. \item\end{CompactList}\item 
99class \hyperlink{classbdm_1_1egiw}{egiw}
100\begin{CompactList}\small\item\em Gauss-inverse-Wishart density stored in LD form. \item\end{CompactList}\item 
101class \hyperlink{classbdm_1_1eDirich}{eDirich}
102\begin{CompactList}\small\item\em Dirichlet posterior density. \item\end{CompactList}\item 
103class \hyperlink{classbdm_1_1multiBM}{multiBM}
104\begin{CompactList}\small\item\em Estimator for Multinomial density. \item\end{CompactList}\item 
105class \hyperlink{classbdm_1_1egamma}{egamma}
106\begin{CompactList}\small\item\em Gamma posterior density. \item\end{CompactList}\item 
107class \hyperlink{classbdm_1_1eigamma}{eigamma}
108\begin{CompactList}\small\item\em Inverse-Gamma posterior density. \item\end{CompactList}\item 
109class \hyperlink{classbdm_1_1euni}{euni}
110\begin{CompactList}\small\item\em Uniform distributed density on a rectangular support. \item\end{CompactList}\item 
111class \hyperlink{classbdm_1_1mlnorm}{mlnorm}
112\begin{CompactList}\small\item\em Normal distributed linear function with linear function of mean value;. \item\end{CompactList}\item 
113class \hyperlink{classbdm_1_1mlstudent}{mlstudent}
114\item 
115class \hyperlink{classbdm_1_1mgamma}{mgamma}
116\begin{CompactList}\small\item\em Gamma random walk. \item\end{CompactList}\item 
117class \hyperlink{classbdm_1_1migamma}{migamma}
118\begin{CompactList}\small\item\em Inverse-Gamma random walk. \item\end{CompactList}\item 
119class \hyperlink{classbdm_1_1mgamma__fix}{mgamma\_\-fix}
120\begin{CompactList}\small\item\em Gamma random walk around a fixed point. \item\end{CompactList}\item 
121class \hyperlink{classbdm_1_1migamma__fix}{migamma\_\-fix}
122\begin{CompactList}\small\item\em Inverse-Gamma random walk around a fixed point. \item\end{CompactList}\item 
123class \hyperlink{classbdm_1_1eEmp}{eEmp}
124\begin{CompactList}\small\item\em Weighted empirical density. \item\end{CompactList}\item 
125class \hyperlink{classbdm_1_1constfn}{constfn}
126\begin{CompactList}\small\item\em class representing function $f(x) = a$, here {\tt rv} is empty \item\end{CompactList}\item 
127class \hyperlink{classbdm_1_1linfn}{linfn}
128\begin{CompactList}\small\item\em Class representing function $f(x) = Ax+B$. \item\end{CompactList}\item 
129class \hyperlink{classbdm_1_1diffbifn}{diffbifn}
130\begin{CompactList}\small\item\em Class representing a differentiable function of two variables $f(x,u)$. \item\end{CompactList}\item 
131class \hyperlink{classbdm_1_1bilinfn}{bilinfn}
132\begin{CompactList}\small\item\em Class representing function $f(x,u) = Ax+Bu$. \item\end{CompactList}\item 
133class \hyperlink{classbdm_1_1memlog}{memlog}
134\begin{CompactList}\small\item\em Logging into matrices in data format in memory. \item\end{CompactList}\item 
135class \hyperlink{classbdm_1_1dirfilelog}{dirfilelog}
136\begin{CompactList}\small\item\em Logging into dirfile with buffer in memory. \item\end{CompactList}\item 
137class \textbf{UIFile}
138\item 
139class \hyperlink{classbdm_1_1UIbuilder}{UIbuilder}
140\begin{CompactList}\small\item\em Builds computational object from a UserInfo structure. \item\end{CompactList}\item 
141class \textbf{UIexternal}
142\item 
143class \textbf{UIinternal}
144\end{CompactItemize}
145\subsection*{Typedefs}
146\begin{CompactItemize}
147\item 
148\hypertarget{namespacebdm_4dc620a66ce2fcd4c5f42a03a3909b7c}{
149typedef map$<$ const string, const \hyperlink{classbdm_1_1UIbuilder}{UIbuilder} $\ast$ $>$ \hyperlink{namespacebdm_4dc620a66ce2fcd4c5f42a03a3909b7c}{UImap}}
150\label{namespacebdm_4dc620a66ce2fcd4c5f42a03a3909b7c}
151
152\begin{CompactList}\small\item\em Internal structure mapping strings to UIBuilder objects. \item\end{CompactList}\end{CompactItemize}
153\subsection*{Enumerations}
154\begin{CompactItemize}
155\item 
156enum \textbf{MixEF\_\-METHOD} \{ \textbf{EM} =  0,
157\textbf{QB} =  1
158 \}
159\item 
160enum \hyperlink{namespacebdm_33aac0be76ded31d2e3081c5a3f6c418}{RESAMPLING\_\-METHOD} \{ \textbf{MULTINOMIAL} =  0,
161\textbf{STRATIFIED} =  1,
162\textbf{SYSTEMATIC} =  3
163 \}
164\begin{CompactList}\small\item\em Switch between various resampling methods. \item\end{CompactList}\end{CompactItemize}
165\subsection*{Functions}
166\begin{CompactItemize}
167\item 
168double \hyperlink{namespacebdm_384d37434e33cef41e2785e247b5d4d6}{egiw\_\-bestbelow} (\hyperlink{classbdm_1_1egiw}{egiw} Eg, \hyperlink{classbdm_1_1egiw}{egiw} Eg0, double Egll, ivec \&indeces)
169\begin{CompactList}\small\item\em Return the best structure. \item\end{CompactList}\item 
170\hypertarget{namespacebdm_1d111e8cdcd92244244a44f6b4af397c}{
171std::ostream \& \textbf{operator$<$$<$} (std::ostream \&os, const \hyperlink{classbdm_1_1KalmanFull}{KalmanFull} \&kf)}
172\label{namespacebdm_1d111e8cdcd92244244a44f6b4af397c}
173
174\item 
175\hypertarget{namespacebdm_35914b7631534d21c50a9e1b70146da0}{
176std::ostream \& \textbf{operator$<$$<$} (std::ostream \&os, const \hyperlink{classbdm_1_1RV}{RV} \&rv)}
177\label{namespacebdm_35914b7631534d21c50a9e1b70146da0}
178
179\item 
180\hypertarget{namespacebdm_b9016687c0e874ca5cdcf75ae28811aa}{
181\hyperlink{classbdm_1_1RV}{RV} \hyperlink{namespacebdm_b9016687c0e874ca5cdcf75ae28811aa}{concat} (const \hyperlink{classbdm_1_1RV}{RV} \&rv1, const \hyperlink{classbdm_1_1RV}{RV} \&rv2)}
182\label{namespacebdm_b9016687c0e874ca5cdcf75ae28811aa}
183
184\begin{CompactList}\small\item\em Concat two random variables. \item\end{CompactList}\item 
185\hypertarget{namespacebdm_9a39066aa68568b4b97f8d3103c8699c}{
186{\footnotesize template$<$class sq\_\-T$>$ }\\std::ostream \& \textbf{operator$<$$<$} (std::ostream \&os, \hyperlink{classbdm_1_1mlnorm}{mlnorm}$<$ sq\_\-T $>$ \&ml)}
187\label{namespacebdm_9a39066aa68568b4b97f8d3103c8699c}
188
189\item 
190\hypertarget{namespacebdm_c8d6de8f4e080550406df7c1600117fe}{
191\textbf{UIREGISTER} (UIexternal)}
192\label{namespacebdm_c8d6de8f4e080550406df7c1600117fe}
193
194\item 
195\hypertarget{namespacebdm_3a4ea5a3dc0198c5df3795970e82d629}{
196\textbf{UIREGISTER} (UIinternal)}
197\label{namespacebdm_3a4ea5a3dc0198c5df3795970e82d629}
198
199\item 
200\hypertarget{namespacebdm_f420706e534b420cf6561aa529be9a9e}{
201void \hyperlink{namespacebdm_f420706e534b420cf6561aa529be9a9e}{UI\_\-DBG} (Setting \&S, const string \&spc)}
202\label{namespacebdm_f420706e534b420cf6561aa529be9a9e}
203
204\begin{CompactList}\small\item\em \mbox{[}Debugging\mbox{]} Print values in current S to cout \item\end{CompactList}\item 
205\hypertarget{namespacebdm_b547b14af614cba1ab6c8942dde34462}{
206{\footnotesize template$<$class T$>$ }\\void \hyperlink{namespacebdm_b547b14af614cba1ab6c8942dde34462}{UIbuild} (Setting \&S, T $\ast$\&ret)}
207\label{namespacebdm_b547b14af614cba1ab6c8942dde34462}
208
209\begin{CompactList}\small\item\em Prototype of a UI builder. Return value is by the second argument since it type checking via {\tt dynamic\_\-cast}. \item\end{CompactList}\item 
210\hypertarget{namespacebdm_0760231b120a0b42f80b09515456d57b}{
211{\footnotesize template$<$class T$>$ }\\void \hyperlink{namespacebdm_0760231b120a0b42f80b09515456d57b}{UIcall} (Setting \&S, void($\ast$func)(Setting \&, T), T Tmp)}
212\label{namespacebdm_0760231b120a0b42f80b09515456d57b}
213
214\begin{CompactList}\small\item\em Auxiliary function allowing recursivity in S (too complex, remove?). \item\end{CompactList}\end{CompactItemize}
215\subsection*{Variables}
216\begin{CompactItemize}
217\item 
218\hypertarget{namespacebdm_bdd4760f14ec7d6fea083aa2170f6236}{
219\hyperlink{classbdm_1_1RV}{RV} \hyperlink{namespacebdm_bdd4760f14ec7d6fea083aa2170f6236}{RV0} = \hyperlink{classbdm_1_1RV}{RV}()}
220\label{namespacebdm_bdd4760f14ec7d6fea083aa2170f6236}
221
222\begin{CompactList}\small\item\em Default empty \hyperlink{classbdm_1_1RV}{RV} that can be used as default argument. \item\end{CompactList}\item 
223\hypertarget{namespacebdm_96288dbda6916cd442af735f66a9f40b}{
224Uniform\_\-RNG \hyperlink{namespacebdm_96288dbda6916cd442af735f66a9f40b}{UniRNG}}
225\label{namespacebdm_96288dbda6916cd442af735f66a9f40b}
226
227\begin{CompactList}\small\item\em Global Uniform\_\-RNG. \item\end{CompactList}\item 
228\hypertarget{namespacebdm_c959a7382efbcc31af4b58cf0f0f951a}{
229Normal\_\-RNG \hyperlink{namespacebdm_c959a7382efbcc31af4b58cf0f0f951a}{NorRNG}}
230\label{namespacebdm_c959a7382efbcc31af4b58cf0f0f951a}
231
232\begin{CompactList}\small\item\em Global Normal\_\-RNG. \item\end{CompactList}\item 
233\hypertarget{namespacebdm_2828dc833cc283a1fb39a5e8dc06518f}{
234Gamma\_\-RNG \hyperlink{namespacebdm_2828dc833cc283a1fb39a5e8dc06518f}{GamRNG}}
235\label{namespacebdm_2828dc833cc283a1fb39a5e8dc06518f}
236
237\begin{CompactList}\small\item\em Global Gamma\_\-RNG. \item\end{CompactList}\item 
238\hypertarget{namespacebdm_edbf34217028dd95a3680c346af85fea}{
239\hyperlink{namespacebdm_4dc620a66ce2fcd4c5f42a03a3909b7c}{UImap} \hyperlink{namespacebdm_edbf34217028dd95a3680c346af85fea}{\_\-\_\-uimap\_\-\_\-}}
240\label{namespacebdm_edbf34217028dd95a3680c346af85fea}
241
242\begin{CompactList}\small\item\em global map of UIbulder names to instances of UIbuilders. Created by UIREGISTER macro \item\end{CompactList}\end{CompactItemize}
243
244
245\subsection{Detailed Description}
246Space of basic BDM structures.
247
248\subsection{Function Documentation}
249\hypertarget{namespacebdm_384d37434e33cef41e2785e247b5d4d6}{
250\index{bdm@{bdm}!egiw\_\-bestbelow@{egiw\_\-bestbelow}}
251\index{egiw\_\-bestbelow@{egiw\_\-bestbelow}!bdm@{bdm}}
252\subsubsection[egiw\_\-bestbelow]{\setlength{\rightskip}{0pt plus 5cm}double bdm::egiw\_\-bestbelow (egiw {\em Eg}, \/  egiw {\em Eg0}, \/  double {\em Egll}, \/  ivec \& {\em indeces})}}
253\label{namespacebdm_384d37434e33cef41e2785e247b5d4d6}
254
255
256Return the best structure.
257
258\begin{Desc}
259\item[Parameters:]
260\begin{description}
261\item[{\em Eg}]a copy of GiW density that is being examined \item[{\em Eg0}]a copy of prior GiW density before estimation \item[{\em Egll}]likelihood of the current Eg \item[{\em indeces}]current indeces \end{description}
262\end{Desc}
263\begin{Desc}
264\item[Returns:]best likelihood in the structure below the given one \end{Desc}
265
266
267References ldmat::\_\-D(), ldmat::\_\-L(), bdm::egiw::\_\-V(), ldmat::ldform(), bdm::egiw::lognc(), and ldmat::rows().
268
269Referenced by bdm::ARX::structure\_\-est().
Note: See TracBrowser for help on using the browser.