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 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
14 | </ul> |
---|
15 | </div> |
---|
16 | <div class="tabs"> |
---|
17 | <ul> |
---|
18 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
19 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
20 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
21 | </ul> |
---|
22 | </div> |
---|
23 | <h1>BM Class Reference</h1><!-- doxytag: class="BM" -->Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities. |
---|
24 | <a href="#_details">More...</a> |
---|
25 | <p> |
---|
26 | <code>#include <<a class="el" href="libBM_8h-source.html">libBM.h</a>></code> |
---|
27 | <p> |
---|
28 | <div class="dynheader"> |
---|
29 | Inheritance diagram for BM:</div> |
---|
30 | <div class="dynsection"> |
---|
31 | <p><center><img src="classBM__inherit__graph.png" border="0" usemap="#BM__inherit__map" alt="Inheritance graph"></center> |
---|
32 | <map name="BM__inherit__map"> |
---|
33 | <area shape="rect" href="classKalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="5,87,133,113"><area shape="rect" href="classKalman.html" title="Kalman\< fsqmat \>" alt="" coords="47,183,193,209"><area shape="rect" href="classKalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="208,87,299,113"><area shape="rect" href="classPF.html" title="A Particle Filter prototype." alt="" coords="323,87,360,113"><area shape="rect" title="\< fsqmat \>" alt="" coords="64,111,72,119"><area shape="rect" title="\< fsqmat \>" alt="" coords="95,179,103,187"><area shape="rect" href="classEKF.html" title="Extended Kalman Filter." alt="" coords="68,263,172,289"><area shape="rect" href="classTrivialPF.html" title="Trivial particle filter with proposal density that is not conditioned on the data..." alt="" coords="305,183,377,209"></map> |
---|
34 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
35 | |
---|
36 | <p> |
---|
37 | <a href="classBM-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
38 | <tr><td></td></tr> |
---|
39 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
40 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef32a12f4f89e4000bf5390ceda762ae"></a><!-- doxytag: member="BM::BM" ref="ef32a12f4f89e4000bf5390ceda762ae" args="()" --> |
---|
41 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#ef32a12f4f89e4000bf5390ceda762ae">BM</a> ()</td></tr> |
---|
42 | |
---|
43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></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#a892eff438aab2dd1a9e2efcb7fb5bdf">bayes</a> (const vec &dt)=0</td></tr> |
---|
45 | |
---|
46 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Incremental Bayes rule. <a href="#a892eff438aab2dd1a9e2efcb7fb5bdf"></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 class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5b8f6c8a872738cfaa30ab010e8c077"></a><!-- doxytag: member="BM::_epdf" ref="a5b8f6c8a872738cfaa30ab010e8c077" args="()" --> |
---|
52 | <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a5b8f6c8a872738cfaa30ab010e8c077">_epdf</a> ()</td></tr> |
---|
53 | |
---|
54 | <tr><td class="mdescLeft"> </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> |
---|
55 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
56 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5623fef6572a08c2b53b8c87b82dc979"></a><!-- doxytag: member="BM::ll" ref="5623fef6572a08c2b53b8c87b82dc979" args="" --> |
---|
57 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">ll</a></td></tr> |
---|
58 | |
---|
59 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> |
---|
60 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf6fb59b30141074f8ee1e2f43d03129"></a><!-- doxytag: member="BM::evalll" ref="bf6fb59b30141074f8ee1e2f43d03129" args="" --> |
---|
61 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">evalll</a></td></tr> |
---|
62 | |
---|
63 | <tr><td class="mdescLeft"> </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> |
---|
64 | </table> |
---|
65 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
66 | Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities. <hr><h2>Member Function Documentation</h2> |
---|
67 | <a class="anchor" name="a892eff438aab2dd1a9e2efcb7fb5bdf"></a><!-- doxytag: member="BM::bayes" ref="a892eff438aab2dd1a9e2efcb7fb5bdf" args="(const vec &dt)=0" --> |
---|
68 | <div class="memitem"> |
---|
69 | <div class="memproto"> |
---|
70 | <table class="memname"> |
---|
71 | <tr> |
---|
72 | <td class="memname">virtual void BM::bayes </td> |
---|
73 | <td>(</td> |
---|
74 | <td class="paramtype">const vec & </td> |
---|
75 | <td class="paramname"> <em>dt</em> </td> |
---|
76 | <td> ) </td> |
---|
77 | <td width="100%"><code> [pure virtual]</code></td> |
---|
78 | </tr> |
---|
79 | </table> |
---|
80 | </div> |
---|
81 | <div class="memdoc"> |
---|
82 | |
---|
83 | <p> |
---|
84 | Incremental Bayes rule. |
---|
85 | <p> |
---|
86 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
87 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
88 | <tr><td valign="top"></td><td valign="top"><em>dt</em> </td><td>vector of input data </td></tr> |
---|
89 | </table> |
---|
90 | </dl> |
---|
91 | |
---|
92 | </div> |
---|
93 | </div><p> |
---|
94 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
95 | <li>work/mixpp/bdm/stat/<a class="el" href="libBM_8h-source.html">libBM.h</a></ul> |
---|
96 | <hr size="1"><address style="text-align: right;"><small>Generated on Mon Feb 18 21:48:40 2008 for mixpp by |
---|
97 | <a href="http://www.doxygen.org/index.html"> |
---|
98 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address> |
---|
99 | </body> |
---|
100 | </html> |
---|