| 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="modules.html"><span>Modules</span></a></li> | 
|---|
| 55 |       <li><a href="annotated.html"><span>Classes</span></a></li> | 
|---|
| 56 |       <li class="current"><a href="files.html"><span>Files</span></a></li> | 
|---|
| 57 |     </ul> | 
|---|
| 58 |   </div> | 
|---|
| 59 |   <div class="tabs"> | 
|---|
| 60 |     <ul> | 
|---|
| 61 |       <li><a href="files.html"><span>File List</span></a></li> | 
|---|
| 62 |       <li><a href="globals.html"><span>File Members</span></a></li> | 
|---|
| 63 |     </ul> | 
|---|
| 64 |   </div> | 
|---|
| 65 | </div> | 
|---|
| 66 | <div class="contents"> | 
|---|
| 67 | <h1>bdmbase.h File Reference</h1>Bayesian Models (bm) that use Bayes rule to learn from observations.   | 
|---|
| 68 | <a href="#_details">More...</a> | 
|---|
| 69 | <p> | 
|---|
| 70 | <code>#include <map></code><br> | 
|---|
| 71 | <code>#include "../itpp_ext.h"</code><br> | 
|---|
| 72 | <code>#include "<a class="el" href="bdmroot_8h-source.html">../bdmroot.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> (used internally), i.e. expanded RVs - TODO tak proc je ve verejnem prostoru jmen? upravit.  <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 some dependencies.  <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_1datalink.html">bdm::datalink</a></td></tr> | 
|---|
| 95 |  | 
|---|
| 96 | <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> | 
|---|
| 97 | <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> | 
|---|
| 98 |  | 
|---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">data link between  <a href="classbdm_1_1datalink__m2e.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__m2m.html">bdm::datalink_m2m</a></td></tr> | 
|---|
| 101 |  | 
|---|
| 102 | <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> | 
|---|
| 103 |  | 
|---|
| 104 | <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> | 
|---|
| 105 | <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> | 
|---|
| 106 |  | 
|---|
| 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 some dependencies.">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 some dependencies.">mpdf</a>.  <a href="classbdm_1_1mepdf.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_1compositepdf.html">bdm::compositepdf</a></td></tr> | 
|---|
| 109 |  | 
|---|
| 110 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Chain rule of pdfs - abstract part common for <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a> and merger. this abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>.  <a href="classbdm_1_1compositepdf.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 colspan="2"><br><h2>Functions</h2></td></tr> | 
|---|
| 122 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a5785a480905a61870c3d56cc2c9846"></a><!-- doxytag: member="bdmbase.h::UIREGISTER" ref="5a5785a480905a61870c3d56cc2c9846" args="(RV)" --> | 
|---|
| 123 |  </td><td class="memItemRight" valign="bottom"><b>bdm::UIREGISTER</b> (RV)</td></tr> | 
|---|
| 124 |  | 
|---|
| 125 | <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)" --> | 
|---|
| 126 | 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> | 
|---|
| 127 |  | 
|---|
| 128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Concat two random variables. <br></td></tr> | 
|---|
| 129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="314816a279d0b5d87d4065c7a715a943"></a><!-- doxytag: member="bdmbase.h::UIREGISTER" ref="314816a279d0b5d87d4065c7a715a943" args="(mepdf)" --> | 
|---|
| 130 |  </td><td class="memItemRight" valign="bottom"><b>bdm::UIREGISTER</b> (mepdf)</td></tr> | 
|---|
| 131 |  | 
|---|
| 132 | <tr><td colspan="2"><br><h2>Variables</h2></td></tr> | 
|---|
| 133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="58a0ee51fd426e38101eb99e7c42a65e"></a><!-- doxytag: member="bdmbase.h::RV_SIZES" ref="58a0ee51fd426e38101eb99e7c42a65e" args="" --> | 
|---|
| 134 | ivec </td><td class="memItemRight" valign="bottom"><b>bdm::RV_SIZES</b></td></tr> | 
|---|
| 135 |  | 
|---|
| 136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81ac40e336bdac971cd2e60fe2fb2deb"></a><!-- doxytag: member="bdmbase.h::RV_NAMES" ref="81ac40e336bdac971cd2e60fe2fb2deb" args="" --> | 
|---|
| 137 | Array< string > </td><td class="memItemRight" valign="bottom"><b>bdm::RV_NAMES</b></td></tr> | 
|---|
| 138 |  | 
|---|
| 139 | </table> | 
|---|
| 140 | <hr><a name="_details"></a><h2>Detailed Description</h2> | 
|---|
| 141 | Bayesian Models (bm) that use Bayes rule to learn from observations.  | 
|---|
| 142 | <p> | 
|---|
| 143 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Vaclav Smidl.</dd></dl> | 
|---|
| 144 | ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> | 
|---|
| 145 | Using IT++ for numerical operations ----------------------------------- </div> | 
|---|
| 146 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 1 13:05:56 2009 for mixpp by  | 
|---|
| 147 | <a href="http://www.doxygen.org/index.html"> | 
|---|
| 148 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> | 
|---|
| 149 | </body> | 
|---|
| 150 | </html> | 
|---|