[259] | 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: bdm::merger 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.6 --> |
---|
| 8 | <div class="navigation" id="top"> |
---|
| 9 | <div class="tabs"> |
---|
| 10 | <ul> |
---|
| 11 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
| 12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
| 13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
| 14 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 15 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 16 | </ul> |
---|
| 17 | </div> |
---|
| 18 | <div class="tabs"> |
---|
| 19 | <ul> |
---|
| 20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 23 | </ul> |
---|
| 24 | </div> |
---|
| 25 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1merger.html">merger</a> |
---|
| 26 | </div> |
---|
| 27 | </div> |
---|
| 28 | <div class="contents"> |
---|
| 29 | <h1>bdm::merger Class Reference</h1><!-- doxytag: class="bdm::merger" --><!-- doxytag: inherits="bdm::compositepdf,bdm::epdf" -->Function for general combination of pdfs. |
---|
| 30 | <a href="#_details">More...</a> |
---|
| 31 | <p> |
---|
| 32 | <code>#include <<a class="el" href="merger_8h-source.html">merger.h</a>></code> |
---|
| 33 | <p> |
---|
| 34 | <div class="dynheader"> |
---|
| 35 | Inheritance diagram for bdm::merger:</div> |
---|
| 36 | <div class="dynsection"> |
---|
| 37 | <p><center><img src="classbdm_1_1merger__inherit__graph.png" border="0" usemap="#bdm_1_1merger__inherit__map" alt="Inheritance graph"></center> |
---|
| 38 | <map name="bdm_1_1merger__inherit__map"> |
---|
| 39 | <area shape="rect" href="classbdm_1_1compositepdf.html" title="Abstract composition of pdfs, a base for specific classes this abstract class is..." alt="" coords="5,84,149,111"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="173,84,259,111"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="172,7,260,33"></map> |
---|
| 40 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 41 | <div class="dynheader"> |
---|
| 42 | Collaboration diagram for bdm::merger:</div> |
---|
| 43 | <div class="dynsection"> |
---|
| 44 | <p><center><img src="classbdm_1_1merger__coll__graph.png" border="0" usemap="#bdm_1_1merger__coll__map" alt="Collaboration graph"></center> |
---|
| 45 | <map name="bdm_1_1merger__coll__map"> |
---|
| 46 | <area shape="rect" href="classbdm_1_1compositepdf.html" title="Abstract composition of pdfs, a base for specific classes this abstract class is..." alt="" coords="5,599,149,625"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="291,183,376,209"><area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="373,289,453,316"><area shape="rect" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="285,343,381,369"><area shape="rect" href="classbdm_1_1eEmp.html" title="Weighted empirical density." alt="" coords="207,449,303,476"><area shape="rect" href="classbdm_1_1base.html" title="Root class of BDM objects." alt="" coords="316,7,404,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="371,87,445,113"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="443,236,520,263"><area shape="rect" href="classbdm_1_1MixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="323,599,416,625"><area shape="rect" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family." alt="" coords="496,396,589,423"><area shape="rect" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density." alt="" coords="371,503,480,529"><area shape="rect" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density." alt="" coords="371,396,472,423"></map> |
---|
| 47 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
| 48 | |
---|
| 49 | <p> |
---|
| 50 | <a href="classbdm_1_1merger-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 51 | <tr><td></td></tr> |
---|
| 52 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 53 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30ae0fa8a88737185f598bf63fec0569"></a><!-- doxytag: member="bdm::merger::merger" ref="30ae0fa8a88737185f598bf63fec0569" args="(const Array< mpdf * > &S)" --> |
---|
| 54 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#30ae0fa8a88737185f598bf63fec0569">merger</a> (const Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > &S)</td></tr> |
---|
| 55 | |
---|
| 56 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
| 57 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc867c8e2b4709041bf8802ae9c78e37"></a><!-- doxytag: member="bdm::merger::set_parameters" ref="bc867c8e2b4709041bf8802ae9c78e37" args="(double beta0, int Ns0, int Nc0)" --> |
---|
| 58 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#bc867c8e2b4709041bf8802ae9c78e37">set_parameters</a> (double beta0, int Ns0, int Nc0)</td></tr> |
---|
| 59 | |
---|
| 60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set internal parameters used in approximation. <br></td></tr> |
---|
| 61 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ae79a651e93d6e2d611556001af8aa8"></a><!-- doxytag: member="bdm::merger::init" ref="8ae79a651e93d6e2d611556001af8aa8" args="()" --> |
---|
| 62 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#8ae79a651e93d6e2d611556001af8aa8">init</a> ()</td></tr> |
---|
| 63 | |
---|
| 64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the proposal density. This function must be called before <a class="el" href="classbdm_1_1merger.html#b72f4662c9ac760a8b17ebe5d697f3c2" title="Create a mixture density, make sure to call init() before the first call.">merge()</a>! <br></td></tr> |
---|
| 65 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d9f0ba04c8e74be8246d840cc537879"></a><!-- doxytag: member="bdm::merger::merge" ref="3d9f0ba04c8e74be8246d840cc537879" args="(const epdf *g0)" --> |
---|
| 66 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#3d9f0ba04c8e74be8246d840cc537879">merge</a> (const <a class="el" href="classbdm_1_1epdf.html">epdf</a> *g0)</td></tr> |
---|
| 67 | |
---|
| 68 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a mixture density using known proposal. <br></td></tr> |
---|
| 69 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b72f4662c9ac760a8b17ebe5d697f3c2"></a><!-- doxytag: member="bdm::merger::merge" ref="b72f4662c9ac760a8b17ebe5d697f3c2" args="()" --> |
---|
| 70 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#b72f4662c9ac760a8b17ebe5d697f3c2">merge</a> ()</td></tr> |
---|
| 71 | |
---|
| 72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a mixture density, make sure to call <a class="el" href="classbdm_1_1merger.html#8ae79a651e93d6e2d611556001af8aa8" title="Initialize the proposal density. This function must be called before merge()!">init()</a> before the first call. <br></td></tr> |
---|
| 73 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b90f1b8a21a693176dd953a3b983aa0b"></a><!-- doxytag: member="bdm::merger::lognorm_merge" ref="b90f1b8a21a693176dd953a3b983aa0b" args="(mat &lW)" --> |
---|
| 74 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#b90f1b8a21a693176dd953a3b983aa0b">lognorm_merge</a> (mat &lW)</td></tr> |
---|
| 75 | |
---|
| 76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Merge log-likelihood values. <br></td></tr> |
---|
| 77 | <tr><td class="memItemLeft" nowrap align="right" valign="top">vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#0ef73e76eeee44c8e3896e3a271ad974">sample</a> () const </td></tr> |
---|
| 78 | |
---|
| 79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c47543661897638cab9f506c76a1f92f"></a><!-- doxytag: member="bdm::merger::evallog" ref="c47543661897638cab9f506c76a1f92f" args="(const vec &dt) const " --> |
---|
| 80 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#c47543661897638cab9f506c76a1f92f">evallog</a> (const vec &dt) const </td></tr> |
---|
| 81 | |
---|
| 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of argument <code>val</code>. <br></td></tr> |
---|
| 83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82c5ad7677315fde8e9fc9381c17ece5"></a><!-- doxytag: member="bdm::merger::mean" ref="82c5ad7677315fde8e9fc9381c17ece5" args="() const " --> |
---|
| 84 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#82c5ad7677315fde8e9fc9381c17ece5">mean</a> () const </td></tr> |
---|
| 85 | |
---|
| 86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected value <br></td></tr> |
---|
| 87 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="88e75fe2b9d7c1247b20ea7760c061f1"></a><!-- doxytag: member="bdm::merger::covariance" ref="88e75fe2b9d7c1247b20ea7760c061f1" args="() const " --> |
---|
| 88 | mat </td><td class="memItemRight" valign="bottom"><b>covariance</b> () const </td></tr> |
---|
| 89 | |
---|
| 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcef70ece256b1ab1fa7a3a354eb1cc4"></a><!-- doxytag: member="bdm::merger::variance" ref="bcef70ece256b1ab1fa7a3a354eb1cc4" args="() const " --> |
---|
| 91 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#bcef70ece256b1ab1fa7a3a354eb1cc4">variance</a> () const </td></tr> |
---|
| 92 | |
---|
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr> |
---|
| 94 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="febef179bb5e074ae6e34d15b4596273"></a><!-- doxytag: member="bdm::merger::~merger" ref="febef179bb5e074ae6e34d15b4596273" args="()" --> |
---|
| 95 | virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#febef179bb5e074ae6e34d15b4596273">~merger</a> ()</td></tr> |
---|
| 96 | |
---|
| 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">for future use <br></td></tr> |
---|
| 98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13f8534f626a37bed91a6d9db54d6d2f"></a><!-- doxytag: member="bdm::merger::_Mix" ref="13f8534f626a37bed91a6d9db54d6d2f" args="()" --> |
---|
| 99 | <a class="el" href="classbdm_1_1MixEF.html">MixEF</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#13f8534f626a37bed91a6d9db54d6d2f">_Mix</a> ()</td></tr> |
---|
| 100 | |
---|
| 101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access function. <br></td></tr> |
---|
| 102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23f5f8b80df579b05681006fbcfe3699"></a><!-- doxytag: member="bdm::merger::_Smp" ref="23f5f8b80df579b05681006fbcfe3699" args="()" --> |
---|
| 103 | <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#23f5f8b80df579b05681006fbcfe3699">_Smp</a> ()</td></tr> |
---|
| 104 | |
---|
| 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access function. <br></td></tr> |
---|
| 106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9">getrv</a> (bool checkoverlap=false)</td></tr> |
---|
| 107 | |
---|
| 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">find common rv, flag <a href="#c73d39acc4378eee6a63155c3517d3c9"></a><br></td></tr> |
---|
| 109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c71fc2c51f49d797e61f479f543c75ce"></a><!-- doxytag: member="bdm::merger::setrvc" ref="c71fc2c51f49d797e61f479f543c75ce" args="(const RV &rv, RV &rvc)" --> |
---|
| 110 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce">setrvc</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>, <a class="el" href="classbdm_1_1RV.html">RV</a> &rvc)</td></tr> |
---|
| 111 | |
---|
| 112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">common rvc of all mpdfs is written to rvc <br></td></tr> |
---|
| 113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::merger::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> |
---|
| 114 | virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> |
---|
| 115 | |
---|
| 116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns N samples from density <img class="formulaInl" alt="$epdf(rv)$" src="form_59.png">. <br></td></tr> |
---|
| 117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34956d4dd3176eeb5937cf48a1546b62"></a><!-- doxytag: member="bdm::merger::evallog_m" ref="34956d4dd3176eeb5937cf48a1546b62" args="(const mat &Val) const " --> |
---|
| 118 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#34956d4dd3176eeb5937cf48a1546b62">evallog_m</a> (const mat &Val) const </td></tr> |
---|
| 119 | |
---|
| 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute log-probability of multiple values argument <code>val</code>. <br></td></tr> |
---|
| 121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e584eac5579c1b6384947ecf66166c77"></a><!-- doxytag: member="bdm::merger::condition" ref="e584eac5579c1b6384947ecf66166c77" args="(const RV &rv) const " --> |
---|
| 122 | virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#e584eac5579c1b6384947ecf66166c77">condition</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> |
---|
| 123 | |
---|
| 124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return conditional density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remaining rvs will be in conditioning. <br></td></tr> |
---|
| 125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3fb2ece54f720b62ad325e61214fa0a1"></a><!-- doxytag: member="bdm::merger::marginal" ref="3fb2ece54f720b62ad325e61214fa0a1" args="(const RV &rv) const " --> |
---|
| 126 | virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#3fb2ece54f720b62ad325e61214fa0a1">marginal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> |
---|
| 127 | |
---|
| 128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Return marginal density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remainig rvs are intergrated out. <br></td></tr> |
---|
| 129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::merger::_rv" ref="a4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> |
---|
| 130 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr> |
---|
| 131 | |
---|
| 132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function, possibly dangerous! <br></td></tr> |
---|
| 133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62e88cbce0ce77a8692f5e15d76e805f"></a><!-- doxytag: member="bdm::merger::_renewrv" ref="62e88cbce0ce77a8692f5e15d76e805f" args="(const RV &in_rv)" --> |
---|
| 134 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62e88cbce0ce77a8692f5e15d76e805f">_renewrv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &in_rv)</td></tr> |
---|
| 135 | |
---|
| 136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">modifier function - useful when copying epdfs <br></td></tr> |
---|
| 137 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
| 138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67ae71cbf0686d7c7bf116fa5db86d81"></a><!-- doxytag: member="bdm::merger::Mix" ref="67ae71cbf0686d7c7bf116fa5db86d81" args="" --> |
---|
| 139 | <a class="el" href="classbdm_1_1MixEF.html">MixEF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81">Mix</a></td></tr> |
---|
| 140 | |
---|
| 141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal mixture of EF models. <br></td></tr> |
---|
| 142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ea3c9f4739f857877fd5285b3973289c"></a><!-- doxytag: member="bdm::merger::dls" ref="ea3c9f4739f857877fd5285b3973289c" args="" --> |
---|
| 143 | Array< <a class="el" href="classbdm_1_1datalink__m2e.html">datalink_m2e</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#ea3c9f4739f857877fd5285b3973289c">dls</a></td></tr> |
---|
| 144 | |
---|
| 145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Data link for each <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> in mpdfs. <br></td></tr> |
---|
| 146 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="135b938f841cb88ad00a8bbded818703"></a><!-- doxytag: member="bdm::merger::rvzs" ref="135b938f841cb88ad00a8bbded818703" args="" --> |
---|
| 147 | Array< <a class="el" href="classbdm_1_1RV.html">RV</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#135b938f841cb88ad00a8bbded818703">rvzs</a></td></tr> |
---|
| 148 | |
---|
| 149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Array of rvs that are not modelled by mpdfs at all (aux). <br></td></tr> |
---|
| 150 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6c48bf36ec1f3f7b52e3159cf428a193"></a><!-- doxytag: member="bdm::merger::zdls" ref="6c48bf36ec1f3f7b52e3159cf428a193" args="" --> |
---|
| 151 | Array< <a class="el" href="classbdm_1_1datalink__m2e.html">datalink_m2e</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#6c48bf36ec1f3f7b52e3159cf428a193">zdls</a></td></tr> |
---|
| 152 | |
---|
| 153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Data Links of rv0 mpdfs - these will be conditioned the (rv,rvc) of mpdfs. <br></td></tr> |
---|
| 154 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e91b83e6d9076848c71ae27664072109"></a><!-- doxytag: member="bdm::merger::Ns" ref="e91b83e6d9076848c71ae27664072109" args="" --> |
---|
| 155 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109">Ns</a></td></tr> |
---|
| 156 | |
---|
| 157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of samples used in approximation. <br></td></tr> |
---|
| 158 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="214ca7c566e8f75d45bb243d7c74580d"></a><!-- doxytag: member="bdm::merger::Nc" ref="214ca7c566e8f75d45bb243d7c74580d" args="" --> |
---|
| 159 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#214ca7c566e8f75d45bb243d7c74580d">Nc</a></td></tr> |
---|
| 160 | |
---|
| 161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of components in a mixture. <br></td></tr> |
---|
| 162 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1a85d299f202a70afe0cdc1045c26a5d"></a><!-- doxytag: member="bdm::merger::beta" ref="1a85d299f202a70afe0cdc1045c26a5d" args="" --> |
---|
| 163 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#1a85d299f202a70afe0cdc1045c26a5d">beta</a></td></tr> |
---|
| 164 | |
---|
| 165 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Prior on the log-normal merging model. <br></td></tr> |
---|
| 166 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="522d43f7aa13fe6701e93fba174dec94"></a><!-- doxytag: member="bdm::merger::eSmp" ref="522d43f7aa13fe6701e93fba174dec94" args="" --> |
---|
| 167 | <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94">eSmp</a></td></tr> |
---|
| 168 | |
---|
| 169 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Projection to empirical density. <br></td></tr> |
---|
| 170 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ca3cd8ed92a7154f5b9ff13b1e9d52a"></a><!-- doxytag: member="bdm::merger::n" ref="7ca3cd8ed92a7154f5b9ff13b1e9d52a" args="" --> |
---|
| 171 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">n</a></td></tr> |
---|
| 172 | |
---|
| 173 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of mpdfs in the composite. <br></td></tr> |
---|
| 174 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23faf2debc4dde10836393b8c665914a"></a><!-- doxytag: member="bdm::merger::mpdfs" ref="23faf2debc4dde10836393b8c665914a" args="" --> |
---|
| 175 | Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a">mpdfs</a></td></tr> |
---|
| 176 | |
---|
| 177 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Elements of composition. <br></td></tr> |
---|
| 178 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::merger::rv" ref="62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> |
---|
| 179 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr> |
---|
| 180 | |
---|
| 181 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Identified of the random variable. <br></td></tr> |
---|
| 182 | </table> |
---|
| 183 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 184 | Function for general combination of pdfs. |
---|
| 185 | <p> |
---|
| 186 | Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial. <hr><h2>Member Function Documentation</h2> |
---|
| 187 | <a class="anchor" name="0ef73e76eeee44c8e3896e3a271ad974"></a><!-- doxytag: member="bdm::merger::sample" ref="0ef73e76eeee44c8e3896e3a271ad974" args="() const " --> |
---|
| 188 | <div class="memitem"> |
---|
| 189 | <div class="memproto"> |
---|
| 190 | <table class="memname"> |
---|
| 191 | <tr> |
---|
| 192 | <td class="memname">vec bdm::merger::sample </td> |
---|
| 193 | <td>(</td> |
---|
| 194 | <td class="paramname"> </td> |
---|
| 195 | <td> ) </td> |
---|
| 196 | <td> const<code> [inline, virtual]</code></td> |
---|
| 197 | </tr> |
---|
| 198 | </table> |
---|
| 199 | </div> |
---|
| 200 | <div class="memdoc"> |
---|
| 201 | |
---|
| 202 | <p> |
---|
| 203 | sample from merged density weight w is a |
---|
| 204 | <p>Implements <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf</a>.</p> |
---|
| 205 | |
---|
| 206 | <p>References <a class="el" href="mixef_8h-source.html#l00106">bdm::MixEF::_epdf()</a>, <a class="el" href="merger_8h-source.html#l00031">Mix</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> |
---|
| 207 | |
---|
| 208 | </div> |
---|
| 209 | </div><p> |
---|
| 210 | <a class="anchor" name="c73d39acc4378eee6a63155c3517d3c9"></a><!-- doxytag: member="bdm::merger::getrv" ref="c73d39acc4378eee6a63155c3517d3c9" args="(bool checkoverlap=false)" --> |
---|
| 211 | <div class="memitem"> |
---|
| 212 | <div class="memproto"> |
---|
| 213 | <table class="memname"> |
---|
| 214 | <tr> |
---|
| 215 | <td class="memname"><a class="el" href="classbdm_1_1RV.html">RV</a> bdm::compositepdf::getrv </td> |
---|
| 216 | <td>(</td> |
---|
| 217 | <td class="paramtype">bool </td> |
---|
| 218 | <td class="paramname"> <em>checkoverlap</em> = <code>false</code> </td> |
---|
| 219 | <td> ) </td> |
---|
| 220 | <td><code> [inherited]</code></td> |
---|
| 221 | </tr> |
---|
| 222 | </table> |
---|
| 223 | </div> |
---|
| 224 | <div class="memdoc"> |
---|
| 225 | |
---|
| 226 | <p> |
---|
| 227 | find common rv, flag |
---|
| 228 | <p> |
---|
| 229 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 230 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 231 | <tr><td valign="top"></td><td valign="top"><em>checkoverlap</em> </td><td>modifies whether overlaps are acceptable </td></tr> |
---|
| 232 | </table> |
---|
| 233 | </dl> |
---|
| 234 | |
---|
| 235 | <p>References <a class="el" href="libBM_8cpp-source.html#l00053">bdm::RV::add()</a>, <a class="el" href="libBM_8h-source.html#l00367">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00365">bdm::compositepdf::n</a>.</p> |
---|
| 236 | |
---|
| 237 | </div> |
---|
| 238 | </div><p> |
---|
| 239 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
| 240 | <li>work/git/mixpp/bdm/estim/<a class="el" href="merger_8h-source.html">merger.h</a><li>work/git/mixpp/bdm/estim/merger.cpp</ul> |
---|
| 241 | </div> |
---|
| 242 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 27 16:31:01 2009 for mixpp by |
---|
| 243 | <a href="http://www.doxygen.org/index.html"> |
---|
| 244 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
| 245 | </body> |
---|
| 246 | </html> |
---|