| 1 | \section{PF Class Reference} |
|---|
| 2 | \label{classPF}\index{PF@{PF}} |
|---|
| 3 | A Particle Filter prototype. |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | {\tt \#include $<$libPF.h$>$} |
|---|
| 7 | |
|---|
| 8 | Inheritance diagram for PF:\nopagebreak |
|---|
| 9 | \begin{figure}[H] |
|---|
| 10 | \begin{center} |
|---|
| 11 | \leavevmode |
|---|
| 12 | \includegraphics[width=49pt]{classPF__inherit__graph} |
|---|
| 13 | \end{center} |
|---|
| 14 | \end{figure} |
|---|
| 15 | Collaboration diagram for PF:\nopagebreak |
|---|
| 16 | \begin{figure}[H] |
|---|
| 17 | \begin{center} |
|---|
| 18 | \leavevmode |
|---|
| 19 | \includegraphics[width=38pt]{classPF__coll__graph} |
|---|
| 20 | \end{center} |
|---|
| 21 | \end{figure} |
|---|
| 22 | \subsection*{Public Member Functions} |
|---|
| 23 | \begin{CompactItemize} |
|---|
| 24 | \item |
|---|
| 25 | ivec {\bf resample} (RESAMPLING\_\-METHOD method=SYSTEMATIC)\label{classPF_a0e26b2f6a5884aca49122f3e4f0cf19} |
|---|
| 26 | |
|---|
| 27 | \begin{CompactList}\small\item\em Returns indexes of particles that should be resampled. The ordering MUST guarantee inplace replacement. (Important for MPF.). \item\end{CompactList}\item |
|---|
| 28 | \textbf{PF} (vec w)\label{classPF_c37f95f0c1661c7f1e3fccb31d39de73} |
|---|
| 29 | |
|---|
| 30 | \item |
|---|
| 31 | void {\bf bayes} (const vec \&dt, bool evell) |
|---|
| 32 | \begin{CompactList}\small\item\em Incremental Bayes rule. \item\end{CompactList}\end{CompactItemize} |
|---|
| 33 | \subsection*{Protected Attributes} |
|---|
| 34 | \begin{CompactItemize} |
|---|
| 35 | \item |
|---|
| 36 | int \textbf{n}\label{classPF_2c2f44ed7a4eaa42e07bdb58d503f280} |
|---|
| 37 | |
|---|
| 38 | \item |
|---|
| 39 | vec \textbf{w}\label{classPF_f6bc92f7979af4513b06b161497ba868} |
|---|
| 40 | |
|---|
| 41 | \item |
|---|
| 42 | Uniform\_\-RNG \textbf{URNG}\label{classPF_3568ca7c3b3175d98b548f496b4c34dd} |
|---|
| 43 | |
|---|
| 44 | \end{CompactItemize} |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | \subsection{Detailed Description} |
|---|
| 48 | A Particle Filter prototype. |
|---|
| 49 | |
|---|
| 50 | Bayesian Filtering equations hold. |
|---|
| 51 | |
|---|
| 52 | \subsection{Member Function Documentation} |
|---|
| 53 | \index{PF@{PF}!bayes@{bayes}} |
|---|
| 54 | \index{bayes@{bayes}!PF@{PF}} |
|---|
| 55 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void PF::bayes (const vec \& {\em dt}, bool {\em evall})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classPF_eb06bd7d4325f22f54233967295793b9} |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | Incremental Bayes rule. |
|---|
| 59 | |
|---|
| 60 | \begin{Desc} |
|---|
| 61 | \item[Parameters:] |
|---|
| 62 | \begin{description} |
|---|
| 63 | \item[{\em dt}]vector of input data \item[{\em evall}]If true, the filter will compute likelihood of the data record and store it in {\tt ll} \end{description} |
|---|
| 64 | \end{Desc} |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | Implements {\bf BM} \doxyref{}{p.}{classBM_c52edf4ad6e1dff9bf64b9e1e0cfb1f0}. |
|---|
| 68 | |
|---|
| 69 | Reimplemented in {\bf TrivialPF} \doxyref{}{p.}{classTrivialPF_77a92bf054d763f806d27fc37a058389}. |
|---|
| 70 | |
|---|
| 71 | The documentation for this class was generated from the following files:\begin{CompactItemize} |
|---|
| 72 | \item |
|---|
| 73 | work/mixpp/bdm/estim/{\bf libPF.h}\item |
|---|
| 74 | work/mixpp/bdm/estim/libPF.cpp\end{CompactItemize} |
|---|