[33] | 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"> |
---|
[323] | 3 | <title>mixpp: pmsmCRB Class Reference</title> |
---|
[33] | 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
[290] | 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
[33] | 6 | </head><body> |
---|
[290] | 7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
[280] | 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> |
---|
[91] | 49 | <div class="navigation" id="top"> |
---|
| 50 | <div class="tabs"> |
---|
| 51 | <ul> |
---|
[280] | 52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
[91] | 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[219] | 54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
[290] | 55 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
[91] | 56 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 57 | </ul> |
---|
| 58 | </div> |
---|
| 59 | <div class="tabs"> |
---|
| 60 | <ul> |
---|
| 61 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
[290] | 62 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
[91] | 63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 64 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 65 | </ul> |
---|
| 66 | </div> |
---|
[33] | 67 | </div> |
---|
[91] | 68 | <div class="contents"> |
---|
[353] | 69 | <h1>pmsmCRB Class Reference</h1><!-- doxytag: class="pmsmCRB" --><!-- doxytag: inherits="bdm::EKFfull" -->This class behaves like BM but it is evaluating EKF. |
---|
[290] | 70 | <a href="#_details">More...</a> |
---|
| 71 | <p> |
---|
[323] | 72 | <code>#include <<a class="el" href="pmsmDS_8h-source.html">pmsmDS.h</a>></code> |
---|
| 73 | <p> |
---|
[33] | 74 | |
---|
| 75 | <p> |
---|
[323] | 76 | <a href="classpmsmCRB-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
[33] | 77 | <tr><td></td></tr> |
---|
| 78 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
[323] | 79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81c85cc94deabb48f8fdd0a22e34aa14"></a><!-- doxytag: member="pmsmCRB::pmsmCRB" ref="81c85cc94deabb48f8fdd0a22e34aa14" args="()" --> |
---|
| 80 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmCRB.html#81c85cc94deabb48f8fdd0a22e34aa14">pmsmCRB</a> ()</td></tr> |
---|
[33] | 81 | |
---|
[323] | 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">constructor <br></td></tr> |
---|
| 83 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13749c201329922511369cdbe2f0f50a"></a><!-- doxytag: member="pmsmCRB::bayes" ref="13749c201329922511369cdbe2f0f50a" args="(const vec &dt)" --> |
---|
| 84 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmCRB.html#13749c201329922511369cdbe2f0f50a">bayes</a> (const vec &dt)</td></tr> |
---|
[79] | 85 | |
---|
[323] | 86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Here dt = [yt;ut] of appropriate dimensions. <br></td></tr> |
---|
| 87 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b50294749e1be33687e852ea186815ad"></a><!-- doxytag: member="pmsmCRB::log_add" ref="b50294749e1be33687e852ea186815ad" args="(logger &L, const string &name="")" --> |
---|
| 88 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmCRB.html#b50294749e1be33687e852ea186815ad">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L, const string &name="")</td></tr> |
---|
[79] | 89 | |
---|
[323] | 90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add all logged variables to a logger. <br></td></tr> |
---|
| 91 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65b44068b6a0a8871820dc34e7806cf3"></a><!-- doxytag: member="pmsmCRB::logit" ref="65b44068b6a0a8871820dc34e7806cf3" args="(logger &L)" --> |
---|
| 92 | void </td><td class="memItemRight" valign="bottom"><b>logit</b> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
---|
[79] | 93 | |
---|
[353] | 94 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78748da361ba61fef162b0d8956d1743"></a><!-- doxytag: member="pmsmCRB::set_parameters" ref="78748da361ba61fef162b0d8956d1743" args="(diffbifn *pfxu, diffbifn *phxu, const mat Q0, const mat R0)" --> |
---|
| 95 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#78748da361ba61fef162b0d8956d1743">set_parameters</a> (diffbifn *<a class="el" href="classbdm_1_1EKFfull.html#016d3ec108a430b1e70cf7d78bb963f4">pfxu</a>, diffbifn *<a class="el" href="classbdm_1_1EKFfull.html#f7cdf9cf74284630b4578a2cb8ba92c7">phxu</a>, const mat Q0, const mat R0)</td></tr> |
---|
[287] | 96 | |
---|
[33] | 97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set nonlinear functions for mean values and covariance matrices. <br></td></tr> |
---|
[353] | 98 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1949a9b1496a855cc7c24e619bc52365"></a><!-- doxytag: member="pmsmCRB::set_statistics" ref="1949a9b1496a855cc7c24e619bc52365" args="(vec mu0, mat P0)" --> |
---|
| 99 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#1949a9b1496a855cc7c24e619bc52365">set_statistics</a> (vec mu0, mat P0)</td></tr> |
---|
[33] | 100 | |
---|
[353] | 101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set estimates <br></td></tr> |
---|
| 102 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7e9a69f36a0a0615c9abb806772ef36d"></a><!-- doxytag: member="pmsmCRB::posterior" ref="7e9a69f36a0a0615c9abb806772ef36d" args="() const " --> |
---|
| 103 | const epdf & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#7e9a69f36a0a0615c9abb806772ef36d">posterior</a> () const </td></tr> |
---|
[33] | 104 | |
---|
[353] | 105 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dummy! <br></td></tr> |
---|
| 106 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d0e427d4d2fb7ac20358ce629f5d510"></a><!-- doxytag: member="pmsmCRB::_e" ref="3d0e427d4d2fb7ac20358ce629f5d510" args="() const " --> |
---|
| 107 | const enorm< <a class="el" href="classfsqmat.html">fsqmat</a> > * </td><td class="memItemRight" valign="bottom"><b>_e</b> () const </td></tr> |
---|
[280] | 108 | |
---|
[353] | 109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4f57cb8af64b06c530f528c32596d4d"></a><!-- doxytag: member="pmsmCRB::_R" ref="d4f57cb8af64b06c530f528c32596d4d" args="()" --> |
---|
| 110 | const mat </td><td class="memItemRight" valign="bottom"><b>_R</b> ()</td></tr> |
---|
[33] | 111 | |
---|
[353] | 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d95e9de79ca1d52b06f1b8f80660f09"></a><!-- doxytag: member="pmsmCRB::ToString" ref="3d95e9de79ca1d52b06f1b8f80660f09" args="()" --> |
---|
| 113 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#3d95e9de79ca1d52b06f1b8f80660f09">ToString</a> ()</td></tr> |
---|
[210] | 114 | |
---|
[353] | 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
---|
| 116 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4602efd3ad9fb9e4532426e4f488df8"></a><!-- doxytag: member="pmsmCRB::from_setting" ref="d4602efd3ad9fb9e4532426e4f488df8" args="(const Setting &root)" --> |
---|
| 117 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">from_setting</a> (const Setting &root)</td></tr> |
---|
[79] | 118 | |
---|
[353] | 119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> |
---|
| 120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a80210bbe266bf26f100f342460a313f"></a><!-- doxytag: member="pmsmCRB::to_setting" ref="a80210bbe266bf26f100f342460a313f" args="(Setting &root)" --> |
---|
| 121 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#a80210bbe266bf26f100f342460a313f">to_setting</a> (Setting &root)</td></tr> |
---|
[79] | 122 | |
---|
[353] | 123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
---|
| 124 | <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> |
---|
| 125 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual BM * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#40f01563651c1e4fe926189e41a6b8ab">_copy_</a> () const </td></tr> |
---|
| 126 | |
---|
[280] | 127 | <tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> |
---|
[323] | 128 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="pmsmCRB::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &Dt)" --> |
---|
[255] | 129 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &Dt)</td></tr> |
---|
[171] | 130 | |
---|
| 131 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
---|
[255] | 132 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">logpred</a> (const vec &dt) const </td></tr> |
---|
[171] | 133 | |
---|
[323] | 134 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="pmsmCRB::logpred_m" ref="0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &dt) const " --> |
---|
[255] | 135 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#0e8ebe61fb14990abe1254bd3dda5fae">logpred_m</a> (const mat &dt) const </td></tr> |
---|
[180] | 136 | |
---|
| 137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> |
---|
[323] | 138 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="pmsmCRB::epredictor" ref="688d7a2aced1e06aa1c468d73a9e5eba" args="() const " --> |
---|
[280] | 139 | virtual epdf * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba">epredictor</a> () const </td></tr> |
---|
[180] | 140 | |
---|
[323] | 141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density <img class="formulaInl" alt="$ f(d_{t+1} |d_{t}, \ldots d_{0}) $" src="form_53.png">. <br></td></tr> |
---|
| 142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="pmsmCRB::predictor" ref="598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> |
---|
[280] | 143 | virtual mpdf * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> |
---|
[33] | 144 | |
---|
[280] | 145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor. <br></td></tr> |
---|
| 146 | <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> |
---|
[323] | 147 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="pmsmCRB::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> |
---|
[280] | 148 | const RV & </td><td class="memItemRight" valign="bottom"><b>_drv</b> () const </td></tr> |
---|
| 149 | |
---|
[323] | 150 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="pmsmCRB::set_drv" ref="f135ae6dce7e9f30c9f88229c7930b96" args="(const RV &rv)" --> |
---|
[280] | 151 | void </td><td class="memItemRight" valign="bottom"><b>set_drv</b> (const RV &rv)</td></tr> |
---|
| 152 | |
---|
[323] | 153 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b38d92f17620813ad872d86e01a26e5e"></a><!-- doxytag: member="pmsmCRB::set_rv" ref="b38d92f17620813ad872d86e01a26e5e" args="(const RV &rv)" --> |
---|
[280] | 154 | void </td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const RV &rv)</td></tr> |
---|
| 155 | |
---|
[323] | 156 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="pmsmCRB::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " --> |
---|
[280] | 157 | double </td><td class="memItemRight" valign="bottom"><b>_ll</b> () const </td></tr> |
---|
[33] | 158 | |
---|
[323] | 159 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="pmsmCRB::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> |
---|
[280] | 160 | void </td><td class="memItemRight" valign="bottom"><b>set_evalll</b> (bool evl0)</td></tr> |
---|
[171] | 161 | |
---|
[353] | 162 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
| 163 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2defb75e58892615c5f95fd844f3a666"></a><!-- doxytag: member="pmsmCRB::mu" ref="2defb75e58892615c5f95fd844f3a666" args="" --> |
---|
| 164 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanFull.html#2defb75e58892615c5f95fd844f3a666">mu</a></td></tr> |
---|
| 165 | |
---|
| 166 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Mean value of the posterior density. <br></td></tr> |
---|
| 167 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="acacd228e100c3e937de575ad2d7cd9c"></a><!-- doxytag: member="pmsmCRB::P" ref="acacd228e100c3e937de575ad2d7cd9c" args="" --> |
---|
| 168 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanFull.html#acacd228e100c3e937de575ad2d7cd9c">P</a></td></tr> |
---|
| 169 | |
---|
| 170 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Variance of the posterior density. <br></td></tr> |
---|
| 171 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0dba34bfba2aedd8c488692bcd14869b"></a><!-- doxytag: member="pmsmCRB::evalll" ref="0dba34bfba2aedd8c488692bcd14869b" args="" --> |
---|
| 172 | bool </td><td class="memItemRight" valign="bottom"><b>evalll</b></td></tr> |
---|
| 173 | |
---|
| 174 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="363ade67bd5a06c6a45c41e4d8afe11e"></a><!-- doxytag: member="pmsmCRB::ll" ref="363ade67bd5a06c6a45c41e4d8afe11e" args="" --> |
---|
| 175 | double </td><td class="memItemRight" valign="bottom"><b>ll</b></td></tr> |
---|
| 176 | |
---|
[33] | 177 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
[323] | 178 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ccc81bff691ef51b9ab21d1bf600195"></a><!-- doxytag: member="pmsmCRB::interr" ref="9ccc81bff691ef51b9ab21d1bf600195" args="" --> |
---|
| 179 | vec </td><td class="memItemRight" valign="bottom"><b>interr</b></td></tr> |
---|
| 180 | |
---|
| 181 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21c7ec383d159d113bd32f5475a04dfa"></a><!-- doxytag: member="pmsmCRB::old_true" ref="21c7ec383d159d113bd32f5475a04dfa" args="" --> |
---|
| 182 | vec </td><td class="memItemRight" valign="bottom"><b>old_true</b></td></tr> |
---|
| 183 | |
---|
| 184 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b597a8f0bd4ce87563be3c806bad5034"></a><!-- doxytag: member="pmsmCRB::secder" ref="b597a8f0bd4ce87563be3c806bad5034" args="" --> |
---|
| 185 | vec </td><td class="memItemRight" valign="bottom"><b>secder</b></td></tr> |
---|
| 186 | |
---|
| 187 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bbc8a0e809ab5eece92a30b1ea8dce87"></a><!-- doxytag: member="pmsmCRB::L_CRB" ref="bbc8a0e809ab5eece92a30b1ea8dce87" args="" --> |
---|
| 188 | int </td><td class="memItemRight" valign="bottom"><b>L_CRB</b></td></tr> |
---|
| 189 | |
---|
| 190 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba766bb44518b23ec8c52eca99ad3bd1"></a><!-- doxytag: member="pmsmCRB::L_err" ref="ba766bb44518b23ec8c52eca99ad3bd1" args="" --> |
---|
| 191 | int </td><td class="memItemRight" valign="bottom"><b>L_err</b></td></tr> |
---|
| 192 | |
---|
| 193 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ce7188a32b68d6d4543dee41e38a32d"></a><!-- doxytag: member="pmsmCRB::L_sec" ref="7ce7188a32b68d6d4543dee41e38a32d" args="" --> |
---|
| 194 | int </td><td class="memItemRight" valign="bottom"><b>L_sec</b></td></tr> |
---|
| 195 | |
---|
[353] | 196 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="016d3ec108a430b1e70cf7d78bb963f4"></a><!-- doxytag: member="pmsmCRB::pfxu" ref="016d3ec108a430b1e70cf7d78bb963f4" args="" --> |
---|
| 197 | diffbifn * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#016d3ec108a430b1e70cf7d78bb963f4">pfxu</a></td></tr> |
---|
[224] | 198 | |
---|
| 199 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal Model f(x,u). <br></td></tr> |
---|
[353] | 200 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7cdf9cf74284630b4578a2cb8ba92c7"></a><!-- doxytag: member="pmsmCRB::phxu" ref="f7cdf9cf74284630b4578a2cb8ba92c7" args="" --> |
---|
| 201 | diffbifn * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EKFfull.html#f7cdf9cf74284630b4578a2cb8ba92c7">phxu</a></td></tr> |
---|
[224] | 202 | |
---|
| 203 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Observation Model h(x,u). <br></td></tr> |
---|
[353] | 204 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="400051a1b51e5fe734b2606bbe6b1d03"></a><!-- doxytag: member="pmsmCRB::E" ref="400051a1b51e5fe734b2606bbe6b1d03" args="" --> |
---|
| 205 | enorm< <a class="el" href="classfsqmat.html">fsqmat</a> > </td><td class="memItemRight" valign="bottom"><b>E</b></td></tr> |
---|
[79] | 206 | |
---|
[353] | 207 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="427886a66cde0354e041ddef5aa60eab"></a><!-- doxytag: member="pmsmCRB::dimx" ref="427886a66cde0354e041ddef5aa60eab" args="" --> |
---|
| 208 | int </td><td class="memItemRight" valign="bottom"><b>dimx</b></td></tr> |
---|
[79] | 209 | |
---|
[353] | 210 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2b0399b8904ccb81c2098cc3cc85ff8f"></a><!-- doxytag: member="pmsmCRB::dimy" ref="2b0399b8904ccb81c2098cc3cc85ff8f" args="" --> |
---|
| 211 | int </td><td class="memItemRight" valign="bottom"><b>dimy</b></td></tr> |
---|
[33] | 212 | |
---|
[353] | 213 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e886b5d535ba7f9a39e66be34116788"></a><!-- doxytag: member="pmsmCRB::dimu" ref="8e886b5d535ba7f9a39e66be34116788" args="" --> |
---|
| 214 | int </td><td class="memItemRight" valign="bottom"><b>dimu</b></td></tr> |
---|
[33] | 215 | |
---|
[353] | 216 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a24914cfc0297b9f3885df86e5011733"></a><!-- doxytag: member="pmsmCRB::A" ref="a24914cfc0297b9f3885df86e5011733" args="" --> |
---|
| 217 | mat </td><td class="memItemRight" valign="bottom"><b>A</b></td></tr> |
---|
[33] | 218 | |
---|
[353] | 219 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef28133db32cc60b710925266c37376d"></a><!-- doxytag: member="pmsmCRB::B" ref="ef28133db32cc60b710925266c37376d" args="" --> |
---|
| 220 | mat </td><td class="memItemRight" valign="bottom"><b>B</b></td></tr> |
---|
[33] | 221 | |
---|
[353] | 222 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89ed156e063e19b32df2218bfaef42cf"></a><!-- doxytag: member="pmsmCRB::C" ref="89ed156e063e19b32df2218bfaef42cf" args="" --> |
---|
| 223 | mat </td><td class="memItemRight" valign="bottom"><b>C</b></td></tr> |
---|
[33] | 224 | |
---|
[353] | 225 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74e9f43b5b4d4a5e012e6178542d3e8f"></a><!-- doxytag: member="pmsmCRB::D" ref="74e9f43b5b4d4a5e012e6178542d3e8f" args="" --> |
---|
| 226 | mat </td><td class="memItemRight" valign="bottom"><b>D</b></td></tr> |
---|
[33] | 227 | |
---|
[353] | 228 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5c1fc8685511d21ba0e1688452105b7c"></a><!-- doxytag: member="pmsmCRB::R" ref="5c1fc8685511d21ba0e1688452105b7c" args="" --> |
---|
| 229 | mat </td><td class="memItemRight" valign="bottom"><b>R</b></td></tr> |
---|
[33] | 230 | |
---|
[353] | 231 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17d9a3316ecf81c149c2c1affb11af58"></a><!-- doxytag: member="pmsmCRB::Q" ref="17d9a3316ecf81c149c2c1affb11af58" args="" --> |
---|
| 232 | mat </td><td class="memItemRight" valign="bottom"><b>Q</b></td></tr> |
---|
[33] | 233 | |
---|
[353] | 234 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7fc60eca2893328d42f92246526d4b9"></a><!-- doxytag: member="pmsmCRB::_Pp" ref="f7fc60eca2893328d42f92246526d4b9" args="" --> |
---|
| 235 | mat </td><td class="memItemRight" valign="bottom"><b>_Pp</b></td></tr> |
---|
[33] | 236 | |
---|
[353] | 237 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b85742b33f95077f360a03ca2de05261"></a><!-- doxytag: member="pmsmCRB::_Ry" ref="b85742b33f95077f360a03ca2de05261" args="" --> |
---|
| 238 | mat </td><td class="memItemRight" valign="bottom"><b>_Ry</b></td></tr> |
---|
[33] | 239 | |
---|
[353] | 240 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="09472aa8c06e79944d7637b70bf4e401"></a><!-- doxytag: member="pmsmCRB::_iRy" ref="09472aa8c06e79944d7637b70bf4e401" args="" --> |
---|
| 241 | mat </td><td class="memItemRight" valign="bottom"><b>_iRy</b></td></tr> |
---|
[33] | 242 | |
---|
[353] | 243 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7455b5deee5f14d978c82c5cc9357e29"></a><!-- doxytag: member="pmsmCRB::_K" ref="7455b5deee5f14d978c82c5cc9357e29" args="" --> |
---|
| 244 | mat </td><td class="memItemRight" valign="bottom"><b>_K</b></td></tr> |
---|
[33] | 245 | |
---|
[353] | 246 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="pmsmCRB::evalll" ref="faff0ad12556fe7dc0e2807d4fd938ee" args="" --> |
---|
| 247 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr> |
---|
[33] | 248 | |
---|
[353] | 249 | <tr><td class="mdescLeft"> </td><td class="mdescRight">If true, the filter will compute likelihood of the data record and store it in <code>ll</code> . Set to false if you want to save computational time. <br></td></tr> |
---|
| 250 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="pmsmCRB::ll" ref="4064b6559d962633e4372b12f4cd204a" args="" --> |
---|
| 251 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a">ll</a></td></tr> |
---|
[33] | 252 | |
---|
[353] | 253 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> |
---|
[323] | 254 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="pmsmCRB::drv" ref="c400357e37d27a4834b2b1d9211009ed" args="" --> |
---|
[280] | 255 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> |
---|
[33] | 256 | |
---|
[280] | 257 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the data (optional). <br></td></tr> |
---|
[353] | 258 | <tr><td colspan="2"><br><h2>Friends</h2></td></tr> |
---|
| 259 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86ba216243ed95bb46d80d88775d16af"></a><!-- doxytag: member="pmsmCRB::operator<<" ref="86ba216243ed95bb46d80d88775d16af" args="(std::ostream &os, const KalmanFull &kf)" --> |
---|
| 260 | std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1KalmanFull.html#86ba216243ed95bb46d80d88775d16af">operator<<</a> (std::ostream &os, const KalmanFull &kf)</td></tr> |
---|
[33] | 261 | |
---|
[353] | 262 | <tr><td class="mdescLeft"> </td><td class="mdescRight">print elements of KF <br></td></tr> |
---|
[290] | 263 | <tr><td colspan="2"><br><h2>Extension to conditional BM</h2></td></tr> |
---|
| 264 | <tr><td colspan="2">This extension is useful e.g. in Marginalized Particle Filter (<a class="el" href="classbdm_1_1MPF.html">bdm::MPF</a>). Alternatively, it can be used for automated connection to DS when the condition is observed <br><br></td></tr> |
---|
[323] | 265 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5e8e016be16e4029c789063cb3f3b33"></a><!-- doxytag: member="pmsmCRB::_rvc" ref="b5e8e016be16e4029c789063cb3f3b33" args="() const " --> |
---|
[290] | 266 | const RV & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#b5e8e016be16e4029c789063cb3f3b33">_rvc</a> () const </td></tr> |
---|
| 267 | |
---|
| 268 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
[323] | 269 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6799f4b16a6a59ed58b1d0d6e17116f4"></a><!-- doxytag: member="pmsmCRB::condition" ref="6799f4b16a6a59ed58b1d0d6e17116f4" args="(const vec &val)" --> |
---|
| 270 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#6799f4b16a6a59ed58b1d0d6e17116f4">condition</a> (const vec &val)</td></tr> |
---|
| 271 | |
---|
| 272 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr> |
---|
| 273 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de95c590d650b2db423d53992f0906cb"></a><!-- doxytag: member="pmsmCRB::rvc" ref="de95c590d650b2db423d53992f0906cb" args="" --> |
---|
[290] | 274 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#de95c590d650b2db423d53992f0906cb">rvc</a></td></tr> |
---|
| 275 | |
---|
| 276 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Name of extension variable. <br></td></tr> |
---|
| 277 | <tr><td colspan="2"><br><h2>Logging of results</h2></td></tr> |
---|
[353] | 278 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="adb539fa2585c8a2a91c54e5aebf330e"></a><!-- doxytag: member="pmsmCRB::set_options" ref="adb539fa2585c8a2a91c54e5aebf330e" args="(const string &opt)" --> |
---|
| 279 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#adb539fa2585c8a2a91c54e5aebf330e">set_options</a> (const string &opt)</td></tr> |
---|
[290] | 280 | |
---|
[353] | 281 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set boolean options from a string recognized are: "logbounds,logll". <br></td></tr> |
---|
[323] | 282 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="109c1a626a69031658e3a44e9e500cca"></a><!-- doxytag: member="pmsmCRB::LIDs" ref="109c1a626a69031658e3a44e9e500cca" args="" --> |
---|
[290] | 283 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#109c1a626a69031658e3a44e9e500cca">LIDs</a></td></tr> |
---|
| 284 | |
---|
[353] | 285 | <tr><td class="mdescLeft"> </td><td class="mdescRight">IDs of storages in loggers 4:[1=mean,2=lb,3=ub,4=ll]. <br></td></tr> |
---|
| 286 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="398b7e7a162cf37d0022d6126495f207"></a><!-- doxytag: member="pmsmCRB::LFlags" ref="398b7e7a162cf37d0022d6126495f207" args="" --> |
---|
| 287 | ivec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#398b7e7a162cf37d0022d6126495f207">LFlags</a></td></tr> |
---|
[290] | 288 | |
---|
[353] | 289 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Flags for logging - same size as LIDs, each entry correspond to the same in LIDs. <br></td></tr> |
---|
[33] | 290 | </table> |
---|
[290] | 291 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
[323] | 292 | This class behaves like BM but it is evaluating EKF. <hr><h2>Member Function Documentation</h2> |
---|
[353] | 293 | <a class="anchor" name="40f01563651c1e4fe926189e41a6b8ab"></a><!-- doxytag: member="pmsmCRB::_copy_" ref="40f01563651c1e4fe926189e41a6b8ab" args="() const " --> |
---|
| 294 | <div class="memitem"> |
---|
| 295 | <div class="memproto"> |
---|
| 296 | <table class="memname"> |
---|
| 297 | <tr> |
---|
| 298 | <td class="memname">virtual BM* bdm::BM::_copy_ </td> |
---|
| 299 | <td>(</td> |
---|
| 300 | <td class="paramname"> </td> |
---|
| 301 | <td> ) </td> |
---|
| 302 | <td> const<code> [inline, virtual, inherited]</code></td> |
---|
| 303 | </tr> |
---|
| 304 | </table> |
---|
| 305 | </div> |
---|
| 306 | <div class="memdoc"> |
---|
| 307 | |
---|
| 308 | <p> |
---|
| 309 | Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: <div class="fragment"><pre class="fragment"> BM* <a class="code" href="classbdm_1_1BM.html#40f01563651c1e4fe926189e41a6b8ab">_copy_</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <span class="keyword">new</span> BM(*<span class="keyword">this</span>);} |
---|
| 310 | </pre></div> |
---|
| 311 | <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#ca0b54c0997cfd567f49377af5def106">bdm::ARX</a>, <a class="el" href="classbdm_1_1KalmanCh.html#24ce65bdaa538d4d5153d709a929b996">bdm::KalmanCh</a>, <a class="el" href="classbdm_1_1EKF.html#fe9b2e227255ad32dc73df316b7318f4">bdm::EKF< sq_T ></a>, <a class="el" href="classbdm_1_1EKFCh.html#1d1d91400e3f177de9fe7962ea17adc4">bdm::EKFCh</a>, and <a class="el" href="classbdm_1_1BMEF.html#62d2e4691bed41a1efa6b9c2e35e5c67">bdm::BMEF</a>.</p> |
---|
| 312 | |
---|
| 313 | </div> |
---|
| 314 | </div><p> |
---|
[323] | 315 | <a class="anchor" name="50257e0c1e5b5c73153ea6e716ad8ae0"></a><!-- doxytag: member="pmsmCRB::logpred" ref="50257e0c1e5b5c73153ea6e716ad8ae0" args="(const vec &dt) const " --> |
---|
[171] | 316 | <div class="memitem"> |
---|
| 317 | <div class="memproto"> |
---|
| 318 | <table class="memname"> |
---|
| 319 | <tr> |
---|
[280] | 320 | <td class="memname">virtual double bdm::BM::logpred </td> |
---|
[171] | 321 | <td>(</td> |
---|
[280] | 322 | <td class="paramtype">const vec & </td> |
---|
| 323 | <td class="paramname"> <em>dt</em> </td> |
---|
[171] | 324 | <td> ) </td> |
---|
[280] | 325 | <td> const<code> [inline, virtual, inherited]</code></td> |
---|
[171] | 326 | </tr> |
---|
| 327 | </table> |
---|
| 328 | </div> |
---|
| 329 | <div class="memdoc"> |
---|
| 330 | |
---|
| 331 | <p> |
---|
[280] | 332 | Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out. |
---|
| 333 | <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#080a7e531e3aa06694112863b15bc6a4">bdm::ARX</a>, <a class="el" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">bdm::MixEF</a>, and <a class="el" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">bdm::multiBM</a>.</p> |
---|
[171] | 334 | |
---|
[353] | 335 | <p>References <a class="el" href="itassert_8h-source.html#l00126">it_error</a>.</p> |
---|
[280] | 336 | |
---|
[353] | 337 | <p>Referenced by <a class="el" href="libBM_8h-source.html#l00690">bdm::BM::logpred_m()</a>.</p> |
---|
| 338 | |
---|
[171] | 339 | </div> |
---|
| 340 | </div><p> |
---|
[323] | 341 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
| 342 | <li><a class="el" href="pmsmDS_8h-source.html">pmsmDS.h</a></ul> |
---|
[91] | 343 | </div> |
---|
[353] | 344 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:14 2009 for mixpp by |
---|
[33] | 345 | <a href="http://www.doxygen.org/index.html"> |
---|
[290] | 346 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
[33] | 347 | </body> |
---|
| 348 | </html> |
---|