[8] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: PF Class Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
| 7 | <!-- Generated by Doxygen 1.5.3 --> |
---|
| 8 | <div class="tabs"> |
---|
| 9 | <ul> |
---|
| 10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 11 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 12 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 13 | </ul> |
---|
| 14 | </div> |
---|
| 15 | <div class="tabs"> |
---|
| 16 | <ul> |
---|
| 17 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 18 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 19 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 20 | </ul> |
---|
| 21 | </div> |
---|
| 22 | <h1>PF Class Reference</h1><!-- doxytag: class="PF" --><!-- doxytag: inherits="BM" -->A Particle Filter prototype. |
---|
| 23 | <a href="#_details">More...</a> |
---|
| 24 | <p> |
---|
| 25 | <code>#include <<a class="el" href="libPF_8h-source.html">libPF.h</a>></code> |
---|
| 26 | <p> |
---|
| 27 | <div class="dynheader"> |
---|
| 28 | Inheritance diagram for PF:</div> |
---|
| 29 | <div class="dynsection"> |
---|
[19] | 30 | <p><center><img src="classPF__inherit__graph.png" border="0" usemap="#PF__inherit__map" alt="Inheritance graph"></center> |
---|
| 31 | <map name="PF__inherit__map"> |
---|
| 32 | <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 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 34 | <div class="dynheader"> |
---|
| 35 | Collaboration diagram for PF:</div> |
---|
| 36 | <div class="dynsection"> |
---|
| 37 | <p><center><img src="classPF__coll__graph.png" border="0" usemap="#PF__coll__map" alt="Collaboration graph"></center> |
---|
| 38 | <map name="PF__coll__map"> |
---|
| 39 | <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 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
[8] | 41 | |
---|
| 42 | <p> |
---|
| 43 | <a href="classPF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 44 | <tr><td></td></tr> |
---|
| 45 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 46 | <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)" --> |
---|
| 47 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#a0e26b2f6a5884aca49122f3e4f0cf19">resample</a> (RESAMPLING_METHOD method=SYSTEMATIC)</td></tr> |
---|
| 48 | |
---|
[19] | 49 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns indexes of particles that should be resampled. The ordering MUST guarantee inplace replacement. (Important for MPF.). <br></td></tr> |
---|
| 50 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c37f95f0c1661c7f1e3fccb31d39de73"></a><!-- doxytag: member="PF::PF" ref="c37f95f0c1661c7f1e3fccb31d39de73" args="(vec w)" --> |
---|
| 51 | </td><td class="memItemRight" valign="bottom"><b>PF</b> (vec w)</td></tr> |
---|
| 52 | |
---|
| 53 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPF.html#eb06bd7d4325f22f54233967295793b9">bayes</a> (const vec &dt, bool evell)</td></tr> |
---|
| 54 | |
---|
| 55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Incremental Bayes rule. <a href="#eb06bd7d4325f22f54233967295793b9"></a><br></td></tr> |
---|
[8] | 56 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
| 57 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2c2f44ed7a4eaa42e07bdb58d503f280"></a><!-- doxytag: member="PF::n" ref="2c2f44ed7a4eaa42e07bdb58d503f280" args="" --> |
---|
| 58 | int </td><td class="memItemRight" valign="bottom"><b>n</b></td></tr> |
---|
| 59 | |
---|
| 60 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6bc92f7979af4513b06b161497ba868"></a><!-- doxytag: member="PF::w" ref="f6bc92f7979af4513b06b161497ba868" args="" --> |
---|
| 61 | vec </td><td class="memItemRight" valign="bottom"><b>w</b></td></tr> |
---|
| 62 | |
---|
[19] | 63 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3568ca7c3b3175d98b548f496b4c34dd"></a><!-- doxytag: member="PF::URNG" ref="3568ca7c3b3175d98b548f496b4c34dd" args="" --> |
---|
| 64 | Uniform_RNG </td><td class="memItemRight" valign="bottom"><b>URNG</b></td></tr> |
---|
| 65 | |
---|
[8] | 66 | </table> |
---|
| 67 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 68 | A Particle Filter prototype. |
---|
| 69 | <p> |
---|
[19] | 70 | Bayesian Filtering equations hold. <hr><h2>Member Function Documentation</h2> |
---|
| 71 | <a class="anchor" name="eb06bd7d4325f22f54233967295793b9"></a><!-- doxytag: member="PF::bayes" ref="eb06bd7d4325f22f54233967295793b9" args="(const vec &dt, bool evell)" --> |
---|
| 72 | <div class="memitem"> |
---|
| 73 | <div class="memproto"> |
---|
| 74 | <table class="memname"> |
---|
| 75 | <tr> |
---|
| 76 | <td class="memname">void PF::bayes </td> |
---|
| 77 | <td>(</td> |
---|
| 78 | <td class="paramtype">const vec & </td> |
---|
| 79 | <td class="paramname"> <em>dt</em>, </td> |
---|
| 80 | </tr> |
---|
| 81 | <tr> |
---|
| 82 | <td class="paramkey"></td> |
---|
| 83 | <td></td> |
---|
| 84 | <td class="paramtype">bool </td> |
---|
| 85 | <td class="paramname"> <em>evall</em></td><td> </td> |
---|
| 86 | </tr> |
---|
| 87 | <tr> |
---|
| 88 | <td></td> |
---|
| 89 | <td>)</td> |
---|
| 90 | <td></td><td></td><td width="100%"><code> [inline, virtual]</code></td> |
---|
| 91 | </tr> |
---|
| 92 | </table> |
---|
| 93 | </div> |
---|
| 94 | <div class="memdoc"> |
---|
| 95 | |
---|
| 96 | <p> |
---|
| 97 | Incremental Bayes rule. |
---|
| 98 | <p> |
---|
| 99 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 100 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 101 | <tr><td valign="top"></td><td valign="top"><em>dt</em> </td><td>vector of input data </td></tr> |
---|
| 102 | <tr><td valign="top"></td><td valign="top"><em>evall</em> </td><td>If true, the filter will compute likelihood of the data record and store it in <code>ll</code> </td></tr> |
---|
| 103 | </table> |
---|
| 104 | </dl> |
---|
| 105 | |
---|
| 106 | <p>Implements <a class="el" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0">BM</a>.</p> |
---|
| 107 | |
---|
| 108 | <p>Reimplemented in <a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">TrivialPF</a>.</p> |
---|
| 109 | |
---|
| 110 | </div> |
---|
| 111 | </div><p> |
---|
| 112 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
| 113 | <li>work/mixpp/bdm/estim/<a class="el" href="libPF_8h-source.html">libPF.h</a><li>work/mixpp/bdm/estim/libPF.cpp</ul> |
---|
[22] | 114 | <hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 17 16:14:21 2008 for mixpp by |
---|
[8] | 115 | <a href="http://www.doxygen.org/index.html"> |
---|
| 116 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
---|
| 117 | </body> |
---|
| 118 | </html> |
---|