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: bdmbase.h File Reference</title> |
---|
4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
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> |
---|
49 | <div class="navigation" id="top"> |
---|
50 | <div class="tabs"> |
---|
51 | <ul> |
---|
52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
55 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
56 | </ul> |
---|
57 | </div> |
---|
58 | <div class="tabs"> |
---|
59 | <ul> |
---|
60 | <li><a href="files.html"><span>File List</span></a></li> |
---|
61 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
62 | </ul> |
---|
63 | </div> |
---|
64 | </div> |
---|
65 | <div class="contents"> |
---|
66 | <h1>bdmbase.h File Reference</h1>Basic structures of probability calculus: random variables, probability densities, Bayes rule. |
---|
67 | <a href="#_details">More...</a> |
---|
68 | <p> |
---|
69 | <code>#include <map></code><br> |
---|
70 | <code>#include "../itpp_ext.h"</code><br> |
---|
71 | <code>#include "<a class="el" href="bdmroot_8h-source.html">../bdmroot.h</a>"</code><br> |
---|
72 | <code>#include "<a class="el" href="shared__ptr_8h-source.html">../shared_ptr.h</a>"</code><br> |
---|
73 | <code>#include "<a class="el" href="user__info_8h-source.html">user_info.h</a>"</code><br> |
---|
74 | |
---|
75 | <p> |
---|
76 | <a href="bdmbase_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
77 | <tr><td></td></tr> |
---|
78 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1str.html">bdm::str</a></td></tr> |
---|
80 | |
---|
81 | <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> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1RV.html">bdm::RV</a></td></tr> |
---|
83 | |
---|
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" nowrap 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 | |
---|
87 | <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> |
---|
88 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td></tr> |
---|
89 | |
---|
90 | <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> |
---|
91 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td></tr> |
---|
92 | |
---|
93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Conditional probability density, e.g. modeling <img class="formulaInl" alt="$ f( x | y) $" src="form_132.png">, where <img class="formulaInl" alt="$ x $" src="form_7.png"> is random variable, <code>rv</code>, and <img class="formulaInl" alt="$ y $" src="form_133.png"> is conditioning variable, <code>rvc</code>. <a href="classbdm_1_1mpdf.html#_details">More...</a><br></td></tr> |
---|
94 | <tr><td class="memItemLeft" nowrap 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> |
---|
95 | |
---|
96 | <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> |
---|
97 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1datalink.html">bdm::datalink</a></td></tr> |
---|
98 | |
---|
99 | <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> |
---|
100 | <tr><td class="memItemLeft" nowrap 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 | |
---|
102 | <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> |
---|
103 | <tr><td class="memItemLeft" nowrap 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> |
---|
104 | |
---|
105 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1logger.html">bdm::logger</a></td></tr> |
---|
106 | |
---|
107 | <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> |
---|
108 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mepdf.html">bdm::mepdf</a></td></tr> |
---|
109 | |
---|
110 | <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> |
---|
111 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html">bdm::DS</a></td></tr> |
---|
112 | |
---|
113 | <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> |
---|
114 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html">bdm::BM</a></td></tr> |
---|
115 | |
---|
116 | <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> |
---|
117 | <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
---|
118 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="547ee25cd5e6bae90105936ec4264257"></a><!-- doxytag: member="bdmbase.h::RVmap" ref="547ee25cd5e6bae90105936ec4264257" args="" --> |
---|
119 | typedef std::map< string, int > </td><td class="memItemRight" valign="bottom"><b>bdm::RVmap</b></td></tr> |
---|
120 | |
---|
121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dedf26a66a9ffdc836572917ff8fd4e3"></a><!-- doxytag: member="bdmbase.h::epdf_array" ref="dedf26a66a9ffdc836572917ff8fd4e3" args="" --> |
---|
122 | typedef Array< shared_ptr< epdf > > </td><td class="memItemRight" valign="bottom"><b>bdm::epdf_array</b></td></tr> |
---|
123 | |
---|
124 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="333f56b89b43f84f0ecaf63855b105d3"></a><!-- doxytag: member="bdmbase.h::mpdf_array" ref="333f56b89b43f84f0ecaf63855b105d3" args="" --> |
---|
125 | typedef Array< shared_ptr< mpdf > > </td><td class="memItemRight" valign="bottom"><b>bdm::mpdf_array</b></td></tr> |
---|
126 | |
---|
127 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
128 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a5785a480905a61870c3d56cc2c9846"></a><!-- doxytag: member="bdmbase.h::UIREGISTER" ref="5a5785a480905a61870c3d56cc2c9846" args="(RV)" --> |
---|
129 | </td><td class="memItemRight" valign="bottom"><b>bdm::UIREGISTER</b> (RV)</td></tr> |
---|
130 | |
---|
131 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10373b2ec87e41b18ec0a8c305d31789"></a><!-- doxytag: member="bdmbase.h::SHAREDPTR" ref="10373b2ec87e41b18ec0a8c305d31789" args="(RV)" --> |
---|
132 | </td><td class="memItemRight" valign="bottom"><b>bdm::SHAREDPTR</b> (RV)</td></tr> |
---|
133 | |
---|
134 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b9016687c0e874ca5cdcf75ae28811aa"></a><!-- doxytag: member="bdmbase.h::concat" ref="b9016687c0e874ca5cdcf75ae28811aa" args="(const RV &rv1, const RV &rv2)" --> |
---|
135 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebdm.html#b9016687c0e874ca5cdcf75ae28811aa">bdm::concat</a> (const RV &rv1, const RV &rv2)</td></tr> |
---|
136 | |
---|
137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concat two random variables. <br></td></tr> |
---|
138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="45117e20bd2a81a8012fc08c058ea1e0"></a><!-- doxytag: member="bdmbase.h::SHAREDPTR" ref="45117e20bd2a81a8012fc08c058ea1e0" args="(epdf)" --> |
---|
139 | </td><td class="memItemRight" valign="bottom"><b>bdm::SHAREDPTR</b> (epdf)</td></tr> |
---|
140 | |
---|
141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f1f29914bc835ac8db11569ffed9fdc8"></a><!-- doxytag: member="bdmbase.h::SHAREDPTR" ref="f1f29914bc835ac8db11569ffed9fdc8" args="(mpdf)" --> |
---|
142 | </td><td class="memItemRight" valign="bottom"><b>bdm::SHAREDPTR</b> (mpdf)</td></tr> |
---|
143 | |
---|
144 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="314816a279d0b5d87d4065c7a715a943"></a><!-- doxytag: member="bdmbase.h::UIREGISTER" ref="314816a279d0b5d87d4065c7a715a943" args="(mepdf)" --> |
---|
145 | </td><td class="memItemRight" valign="bottom"><b>bdm::UIREGISTER</b> (mepdf)</td></tr> |
---|
146 | |
---|
147 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ebfc44c2618694a05a0ac1c5c44e08d5"></a><!-- doxytag: member="bdmbase.h::SHAREDPTR" ref="ebfc44c2618694a05a0ac1c5c44e08d5" args="(mepdf)" --> |
---|
148 | </td><td class="memItemRight" valign="bottom"><b>bdm::SHAREDPTR</b> (mepdf)</td></tr> |
---|
149 | |
---|
150 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="285a66f3c6e33b29f5d983623cc3381f"></a><!-- doxytag: member="bdmbase.h::get_composite_rv" ref="285a66f3c6e33b29f5d983623cc3381f" args="(const Array< shared_ptr< mpdf > > &mpdfs, bool checkoverlap=false)" --> |
---|
151 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebdm.html#285a66f3c6e33b29f5d983623cc3381f">bdm::get_composite_rv</a> (const Array< shared_ptr< mpdf > > &mpdfs, bool checkoverlap=false)</td></tr> |
---|
152 | |
---|
153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Combines RVs from a list of mpdfs to a single one. <br></td></tr> |
---|
154 | <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
---|
155 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="58a0ee51fd426e38101eb99e7c42a65e"></a><!-- doxytag: member="bdmbase.h::RV_SIZES" ref="58a0ee51fd426e38101eb99e7c42a65e" args="" --> |
---|
156 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebdm.html#58a0ee51fd426e38101eb99e7c42a65e">bdm::RV_SIZES</a></td></tr> |
---|
157 | |
---|
158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal global variable storing sizes of RVs. <br></td></tr> |
---|
159 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81ac40e336bdac971cd2e60fe2fb2deb"></a><!-- doxytag: member="bdmbase.h::RV_NAMES" ref="81ac40e336bdac971cd2e60fe2fb2deb" args="" --> |
---|
160 | Array< string > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacebdm.html#81ac40e336bdac971cd2e60fe2fb2deb">bdm::RV_NAMES</a></td></tr> |
---|
161 | |
---|
162 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal global variable storing names of RVs. <br></td></tr> |
---|
163 | </table> |
---|
164 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
165 | Basic structures of probability calculus: random variables, probability densities, Bayes rule. |
---|
166 | <p> |
---|
167 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Vaclav Smidl.</dd></dl> |
---|
168 | ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> |
---|
169 | Using IT++ for numerical operations ----------------------------------- </div> |
---|
170 | <hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:18 2009 for mixpp by |
---|
171 | <a href="http://www.doxygen.org/index.html"> |
---|
172 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
173 | </body> |
---|
174 | </html> |
---|