[591] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 3 | <head> |
---|
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
---|
[397] | 5 | <title>mixpp: bdmbase.h File Reference</title> |
---|
[591] | 6 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
---|
| 7 | <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <!-- Generated by Doxygen 1.6.1 --> |
---|
[397] | 11 | <script type="text/javascript"> |
---|
| 12 | <!-- |
---|
| 13 | function changeDisplayState (e){ |
---|
| 14 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 15 | var button=this.firstChild; |
---|
| 16 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 17 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 18 | sectionDiv.style.display='block'; |
---|
| 19 | button.src='open.gif'; |
---|
| 20 | }else{ |
---|
| 21 | sectionDiv.style.display='none'; |
---|
| 22 | button.src='closed.gif'; |
---|
| 23 | } |
---|
| 24 | } |
---|
| 25 | function initDynSections(){ |
---|
| 26 | var divs=document.getElementsByTagName('div'); |
---|
| 27 | var sectionCounter=1; |
---|
| 28 | for(var i=0;i<divs.length-1;i++){ |
---|
| 29 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 30 | var header=divs[i]; |
---|
| 31 | var section=divs[i+1]; |
---|
| 32 | var button=header.firstChild; |
---|
| 33 | if (button!='IMG'){ |
---|
| 34 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 35 | button=document.createElement('img'); |
---|
| 36 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 37 | } |
---|
| 38 | header.style.cursor='pointer'; |
---|
| 39 | header.onclick=changeDisplayState; |
---|
| 40 | header.id='dynheader'+sectionCounter; |
---|
| 41 | button.src='closed.gif'; |
---|
| 42 | section.id='dynsection'+sectionCounter; |
---|
| 43 | section.style.display='none'; |
---|
| 44 | section.style.marginLeft='14px'; |
---|
| 45 | sectionCounter++; |
---|
| 46 | } |
---|
| 47 | } |
---|
| 48 | } |
---|
| 49 | window.onload = initDynSections; |
---|
| 50 | --> |
---|
| 51 | </script> |
---|
| 52 | <div class="navigation" id="top"> |
---|
| 53 | <div class="tabs"> |
---|
| 54 | <ul> |
---|
| 55 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
| 56 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
| 57 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 58 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
| 59 | </ul> |
---|
| 60 | </div> |
---|
| 61 | <div class="tabs"> |
---|
| 62 | <ul> |
---|
| 63 | <li><a href="files.html"><span>File List</span></a></li> |
---|
| 64 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
| 65 | </ul> |
---|
| 66 | </div> |
---|
| 67 | </div> |
---|
| 68 | <div class="contents"> |
---|
[591] | 69 | <h1>bdmbase.h File Reference</h1> |
---|
| 70 | <p>Basic structures of probability calculus: random variables, probability densities, Bayes rule. |
---|
| 71 | <a href="#_details">More...</a></p> |
---|
| 72 | <code>#include <map></code><br/> |
---|
| 73 | <code>#include "../itpp_ext.h"</code><br/> |
---|
| 74 | <code>#include "../bdmroot.h"</code><br/> |
---|
| 75 | <code>#include "../shared_ptr.h"</code><br/> |
---|
| 76 | <code>#include "<a class="el" href="user__info_8h_source.html">user_info.h</a>"</code><br/> |
---|
[397] | 77 | |
---|
[591] | 78 | <p><a href="bdmbase_8h_source.html">Go to the source code of this file.</a></p> |
---|
| 79 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
| 80 | <tr><td colspan="2"><h2>Classes</h2></td></tr> |
---|
| 81 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1str.html">bdm::str</a></td></tr> |
---|
| 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Structure of <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, i.e. RVs expanded into a flat list of IDs, used for debugging. <a href="classbdm_1_1str.html#_details">More...</a><br/></td></tr> |
---|
| 83 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html">bdm::RV</a></td></tr> |
---|
| 84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Class representing variables, most often random variables. <a href="classbdm_1_1RV.html#_details">More...</a><br/></td></tr> |
---|
| 85 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html">bdm::fnc</a></td></tr> |
---|
| 86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Class representing function <img class="formulaInl" alt="$f(x)$" src="form_0.png"/> of variable <img class="formulaInl" alt="$x$" src="form_1.png"/> represented by <code>rv</code>. <a href="classbdm_1_1fnc.html#_details">More...</a><br/></td></tr> |
---|
| 87 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td></tr> |
---|
| 88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Probability density function with numerical statistics, e.g. posterior density. <a href="classbdm_1_1epdf.html#_details">More...</a><br/></td></tr> |
---|
| 89 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td></tr> |
---|
[608] | 90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Conditional probability density, e.g. modeling <img class="formulaInl" alt="$ f( x | y) $" src="form_2.png"/>, where <img class="formulaInl" alt="$ x $" src="form_3.png"/> is random variable, <code>rv</code>, and <img class="formulaInl" alt="$ y $" src="form_4.png"/> is conditioning variable, <code>rvc</code>. <a href="classbdm_1_1mpdf.html#_details">More...</a><br/></td></tr> |
---|
[591] | 91 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html">bdm::mpdf_internal< EPDF ></a></td></tr> |
---|
| 92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Mpdf with internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> that is modified by function <code>condition</code>. <a href="classbdm_1_1mpdf__internal.html#_details">More...</a><br/></td></tr> |
---|
| 93 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html">bdm::datalink</a></td></tr> |
---|
| 94 | <tr><td class="mdescLeft"> </td><td class="mdescRight">DataLink is a connection between two data vectors Up and Down. <a href="classbdm_1_1datalink.html#_details">More...</a><br/></td></tr> |
---|
[608] | 95 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink__part.html">bdm::datalink_part</a></td></tr> |
---|
| 96 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink__buffered.html">bdm::datalink_buffered</a></td></tr> |
---|
| 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Datalink that buffers delayed values - do not forget to call <a class="el" href="classbdm_1_1datalink__buffered.html#af137706c55891ba8a8aecc52ea96865f" title="push current data to history">step()</a>. <a href="classbdm_1_1datalink__buffered.html#_details">More...</a><br/></td></tr> |
---|
| 98 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink__2to1__buffered.html">bdm::datalink_2to1_buffered</a></td></tr> |
---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">buffered <a class="el" href="classbdm_1_1datalink.html" title="DataLink is a connection between two data vectors Up and Down.">datalink</a> from 2 vectors to 1 <a href="classbdm_1_1datalink__2to1__buffered.html#_details">More...</a><br/></td></tr> |
---|
[591] | 100 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink__m2e.html">bdm::datalink_m2e</a></td></tr> |
---|
| 101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Data link with a condition. <a href="classbdm_1_1datalink__m2e.html#_details">More...</a><br/></td></tr> |
---|
| 102 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink__m2m.html">bdm::datalink_m2m</a></td></tr> |
---|
[608] | 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">DataLink is a connection between <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a> and its superordinate (Up) This class links. <a href="classbdm_1_1datalink__m2m.html#_details">More...</a><br/></td></tr> |
---|
[591] | 104 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1logger.html">bdm::logger</a></td></tr> |
---|
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Class for storing results (and semi-results) of an experiment. <a href="classbdm_1_1logger.html#_details">More...</a><br/></td></tr> |
---|
| 106 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html">bdm::mepdf</a></td></tr> |
---|
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a>. <a href="classbdm_1_1mepdf.html#_details">More...</a><br/></td></tr> |
---|
| 108 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html">bdm::DS</a></td></tr> |
---|
| 109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Abstract class for discrete-time sources of data. <a href="classbdm_1_1DS.html#_details">More...</a><br/></td></tr> |
---|
| 110 | <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html">bdm::BM</a></td></tr> |
---|
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities. <a href="classbdm_1_1BM.html#_details">More...</a><br/></td></tr> |
---|
| 112 | <tr><td colspan="2"><h2>Typedefs</h2></td></tr> |
---|
| 113 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adedf26a66a9ffdc836572917ff8fd4e3"></a><!-- doxytag: member="bdmbase.h::epdf_array" ref="adedf26a66a9ffdc836572917ff8fd4e3" args="" --> |
---|
[538] | 114 | typedef Array< shared_ptr< epdf > > </td><td class="memItemRight" valign="bottom"><b>bdm::epdf_array</b></td></tr> |
---|
[591] | 115 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a333f56b89b43f84f0ecaf63855b105d3"></a><!-- doxytag: member="bdmbase.h::mpdf_array" ref="a333f56b89b43f84f0ecaf63855b105d3" args="" --> |
---|
[538] | 116 | typedef Array< shared_ptr< mpdf > > </td><td class="memItemRight" valign="bottom"><b>bdm::mpdf_array</b></td></tr> |
---|
[591] | 117 | <tr><td colspan="2"><h2>Functions</h2></td></tr> |
---|
| 118 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a5785a480905a61870c3d56cc2c9846"></a><!-- doxytag: member="bdmbase.h::UIREGISTER" ref="a5a5785a480905a61870c3d56cc2c9846" args="(RV)" --> |
---|
[397] | 119 | </td><td class="memItemRight" valign="bottom"><b>bdm::UIREGISTER</b> (RV)</td></tr> |
---|
[591] | 120 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10373b2ec87e41b18ec0a8c305d31789"></a><!-- doxytag: member="bdmbase.h::SHAREDPTR" ref="a10373b2ec87e41b18ec0a8c305d31789" args="(RV)" --> |
---|
[538] | 121 | </td><td class="memItemRight" valign="bottom"><b>bdm::SHAREDPTR</b> (RV)</td></tr> |
---|
[591] | 122 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9016687c0e874ca5cdcf75ae28811aa"></a><!-- doxytag: member="bdmbase.h::concat" ref="ab9016687c0e874ca5cdcf75ae28811aa" args="(const RV &rv1, const RV &rv2)" --> |
---|
| 123 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebdm.html#ab9016687c0e874ca5cdcf75ae28811aa">bdm::concat</a> (const RV &rv1, const RV &rv2)</td></tr> |
---|
| 124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concat two random variables. <br/></td></tr> |
---|
| 125 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45117e20bd2a81a8012fc08c058ea1e0"></a><!-- doxytag: member="bdmbase.h::SHAREDPTR" ref="a45117e20bd2a81a8012fc08c058ea1e0" args="(epdf)" --> |
---|
[538] | 126 | </td><td class="memItemRight" valign="bottom"><b>bdm::SHAREDPTR</b> (epdf)</td></tr> |
---|
[591] | 127 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1f29914bc835ac8db11569ffed9fdc8"></a><!-- doxytag: member="bdmbase.h::SHAREDPTR" ref="af1f29914bc835ac8db11569ffed9fdc8" args="(mpdf)" --> |
---|
[538] | 128 | </td><td class="memItemRight" valign="bottom"><b>bdm::SHAREDPTR</b> (mpdf)</td></tr> |
---|
[591] | 129 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a314816a279d0b5d87d4065c7a715a943"></a><!-- doxytag: member="bdmbase.h::UIREGISTER" ref="a314816a279d0b5d87d4065c7a715a943" args="(mepdf)" --> |
---|
[397] | 130 | </td><td class="memItemRight" valign="bottom"><b>bdm::UIREGISTER</b> (mepdf)</td></tr> |
---|
[591] | 131 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aebfc44c2618694a05a0ac1c5c44e08d5"></a><!-- doxytag: member="bdmbase.h::SHAREDPTR" ref="aebfc44c2618694a05a0ac1c5c44e08d5" args="(mepdf)" --> |
---|
[538] | 132 | </td><td class="memItemRight" valign="bottom"><b>bdm::SHAREDPTR</b> (mepdf)</td></tr> |
---|
[591] | 133 | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a285a66f3c6e33b29f5d983623cc3381f"></a><!-- doxytag: member="bdmbase.h::get_composite_rv" ref="a285a66f3c6e33b29f5d983623cc3381f" args="(const Array< shared_ptr< mpdf > > &mpdfs, bool checkoverlap=false)" --> |
---|
| 134 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebdm.html#a285a66f3c6e33b29f5d983623cc3381f">bdm::get_composite_rv</a> (const Array< shared_ptr< mpdf > > &mpdfs, bool checkoverlap=false)</td></tr> |
---|
| 135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Combines RVs from a list of mpdfs to a single one. <br/></td></tr> |
---|
[397] | 136 | </table> |
---|
[591] | 137 | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 138 | <p>Basic structures of probability calculus: random variables, probability densities, Bayes rule. </p> |
---|
| 139 | <dl class="author"><dt><b>Author:</b></dt><dd>Vaclav Smidl.</dd></dl> |
---|
| 140 | <p>----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty</p> |
---|
| 141 | <p>Using IT++ for numerical operations ----------------------------------- </p> |
---|
| 142 | </div> |
---|
[617] | 143 | <hr size="1"/><address style="text-align: right;"><small>Generated on Tue Sep 15 23:42:47 2009 for mixpp by |
---|
[397] | 144 | <a href="http://www.doxygen.org/index.html"> |
---|
[591] | 145 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
---|
[397] | 146 | </body> |
---|
| 147 | </html> |
---|