Changeset 32 for doc/html/classPF.html

Show
Ignore:
Timestamp:
03/03/08 13:00:32 (17 years ago)
Author:
smidl
Message:

test KF : estimation of R in KF is not possible! Likelihood of y_t is growing when R -> 0

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classPF.html

    r28 r32  
    2121  </ul> 
    2222</div> 
    23 <h1>PF Class Reference</h1><!-- doxytag: class="PF" --><!-- doxytag: inherits="BM" -->A Particle Filter prototype 
     23<h1>PF Class Reference</h1><!-- doxytag: class="PF" --><!-- doxytag: inherits="BM" -->Trivial particle filter with proposal density equal to parameter evolution model 
    2424<a href="#_details">More...</a> 
    2525<p> 
     
    3131<p><center><img src="classPF__inherit__graph.png" border="0" usemap="#PF__inherit__map" alt="Inheritance graph"></center> 
    3232<map name="PF__inherit__map"> 
    33 <area shape="rect" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data..." alt="" coords="5,161,77,188"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="20,7,63,33"></map> 
     33<area shape="rect" href="classMPF.html" title="Marginalized Particle filter." alt="" coords="5,161,120,188"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="41,7,84,33"></map> 
    3434<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 
    3535<div class="dynheader"> 
     
    3838<p><center><img src="classPF__coll__graph.png" border="0" usemap="#PF__coll__map" alt="Collaboration graph"></center> 
    3939<map name="PF__coll__map"> 
    40 <area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="5,7,48,33"></map> 
     40<area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="5,161,48,188"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="72,7,109,33"><area shape="rect" title="rv" alt="" coords="72,31,80,39"><area shape="rect" title="rv" alt="" coords="24,157,32,165"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="64,215,120,241"><area shape="rect" title="rv\nrvc" alt="" coords="87,31,95,39"><area shape="rect" title="rv\nrvc" alt="" coords="88,211,96,219"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="135,105,185,132"><area shape="rect" title="rv" alt="" coords="97,31,105,39"><area shape="rect" title="rv" alt="" coords="147,101,155,109"><area shape="rect" title="obs\npar" alt="" coords="88,239,96,247"><area shape="rect" title="obs\npar" alt="" coords="88,323,96,331"><area shape="rect" title="ep" alt="" coords="147,129,155,137"><area shape="rect" title="ep" alt="" coords="96,211,104,219"><area shape="rect" href="classeEmp.html" title="Weighted empirical density." alt="" coords="144,215,203,241"><area shape="rect" title="ePdf" alt="" coords="159,239,167,247"><area shape="rect" title="ePdf" alt="" coords="97,323,105,331"></map> 
    4141<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 
    4242 
     
    4545<tr><td></td></tr> 
    4646<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 
    47 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0e26b2f6a5884aca49122f3e4f0cf19"></a><!-- doxytag: member="PF::resample" ref="a0e26b2f6a5884aca49122f3e4f0cf19" args="(RESAMPLING_METHOD method=SYSTEMATIC)" --> 
    48 ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#a0e26b2f6a5884aca49122f3e4f0cf19">resample</a> (RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> 
     47<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e9604b7fc87ff5e61da4de4a04210bfc"></a><!-- doxytag: member="PF::PF" ref="e9604b7fc87ff5e61da4de4a04210bfc" args="(const RV &amp;rv0, mpdf &amp;par0, mpdf &amp;obs0, int n)" --> 
     48&nbsp;</td><td class="memItemRight" valign="bottom"><b>PF</b> (const <a class="el" href="classRV.html">RV</a> &amp;rv0, <a class="el" href="classmpdf.html">mpdf</a> &amp;par0, <a class="el" href="classmpdf.html">mpdf</a> &amp;obs0, int <a class="el" href="classPF.html#2c2f44ed7a4eaa42e07bdb58d503f280">n</a>)</td></tr> 
    4949 
    50 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns indexes of particles that should be resampled. The ordering MUST guarantee inplace replacement. (Important for MPF.). <br></td></tr> 
    51 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c37f95f0c1661c7f1e3fccb31d39de73"></a><!-- doxytag: member="PF::PF" ref="c37f95f0c1661c7f1e3fccb31d39de73" args="(vec w)" --> 
    52 &nbsp;</td><td class="memItemRight" valign="bottom"><b>PF</b> (vec w)</td></tr> 
     50<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c5caa2c15604338b773d7a8125e7a1b5"></a><!-- doxytag: member="PF::set_est" ref="c5caa2c15604338b773d7a8125e7a1b5" args="(const epdf *&amp;epdf0)" --> 
     51void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_est</b> (const <a class="el" href="classepdf.html">epdf</a> *&amp;epdf0)</td></tr> 
    5352 
    54 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb06bd7d4325f22f54233967295793b9"></a><!-- doxytag: member="PF::bayes" ref="eb06bd7d4325f22f54233967295793b9" args="(const vec &amp;dt, bool evell)" --> 
    55 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>bayes</b> (const vec &amp;dt, bool evell)</td></tr> 
     53<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#64f636bbd63bea9efd778214e6b631d3">bayes</a> (const vec &amp;dt)</td></tr> 
    5654 
    57 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a892eff438aab2dd1a9e2efcb7fb5bdf">bayes</a> (const vec &amp;dt)=0</td></tr> 
    58  
    59 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Incremental Bayes rule.  <a href="#a892eff438aab2dd1a9e2efcb7fb5bdf"></a><br></td></tr> 
     55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Incremental Bayes rule.  <a href="#64f636bbd63bea9efd778214e6b631d3"></a><br></td></tr> 
    6056<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87b07867fd4c133aa89a18543f68d9f9"></a><!-- doxytag: member="PF::bayes" ref="87b07867fd4c133aa89a18543f68d9f9" args="(mat Dt)" --> 
    6157void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">bayes</a> (mat Dt)</td></tr> 
    6258 
    6359<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> 
    64 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5b8f6c8a872738cfaa30ab010e8c077"></a><!-- doxytag: member="PF::_epdf" ref="a5b8f6c8a872738cfaa30ab010e8c077" args="()" --> 
    65 <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a5b8f6c8a872738cfaa30ab010e8c077">_epdf</a> ()</td></tr> 
     60<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3dc45554556926bde996a267636abe55"></a><!-- doxytag: member="PF::_epdf" ref="3dc45554556926bde996a267636abe55" args="()=0" --> 
     61virtual <a class="el" href="classepdf.html">epdf</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#3dc45554556926bde996a267636abe55">_epdf</a> ()=0</td></tr> 
    6662 
    6763<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the <a class="el" href="classepdf.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> 
    68 <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> 
     64<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
     65<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2c2f44ed7a4eaa42e07bdb58d503f280"></a><!-- doxytag: member="PF::n" ref="2c2f44ed7a4eaa42e07bdb58d503f280" args="" --> 
     66int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#2c2f44ed7a4eaa42e07bdb58d503f280">n</a></td></tr> 
     67 
     68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of particles; <br></td></tr> 
     69<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2ac56d1e3ffbb4ff0b3f02e6399deb0"></a><!-- doxytag: member="PF::ePdf" ref="a2ac56d1e3ffbb4ff0b3f02e6399deb0" args="" --> 
     70<a class="el" href="classeEmp.html">eEmp</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#a2ac56d1e3ffbb4ff0b3f02e6399deb0">ePdf</a></td></tr> 
     71 
     72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">posterior density <br></td></tr> 
     73<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a97d12da4d1832c0b0c6ec5877f921f0"></a><!-- doxytag: member="PF::w" ref="a97d12da4d1832c0b0c6ec5877f921f0" args="" --> 
     74vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#a97d12da4d1832c0b0c6ec5877f921f0">w</a></td></tr> 
     75 
     76<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">pointer into <code><a class="el" href="classeEmp.html" title="Weighted empirical density.">eEmp</a></code> <br></td></tr> 
     77<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="361743a0b5b89de1a29e91d1343b2565"></a><!-- doxytag: member="PF::samples" ref="361743a0b5b89de1a29e91d1343b2565" args="" --> 
     78Array&lt; vec &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#361743a0b5b89de1a29e91d1343b2565">samples</a></td></tr> 
     79 
     80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">pointer into <code><a class="el" href="classeEmp.html" title="Weighted empirical density.">eEmp</a></code> <br></td></tr> 
     81<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d92ac103f88f8c21e197e90af5695a09"></a><!-- doxytag: member="PF::par" ref="d92ac103f88f8c21e197e90af5695a09" args="" --> 
     82<a class="el" href="classmpdf.html">mpdf</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#d92ac103f88f8c21e197e90af5695a09">par</a></td></tr> 
     83 
     84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parameter evolution model. <br></td></tr> 
     85<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd0a687a4515333d6809147335854e77"></a><!-- doxytag: member="PF::obs" ref="dd0a687a4515333d6809147335854e77" args="" --> 
     86<a class="el" href="classmpdf.html">mpdf</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#dd0a687a4515333d6809147335854e77">obs</a></td></tr> 
     87 
     88<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Observation model. <br></td></tr> 
     89<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af00f0612fabe66241dd507188cdbf88"></a><!-- doxytag: member="PF::rv" ref="af00f0612fabe66241dd507188cdbf88" args="" --> 
     90<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a></td></tr> 
     91 
     92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Random variable of the posterior. <br></td></tr> 
    6993<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5623fef6572a08c2b53b8c87b82dc979"></a><!-- doxytag: member="PF::ll" ref="5623fef6572a08c2b53b8c87b82dc979" args="" --> 
    7094double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td></tr> 
     
    7599 
    76100<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If true, the filter will compute likelihood of the data record and store it in <code>ll</code> . Set to false if you want to save time. <br></td></tr> 
    77 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
    78 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2c2f44ed7a4eaa42e07bdb58d503f280"></a><!-- doxytag: member="PF::n" ref="2c2f44ed7a4eaa42e07bdb58d503f280" args="" --> 
    79 int&nbsp;</td><td class="memItemRight" valign="bottom"><b>n</b></td></tr> 
    80  
    81 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6bc92f7979af4513b06b161497ba868"></a><!-- doxytag: member="PF::w" ref="f6bc92f7979af4513b06b161497ba868" args="" --> 
    82 vec&nbsp;</td><td class="memItemRight" valign="bottom"><b>w</b></td></tr> 
    83  
    84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3568ca7c3b3175d98b548f496b4c34dd"></a><!-- doxytag: member="PF::URNG" ref="3568ca7c3b3175d98b548f496b4c34dd" args="" --> 
    85 Uniform_RNG&nbsp;</td><td class="memItemRight" valign="bottom"><b>URNG</b></td></tr> 
    86  
    87101</table> 
    88102<hr><a name="_details"></a><h2>Detailed Description</h2> 
    89 A Particle Filter prototype.  
     103Trivial particle filter with proposal density equal to parameter evolution model.  
    90104<p> 
    91 Bayesian Filtering equations hold. <hr><h2>Member Function Documentation</h2> 
    92 <a class="anchor" name="a892eff438aab2dd1a9e2efcb7fb5bdf"></a><!-- doxytag: member="PF::bayes" ref="a892eff438aab2dd1a9e2efcb7fb5bdf" args="(const vec &amp;dt)=0" --> 
     105Posterior density is represented by a weighted empirical density (<code><a class="el" href="classeEmp.html" title="Weighted empirical density.">eEmp</a></code> ). <hr><h2>Member Function Documentation</h2> 
     106<a class="anchor" name="64f636bbd63bea9efd778214e6b631d3"></a><!-- doxytag: member="PF::bayes" ref="64f636bbd63bea9efd778214e6b631d3" args="(const vec &amp;dt)" --> 
    93107<div class="memitem"> 
    94108<div class="memproto"> 
    95109      <table class="memname"> 
    96110        <tr> 
    97           <td class="memname">virtual void BM::bayes           </td> 
     111          <td class="memname">void PF::bayes           </td> 
    98112          <td>(</td> 
    99113          <td class="paramtype">const vec &amp;&nbsp;</td> 
    100114          <td class="paramname"> <em>dt</em>          </td> 
    101115          <td>&nbsp;)&nbsp;</td> 
    102           <td width="100%"><code> [pure virtual, inherited]</code></td> 
     116          <td width="100%"><code> [virtual]</code></td> 
    103117        </tr> 
    104118      </table> 
     
    115129</dl> 
    116130 
     131<p>Implements <a class="el" href="classBM.html#a892eff438aab2dd1a9e2efcb7fb5bdf">BM</a>.</p> 
     132 
     133<p>Reimplemented in <a class="el" href="classMPF.html#55daf8e4b6553dd9f47c692de7931623">MPF&lt; BM_T &gt;</a>.</p> 
     134 
    117135</div> 
    118136</div><p> 
    119137<hr>The documentation for this class was generated from the following files:<ul> 
    120138<li>work/mixpp/bdm/estim/<a class="el" href="libPF_8h-source.html">libPF.h</a><li>work/mixpp/bdm/estim/libPF.cpp</ul> 
    121 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Feb 18 21:48:44 2008 for mixpp by&nbsp; 
     139<hr size="1"><address style="text-align: right;"><small>Generated on Thu Feb 28 16:54:56 2008 for mixpp by&nbsp; 
    122140<a href="http://www.doxygen.org/index.html"> 
    123141<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>