| 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"> | 
|---|
| 30 |  | 
|---|
| 31 | <p><center><img src="classBM.png" usemap="#BM_map" border="0" alt=""></center> | 
|---|
| 32 | <map name="BM_map"> | 
|---|
| 33 | <area href="classKalman.html" alt="Kalman< sq_T >" shape="rect" coords="0,56,103,80"> | 
|---|
| 34 | <area href="classKalmanFull.html" alt="KalmanFull" shape="rect" coords="113,56,216,80"> | 
|---|
| 35 | <area href="classPF.html" alt="PF" shape="rect" coords="226,56,329,80"> | 
|---|
| 36 | <area href="classTrivialPF.html" alt="TrivialPF" shape="rect" coords="226,112,329,136"> | 
|---|
| 37 | </map> | 
|---|
| 38 | </div> | 
|---|
| 39 |  | 
|---|
| 40 | <p> | 
|---|
| 41 | <a href="classBM-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> | 
|---|
| 42 | <tr><td></td></tr> | 
|---|
| 43 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> | 
|---|
| 44 | <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> | 
|---|
| 45 |  | 
|---|
| 46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Incremental Bayes rule.  <a href="#c52edf4ad6e1dff9bf64b9e1e0cfb1f0"></a><br></td></tr> | 
|---|
| 47 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87b07867fd4c133aa89a18543f68d9f9"></a><!-- doxytag: member="BM::bayes" ref="87b07867fd4c133aa89a18543f68d9f9" args="(mat Dt)" --> | 
|---|
| 48 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#87b07867fd4c133aa89a18543f68d9f9">bayes</a> (mat Dt)</td></tr> | 
|---|
| 49 |  | 
|---|
| 50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> | 
|---|
| 51 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> | 
|---|
| 52 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5623fef6572a08c2b53b8c87b82dc979"></a><!-- doxytag: member="BM::ll" ref="5623fef6572a08c2b53b8c87b82dc979" args="" --> | 
|---|
| 53 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td></tr> | 
|---|
| 54 |  | 
|---|
| 55 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> | 
|---|
| 56 | </table> | 
|---|
| 57 | <hr><a name="_details"></a><h2>Detailed Description</h2> | 
|---|
| 58 | Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities. <hr><h2>Member Function Documentation</h2> | 
|---|
| 59 | <a class="anchor" name="c52edf4ad6e1dff9bf64b9e1e0cfb1f0"></a><!-- doxytag: member="BM::bayes" ref="c52edf4ad6e1dff9bf64b9e1e0cfb1f0" args="(const vec &dt, bool evall=true)=0" --> | 
|---|
| 60 | <div class="memitem"> | 
|---|
| 61 | <div class="memproto"> | 
|---|
| 62 | <table class="memname"> | 
|---|
| 63 | <tr> | 
|---|
| 64 | <td class="memname">virtual void BM::bayes           </td> | 
|---|
| 65 | <td>(</td> | 
|---|
| 66 | <td class="paramtype">const vec & </td> | 
|---|
| 67 | <td class="paramname"> <em>dt</em>, </td> | 
|---|
| 68 | </tr> | 
|---|
| 69 | <tr> | 
|---|
| 70 | <td class="paramkey"></td> | 
|---|
| 71 | <td></td> | 
|---|
| 72 | <td class="paramtype">bool </td> | 
|---|
| 73 | <td class="paramname"> <em>evall</em> = <code>true</code></td><td> </td> | 
|---|
| 74 | </tr> | 
|---|
| 75 | <tr> | 
|---|
| 76 | <td></td> | 
|---|
| 77 | <td>)</td> | 
|---|
| 78 | <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> | 
|---|
| 79 | </tr> | 
|---|
| 80 | </table> | 
|---|
| 81 | </div> | 
|---|
| 82 | <div class="memdoc"> | 
|---|
| 83 |  | 
|---|
| 84 | <p> | 
|---|
| 85 | Incremental Bayes rule. | 
|---|
| 86 | <p> | 
|---|
| 87 | <dl compact><dt><b>Parameters:</b></dt><dd> | 
|---|
| 88 | <table border="0" cellspacing="2" cellpadding="0"> | 
|---|
| 89 | <tr><td valign="top"></td><td valign="top"><em>dt</em> </td><td>vector of input data </td></tr> | 
|---|
| 90 | <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> | 
|---|
| 91 | </table> | 
|---|
| 92 | </dl> | 
|---|
| 93 |  | 
|---|
| 94 | <p>Implemented in <a class="el" href="classKalmanFull.html#048b13739b94c331cda08249b278552b">KalmanFull</a>, <a class="el" href="classKalman.html#e945d9205ca14acbd83ba80ea6f72b8e">Kalman< sq_T ></a>, and <a class="el" href="classTrivialPF.html#77a92bf054d763f806d27fc37a058389">TrivialPF</a>.</p> | 
|---|
| 95 |  | 
|---|
| 96 | </div> | 
|---|
| 97 | </div><p> | 
|---|
| 98 | <hr>The documentation for this class was generated from the following file:<ul> | 
|---|
| 99 | <li>work/mixpp/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> | 
|---|
| 100 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 23 11:30:11 2008 for mixpp by  | 
|---|
| 101 | <a href="http://www.doxygen.org/index.html"> | 
|---|
| 102 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> | 
|---|
| 103 | </body> | 
|---|
| 104 | </html> | 
|---|