| 8 | <script type="text/javascript"> |
| 9 | <!-- |
| 10 | function changeDisplayState (e){ |
| 11 | var num=this.id.replace(/[^[0-9]/g,''); |
| 12 | var button=this.firstChild; |
| 13 | var sectionDiv=document.getElementById('dynsection'+num); |
| 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
| 15 | sectionDiv.style.display='block'; |
| 16 | button.src='open.gif'; |
| 17 | }else{ |
| 18 | sectionDiv.style.display='none'; |
| 19 | button.src='closed.gif'; |
| 20 | } |
| 21 | } |
| 22 | function initDynSections(){ |
| 23 | var divs=document.getElementsByTagName('div'); |
| 24 | var sectionCounter=1; |
| 25 | for(var i=0;i<divs.length-1;i++){ |
| 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
| 27 | var header=divs[i]; |
| 28 | var section=divs[i+1]; |
| 29 | var button=header.firstChild; |
| 30 | if (button!='IMG'){ |
| 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
| 32 | button=document.createElement('img'); |
| 33 | divs[i].insertBefore(button,divs[i].firstChild); |
| 34 | } |
| 35 | header.style.cursor='pointer'; |
| 36 | header.onclick=changeDisplayState; |
| 37 | header.id='dynheader'+sectionCounter; |
| 38 | button.src='closed.gif'; |
| 39 | section.id='dynsection'+sectionCounter; |
| 40 | section.style.display='none'; |
| 41 | section.style.marginLeft='14px'; |
| 42 | sectionCounter++; |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | window.onload = initDynSections; |
| 47 | --> |
| 48 | </script> |
36 | | <p><center><img src="classbdm_1_1PF__inherit__graph.png" border="0" usemap="#bdm_1_1PF__inherit__map" alt="Inheritance graph"></center> |
37 | | <map name="bdm_1_1PF__inherit__map"> |
38 | | <area shape="rect" href="classbdm_1_1MPF.html" title="Marginalized Particle filter." alt="" coords="5,239,152,265"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="40,84,117,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="23,7,135,33"></map> |
39 | | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
| 76 | |
| 77 | <p><center><img src="classbdm_1_1PF.png" usemap="#bdm::PF_map" border="0" alt=""></center> |
| 78 | <map name="bdm::PF_map"> |
| 79 | <area href="classbdm_1_1BM.html" alt="bdm::BM" shape="rect" coords="0,56,125,80"> |
| 80 | <area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="0,0,125,24"> |
| 81 | <area href="classbdm_1_1MPF.html" alt="bdm::MPF< BM_T >" shape="rect" coords="0,168,125,192"> |
| 82 | </map> |
| 83 | </div> |
48 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="db2ed4517083f83de9d61750a87274de"></a><!-- doxytag: member="bdm::PF::PF" ref="db2ed4517083f83de9d61750a87274de" args="(mpdf &par0, mpdf &obs0, int n0)" --> |
49 | | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#db2ed4517083f83de9d61750a87274de">PF</a> (<a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &par0, <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &obs0, int n0)</td></tr> |
50 | | |
51 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
52 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6f1988db4c3f602d187a6c15ec89cb1e"></a><!-- doxytag: member="bdm::PF::set_est" ref="6f1988db4c3f602d187a6c15ec89cb1e" args="(const epdf &epdf0)" --> |
53 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#6f1988db4c3f602d187a6c15ec89cb1e">set_est</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &epdf0)</td></tr> |
54 | | |
55 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set posterior density by sampling from epdf0. <br></td></tr> |
| 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#6f1988db4c3f602d187a6c15ec89cb1e">set_est</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &epdf0)</td></tr> |
| 93 | |
| 101 | <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> |
| 102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="297339fd48bc1cfd011d16603d54accb"></a><!-- doxytag: member="bdm::PF::PF" ref="297339fd48bc1cfd011d16603d54accb" args="()" --> |
| 103 | </td><td class="memItemRight" valign="bottom"><b>PF</b> ()</td></tr> |
| 104 | |
| 105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b9fdf0d1e712392bfcad5a26c727d44"></a><!-- doxytag: member="bdm::PF::PF" ref="3b9fdf0d1e712392bfcad5a26c727d44" args="(mpdf *par0, mpdf *obs0, epdf *epdf0, int n0)" --> |
| 106 | </td><td class="memItemRight" valign="bottom"><b>PF</b> (<a class="el" href="classbdm_1_1mpdf.html">mpdf</a> *par0, <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> *obs0, <a class="el" href="classbdm_1_1epdf.html">epdf</a> *epdf0, int n0)</td></tr> |
| 107 | |
| 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6d63c627cd1600eb0a88294d0ff6ca3"></a><!-- doxytag: member="bdm::PF::set_parameters" ref="e6d63c627cd1600eb0a88294d0ff6ca3" args="(mpdf *par0, mpdf *obs0, int n0)" --> |
| 109 | void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (<a class="el" href="classbdm_1_1mpdf.html">mpdf</a> *par0, <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> *obs0, int n0)</td></tr> |
| 110 | |
| 111 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9830cb311f67e8276d3f2b167ab681b9"></a><!-- doxytag: member="bdm::PF::set_statistics" ref="9830cb311f67e8276d3f2b167ab681b9" args="(const vec w0, epdf *epdf0)" --> |
| 112 | void </td><td class="memItemRight" valign="bottom"><b>set_statistics</b> (const vec w0, <a class="el" href="classbdm_1_1epdf.html">epdf</a> *epdf0)</td></tr> |
| 113 | |
| 197 | <a class="anchor" name="6f1988db4c3f602d187a6c15ec89cb1e"></a><!-- doxytag: member="bdm::PF::set_est" ref="6f1988db4c3f602d187a6c15ec89cb1e" args="(const epdf &epdf0)" --> |
| 198 | <div class="memitem"> |
| 199 | <div class="memproto"> |
| 200 | <table class="memname"> |
| 201 | <tr> |
| 202 | <td class="memname">void bdm::PF::set_est </td> |
| 203 | <td>(</td> |
| 204 | <td class="paramtype">const <a class="el" href="classbdm_1_1epdf.html">epdf</a> & </td> |
| 205 | <td class="paramname"> <em>epdf0</em> </td> |
| 206 | <td> ) </td> |
| 207 | <td></td> |
| 208 | </tr> |
| 209 | </table> |
| 210 | </div> |
| 211 | <div class="memdoc"> |
| 212 | |
| 213 | <p> |
| 214 | Set posterior density by sampling from epdf0 |
| 215 | <p>Reimplemented in <a class="el" href="classbdm_1_1MPF.html#dcecdaf2acbbee51acf3018a70989a7e">bdm::MPF< BM_T ></a>.</p> |
| 216 | |
| 217 | <p>References <a class="el" href="libPF_8h-source.html#l00036">_samples</a>, <a class="el" href="libPF_8h-source.html#l00030">n</a>, and <a class="el" href="libBM_8h-source.html#l00242">bdm::epdf::sample()</a>.</p> |
| 218 | |
| 219 | <p>Referenced by <a class="el" href="libPF_8h-source.html#l00136">bdm::MPF< BM_T >::set_est()</a>.</p> |
| 220 | |
| 221 | </div> |
| 222 | </div><p> |
172 | | <p>References <a class="el" href="libBM_8h-source.html#l00333">bdm::mpdf::_e()</a>, <a class="el" href="libPF_8h-source.html#l00036">_samples</a>, <a class="el" href="libPF_8h-source.html#l00034">_w</a>, <a class="el" href="libPF_8h-source.html#l00032">est</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, <a class="el" href="libBM_8h-source.html#l00318">bdm::mpdf::evallogcond()</a>, <a class="el" href="libPF_8h-source.html#l00030">n</a>, <a class="el" href="libPF_8h-source.html#l00040">obs</a>, <a class="el" href="libPF_8h-source.html#l00038">par</a>, <a class="el" href="libEF_8cpp-source.html#l00184">bdm::eEmp::resample()</a>, and <a class="el" href="libBM_8h-source.html#l00302">bdm::mpdf::samplecond()</a>.</p> |
| 252 | <p>References <a class="el" href="libBM_8h-source.html#l00342">bdm::mpdf::_e()</a>, <a class="el" href="libPF_8h-source.html#l00036">_samples</a>, <a class="el" href="libPF_8h-source.html#l00034">_w</a>, <a class="el" href="libPF_8h-source.html#l00032">est</a>, <a class="el" href="libBM_8h-source.html#l00246">bdm::epdf::evallog()</a>, <a class="el" href="libBM_8h-source.html#l00327">bdm::mpdf::evallogcond()</a>, <a class="el" href="libPF_8h-source.html#l00030">n</a>, <a class="el" href="libPF_8h-source.html#l00040">obs</a>, <a class="el" href="libPF_8h-source.html#l00038">par</a>, <a class="el" href="libEF_8cpp-source.html#l00185">bdm::eEmp::resample()</a>, and <a class="el" href="libBM_8h-source.html#l00311">bdm::mpdf::samplecond()</a>.</p> |