Changeset 270 for doc/html/classbdm_1_1MPF.html
- Timestamp:
- 02/16/09 10:02:08 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1MPF.html
r269 r270 29 29 </div> 30 30 <div class="contents"> 31 <h1>bdm::MPF< BM_T > Class Template Reference</h1><!-- doxytag: class="bdm::MPF" --><!-- doxytag: inherits="bdm::PF" -->Marginalized Particle filter. 32 <a href="#_details">More...</a> 33 <p> 34 <code>#include <<a class="el" href="libPF_8h-source.html">libPF.h</a>></code> 31 <h1>bdm::MPF< BM_T > Class Template Reference</h1><!-- doxytag: class="bdm::MPF" --><!-- doxytag: inherits="bdm::PF" --><code>#include <<a class="el" href="libPF_8h-source.html">libPF.h</a>></code> 35 32 <p> 36 33 <div class="dynheader"> … … 41 38 <area shape="rect" href="classbdm_1_1PF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="43,161,115,188"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="40,84,117,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="23,7,135,33"></map> 42 39 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 43 <div class="dynheader"> 44 Collaboration diagram for bdm::MPF< BM_T >:</div> 45 <div class="dynsection"> 46 <p><center><img src="classbdm_1_1MPF__coll__graph.png" border="0" usemap="#bdm_1_1MPF_3_01BM__T_01_4__coll__map" alt="Collaboration graph"></center> 47 <map name="bdm_1_1MPF_3_01BM__T_01_4__coll__map"> 48 <area shape="rect" href="classbdm_1_1PF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="67,412,139,439"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="5,201,83,228"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="121,7,233,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="92,87,167,113"><area shape="rect" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="89,300,180,327"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="232,201,317,228"><area shape="rect" href="classbdm_1_1eEmp.html" title="Weighted empirical density." alt="" coords="213,300,309,327"><area shape="rect" title="internal class for MPDF providing composition of eEmp with external components" alt="" coords="243,412,451,439"></map> 49 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 50 51 <p> 52 <a href="classbdm_1_1MPF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 40 41 <p> 42 <a href="classbdm_1_1MPF-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 43 <h3>template<class BM_T><br> 44 class bdm::MPF< BM_T ></h3> 45 46 Marginalized Particle filter. 47 <p> 48 Trivial version: proposal = parameter evolution, observation model is not used. (it is assumed to be part of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a>). <table border="0" cellpadding="0" cellspacing="0"> 53 49 <tr><td></td></tr> 54 50 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> … … 61 57 <tr><td class="mdescLeft"> </td><td class="mdescRight">Incremental Bayes rule. <a href="#286d040770d08bd7ff416cea617b1b14"></a><br></td></tr> 62 58 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2da4cbf7645da52ad5630ada411e3f9f"></a><!-- doxytag: member="bdm::MPF::_epdf" ref="2da4cbf7645da52ad5630ada411e3f9f" args="() const " --> 63 const <a class="el" href="classbdm_1_1epdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MPF.html#2da4cbf7645da52ad5630ada411e3f9f">_epdf</a> () const </td></tr> 64 65 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> representing posterior density on parameters. <br></td></tr> 59 const <a class="el" href="classbdm_1_1epdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><b>_epdf</b> () const </td></tr> 60 66 61 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1401874aa88a7a3f2593070646779af2"></a><!-- doxytag: member="bdm::MPF::_e" ref="1401874aa88a7a3f2593070646779af2" args="() const " --> 67 const <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MPF.html#1401874aa88a7a3f2593070646779af2">_e</a> () const </td></tr> 68 69 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> representing posterior density on parameters. Use with care! <br></td></tr> 62 const <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><b>_e</b> () const </td></tr> 63 70 64 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dcecdaf2acbbee51acf3018a70989a7e"></a><!-- doxytag: member="bdm::MPF::set_est" ref="dcecdaf2acbbee51acf3018a70989a7e" args="(const epdf &epdf0)" --> 71 65 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MPF.html#dcecdaf2acbbee51acf3018a70989a7e">set_est</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &epdf0)</td></tr> … … 80 74 81 75 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 76 <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 77 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbdm_1_1BM.html">BM</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c0f027ff91d8459937c6f60ff8e553ff">_copy_</a> ()</td></tr> 78 79 <tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> 82 80 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::MPF::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &Dt)" --> 83 81 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &Dt)</td></tr> … … 90 88 91 89 <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="710e7d69c0d8791fb41a7cd4683cca2c"></a><!-- doxytag: member="bdm::MPF::predictor" ref="710e7d69c0d8791fb41a7cd4683cca2c" args="(const RV &rv) const " --> 93 virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#710e7d69c0d8791fb41a7cd4683cca2c">predictor</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>) const </td></tr> 94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40a3c891996391e3135518053a917793"></a><!-- doxytag: member="bdm::MPF::_rv" ref="40a3c891996391e3135518053a917793" args="() const " --> 97 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#40a3c891996391e3135518053a917793">_rv</a> () const </td></tr> 98 99 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 90 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="bdm::MPF::epredictor" ref="688d7a2aced1e06aa1c468d73a9e5eba" args="() const " --> 91 virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba">epredictor</a> () const </td></tr> 92 93 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density <img class="formulaInl" alt="$ f(d_{t+1} |d_{t}, \ldots d_{0}) $" src="form_112.png">. <br></td></tr> 94 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::MPF::predictor" ref="598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> 95 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 96 97 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor. <br></td></tr> 98 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 100 99 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::MPF::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> 101 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ff2d8755ba0b3def927d31305c03b09c">_drv</a> () const </td></tr> 102 103 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 100 const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><b>_drv</b> () const </td></tr> 101 104 102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="bdm::MPF::set_drv" ref="f135ae6dce7e9f30c9f88229c7930b96" args="(const RV &rv)" --> 105 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#f135ae6dce7e9f30c9f88229c7930b96">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a>)</td></tr> 106 107 <tr><td class="mdescLeft"> </td><td class="mdescRight">set drv <br></td></tr> 103 void </td><td class="memItemRight" valign="bottom"><b>set_drv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv)</td></tr> 104 108 105 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::MPF::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " --> 109 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#5be65d37dedfe33a3671e7065f523a70">_ll</a> () const </td></tr> 110 111 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 106 double </td><td class="memItemRight" valign="bottom"><b>_ll</b> () const </td></tr> 107 112 108 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::MPF::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> 113 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#236b3abbcc93594fc97cd86d82c1a83f">set_evalll</a> (bool evl0)</td></tr> 114 115 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 116 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbdm_1_1BM.html">BM</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_</a> (bool changerv=false)</td></tr> 109 void </td><td class="memItemRight" valign="bottom"><b>set_evalll</b> (bool evl0)</td></tr> 117 110 118 111 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> … … 141 134 142 135 <tr><td class="mdescLeft"> </td><td class="mdescRight">Observation model. <br></td></tr> 143 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18d6db4af8ee42077741d9e3618153ca"></a><!-- doxytag: member="bdm::MPF::rv" ref="18d6db4af8ee42077741d9e3618153ca" args="" -->144 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca">rv</a></td></tr>145 146 <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the posterior. <br></td></tr>147 136 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::MPF::drv" ref="c400357e37d27a4834b2b1d9211009ed" args="" --> 148 137 <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> … … 162 151 <tr><td class="mdescLeft"> </td><td class="mdescRight">internal class for MPDF providing composition of <a class="el" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a> with external components <br></td></tr> 163 152 </table> 164 <hr><a name="_details"></a><h2>Detailed Description</h2> 165 <h3>template<class BM_T><br> 166 class bdm::MPF< BM_T ></h3> 167 168 Marginalized Particle filter. 169 <p> 170 Trivial version: proposal = parameter evolution, observation model is not used. (it is assumed to be part of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a>). <hr><h2>Member Function Documentation</h2> 153 <hr><h2>Member Function Documentation</h2> 171 154 <a class="anchor" name="286d040770d08bd7ff416cea617b1b14"></a><!-- doxytag: member="bdm::MPF::bayes" ref="286d040770d08bd7ff416cea617b1b14" args="(const vec &dt)" --> 172 155 <div class="memitem"> … … 198 181 <p>Reimplemented from <a class="el" href="classbdm_1_1PF.html#638946eea22d4964bf9350286bb4efd8">bdm::PF</a>.</p> 199 182 200 <p>References <a class="el" href="libBM_8h-source.html#l00272">bdm::mpdf::_e()</a>, <a class="el" href="libPF_8h-source.html#l00036">bdm::PF::_samples</a>, <a class="el" href="libPF_8h-source.html#l00034">bdm::PF::_w</a>, <a class="el" href="libPF_8h-source.html#l00032">bdm::PF::est</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, <a class="el" href="libPF_8h-source.html#l00030">bdm::PF::n</a>, <a class="el" href="libPF_8h-source.html#l00038">bdm::PF::par</a>, <a class="el" href="libEF_8cpp-source.html#l00184">bdm::eEmp::resample()</a>, and <a class="el" href="libBM_8h-source.html#l00237">bdm::mpdf::samplecond()</a>.</p> 183 <p>References <a class="el" href="libBM_8h-source.html#l00333">bdm::mpdf::_e()</a>, <a class="el" href="libPF_8h-source.html#l00036">bdm::PF::_samples</a>, <a class="el" href="libPF_8h-source.html#l00034">bdm::PF::_w</a>, <a class="el" href="libPF_8h-source.html#l00032">bdm::PF::est</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, <a class="el" href="libPF_8h-source.html#l00030">bdm::PF::n</a>, <a class="el" href="libPF_8h-source.html#l00038">bdm::PF::par</a>, <a class="el" href="libEF_8cpp-source.html#l00184">bdm::eEmp::resample()</a>, and <a class="el" href="libBM_8h-source.html#l00302">bdm::mpdf::samplecond()</a>.</p> 184 185 </div> 186 </div><p> 187 <a class="anchor" name="c0f027ff91d8459937c6f60ff8e553ff"></a><!-- doxytag: member="bdm::MPF::_copy_" ref="c0f027ff91d8459937c6f60ff8e553ff" args="()" --> 188 <div class="memitem"> 189 <div class="memproto"> 190 <table class="memname"> 191 <tr> 192 <td class="memname">virtual <a class="el" href="classbdm_1_1BM.html">BM</a>* bdm::BM::_copy_ </td> 193 <td>(</td> 194 <td class="paramname"> </td> 195 <td> ) </td> 196 <td><code> [inline, virtual, inherited]</code></td> 197 </tr> 198 </table> 199 </div> 200 <div class="memdoc"> 201 202 <p> 203 Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: <div class="fragment"><pre class="fragment"> BM* <a class="code" href="classbdm_1_1BM.html#c0f027ff91d8459937c6f60ff8e553ff">_copy_</a>(){<span class="keywordflow">return</span> <span class="keyword">new</span> BM(*<span class="keyword">this</span>);} 204 </pre></div> 205 <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#60c40b5c6abc4c7e464b4ccae64a5a61">bdm::ARX</a>.</p> 201 206 202 207 </div> … … 222 227 <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#080a7e531e3aa06694112863b15bc6a4">bdm::ARX</a>, <a class="el" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">bdm::MixEF</a>, and <a class="el" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">bdm::multiBM</a>.</p> 223 228 224 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00535">bdm::BM::logpred_m()</a>.</p> 225 226 </div> 227 </div><p> 228 <a class="anchor" name="3efb3098172f1f67564a312fe732473e"></a><!-- doxytag: member="bdm::MPF::_copy_" ref="3efb3098172f1f67564a312fe732473e" args="(bool changerv=false)" --> 229 <div class="memitem"> 230 <div class="memproto"> 231 <table class="memname"> 232 <tr> 233 <td class="memname">virtual <a class="el" href="classbdm_1_1BM.html">BM</a>* bdm::BM::_copy_ </td> 234 <td>(</td> 235 <td class="paramtype">bool </td> 236 <td class="paramname"> <em>changerv</em> = <code>false</code> </td> 237 <td> ) </td> 238 <td><code> [inline, virtual, inherited]</code></td> 239 </tr> 240 </table> 241 </div> 242 <div class="memdoc"> 243 244 <p> 245 Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: BM* <a class="el" href="classbdm_1_1BM.html#3efb3098172f1f67564a312fe732473e">_copy_()</a>{<a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> Tmp*=new Tmp(this*); return Tmp; } 246 <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#20ff2de8d862f28de7da83444d65bcdb">bdm::ARX</a>, and <a class="el" href="classbdm_1_1BMEF.html#5912dbcf28ae711e30b08c2fa766a3e6">bdm::BMEF</a>.</p> 229 <p>Referenced by <a class="el" href="libBM_8h-source.html#l00608">bdm::BM::logpred_m()</a>.</p> 247 230 248 231 </div> … … 251 234 <li><a class="el" href="libPF_8h-source.html">libPF.h</a></ul> 252 235 </div> 253 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 10:20:482009 for mixpp by 236 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 23:34:02 2009 for mixpp by 254 237 <a href="http://www.doxygen.org/index.html"> 255 238 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>