[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: BM 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>BM Class Reference</h1><!-- doxytag: class="BM" -->Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities. |
---|
| 23 | <a href="#_details">More...</a> |
---|
| 24 | <p> |
---|
| 25 | <code>#include <<a class="el" href="libBM_8h-source.html">libBM.h</a>></code> |
---|
| 26 | <p> |
---|
| 27 | <div class="dynheader"> |
---|
| 28 | Inheritance diagram for BM:</div> |
---|
| 29 | <div class="dynsection"> |
---|
[19] | 30 | <p><center><img src="classBM__inherit__graph.png" border="0" usemap="#BM__inherit__map" alt="Inheritance graph"></center> |
---|
| 31 | <map name="BM__inherit__map"> |
---|
| 32 | <area shape="rect" href="classKalman.html" title="Kalman filter with covaraince matrices in square root form." alt="" coords="5,84,133,111"><area shape="rect" href="classKalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="157,84,248,111"><area shape="rect" href="classPF.html" title="A Particle Filter prototype." alt="" coords="272,84,309,111"><area shape="rect" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data..." alt="" coords="255,161,327,188"></map> |
---|
| 33 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
[8] | 34 | |
---|
| 35 | <p> |
---|
| 36 | <a href="classBM-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 37 | <tr><td></td></tr> |
---|
| 38 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 39 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#c52edf4ad6e1dff9bf64b9e1e0cfb1f0">bayes</a> (const vec &dt, bool evall=true)=0</td></tr> |
---|
| 40 | |
---|
| 41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Incremental Bayes rule. <a href="#c52edf4ad6e1dff9bf64b9e1e0cfb1f0"></a><br></td></tr> |
---|
| 42 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87b07867fd4c133aa89a18543f68d9f9"></a><!-- doxytag: member="BM::bayes" ref="87b07867fd4c133aa89a18543f68d9f9" args="(mat Dt)" --> |
---|
| 43 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">bayes</a> (mat Dt)</td></tr> |
---|
| 44 | |
---|
| 45 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
---|
| 46 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
| 47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5623fef6572a08c2b53b8c87b82dc979"></a><!-- doxytag: member="BM::ll" ref="5623fef6572a08c2b53b8c87b82dc979" args="" --> |
---|
| 48 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td></tr> |
---|
| 49 | |
---|
| 50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> |
---|
| 51 | </table> |
---|
| 52 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 53 | Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities. <hr><h2>Member Function Documentation</h2> |
---|
| 54 | <a class="anchor" name="c52edf4ad6e1dff9bf64b9e1e0cfb1f0"></a><!-- doxytag: member="BM::bayes" ref="c52edf4ad6e1dff9bf64b9e1e0cfb1f0" args="(const vec &dt, bool evall=true)=0" --> |
---|
| 55 | <div class="memitem"> |
---|
| 56 | <div class="memproto"> |
---|
| 57 | <table class="memname"> |
---|
| 58 | <tr> |
---|
| 59 | <td class="memname">virtual void BM::bayes </td> |
---|
| 60 | <td>(</td> |
---|
| 61 | <td class="paramtype">const vec & </td> |
---|
| 62 | <td class="paramname"> <em>dt</em>, </td> |
---|
| 63 | </tr> |
---|
| 64 | <tr> |
---|
| 65 | <td class="paramkey"></td> |
---|
| 66 | <td></td> |
---|
| 67 | <td class="paramtype">bool </td> |
---|
| 68 | <td class="paramname"> <em>evall</em> = <code>true</code></td><td> </td> |
---|
| 69 | </tr> |
---|
| 70 | <tr> |
---|
| 71 | <td></td> |
---|
| 72 | <td>)</td> |
---|
| 73 | <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> |
---|
| 74 | </tr> |
---|
| 75 | </table> |
---|
| 76 | </div> |
---|
| 77 | <div class="memdoc"> |
---|
| 78 | |
---|
| 79 | <p> |
---|
| 80 | Incremental Bayes rule. |
---|
| 81 | <p> |
---|
| 82 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 83 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 84 | <tr><td valign="top"></td><td valign="top"><em>dt</em> </td><td>vector of input data </td></tr> |
---|
| 85 | <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> |
---|
| 86 | </table> |
---|
| 87 | </dl> |
---|
| 88 | |
---|
[19] | 89 | <p>Implemented in <a class="el" href="classKalmanFull.html#048b13739b94c331cda08249b278552b">KalmanFull</a>, <a class="el" href="classKalman.html#e945d9205ca14acbd83ba80ea6f72b8e">Kalman< sq_T ></a>, <a class="el" href="classPF.html#eb06bd7d4325f22f54233967295793b9">PF</a>, and <a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">TrivialPF</a>.</p> |
---|
[8] | 90 | |
---|
| 91 | </div> |
---|
| 92 | </div><p> |
---|
| 93 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
[19] | 94 | <li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> |
---|
| 95 | <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 15 18:57:41 2008 for mixpp by |
---|
[8] | 96 | <a href="http://www.doxygen.org/index.html"> |
---|
| 97 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
---|
| 98 | </body> |
---|
| 99 | </html> |
---|