73 | | <h1>bdm::PF Class Reference</h1><!-- doxytag: class="bdm::PF" --><!-- doxytag: inherits="bdm::BM" --> |
74 | | <p>Trivial particle filter with proposal density equal to parameter evolution model. |
75 | | <a href="#_details">More...</a></p> |
76 | | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
77 | | <p>Trivial particle filter with proposal density equal to parameter evolution model. </p> |
78 | | <p>Posterior density is represented by a weighted empirical density (<code><a class="el" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a></code> ). </p> |
79 | | |
80 | | <p><code>#include <<a class="el" href="particles_8h_source.html">particles.h</a>></code></p> |
81 | | |
82 | | <p><a href="classbdm_1_1PF-members.html">List of all members.</a></p> |
83 | | <table border="0" cellpadding="0" cellspacing="0"> |
84 | | <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> |
85 | | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#abf104b869b5df8dd4a14bbe430d40488">set_options</a> (const string &opt)</td></tr> |
86 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63282dc111d1afb32c194c955d966a15"></a><!-- doxytag: member="bdm::PF::bayes_gensmp" ref="a63282dc111d1afb32c194c955d966a15" args="()" --> |
87 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a63282dc111d1afb32c194c955d966a15">bayes_gensmp</a> ()</td></tr> |
88 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">bayes I - generate samples and add their weights to lls <br/></td></tr> |
89 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec76b4d647ac7dc683d8c9a7b7611026"></a><!-- doxytag: member="bdm::PF::bayes_weights" ref="aec76b4d647ac7dc683d8c9a7b7611026" args="()" --> |
90 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#aec76b4d647ac7dc683d8c9a7b7611026">bayes_weights</a> ()</td></tr> |
91 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">bayes II - compute weights of the <br/></td></tr> |
92 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3443faad7159e742ef3cb0674a92634"></a><!-- doxytag: member="bdm::PF::do_resampling" ref="ac3443faad7159e742ef3cb0674a92634" args="()" --> |
93 | | virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#ac3443faad7159e742ef3cb0674a92634">do_resampling</a> ()</td></tr> |
94 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">important part of particle filtering - decide if it is time to perform resampling <br/></td></tr> |
95 | | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a638946eea22d4964bf9350286bb4efd8">bayes</a> (const vec &dt)</td></tr> |
96 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Incremental Bayes rule. <a href="#a638946eea22d4964bf9350286bb4efd8"></a><br/></td></tr> |
97 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37cb95af19c7bd13eb3ec61f25923463"></a><!-- doxytag: member="bdm::PF::__w" ref="a37cb95af19c7bd13eb3ec61f25923463" args="()" --> |
98 | | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a37cb95af19c7bd13eb3ec61f25923463">__w</a> ()</td></tr> |
99 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
100 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82d221d771cbc3c15a37cb358d759734"></a><!-- doxytag: member="bdm::PF::_lls" ref="a82d221d771cbc3c15a37cb358d759734" args="()" --> |
101 | | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a82d221d771cbc3c15a37cb358d759734">_lls</a> ()</td></tr> |
102 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
103 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4e4023b749c33fc6d6b97d805338721"></a><!-- doxytag: member="bdm::PF::_resmethod" ref="ab4e4023b749c33fc6d6b97d805338721" args="() const " --> |
| 70 | <h1>bdm::PF Class Reference</h1><!-- doxytag: class="bdm::PF" --><!-- doxytag: inherits="bdm::BM" -->Trivial particle filter with proposal density equal to parameter evolution model. |
| 71 | <a href="#_details">More...</a> |
| 72 | <p> |
| 73 | <code>#include <<a class="el" href="particles_8h_source.html">particles.h</a>></code> |
| 74 | <p> |
| 75 | |
| 76 | <p> |
| 77 | <a href="classbdm_1_1PF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
| 78 | <tr><td></td></tr> |
| 79 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
| 80 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#bf104b869b5df8dd4a14bbe430d40488">set_options</a> (const string &opt)</td></tr> |
| 81 | |
| 82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="63282dc111d1afb32c194c955d966a15"></a><!-- doxytag: member="bdm::PF::bayes_gensmp" ref="63282dc111d1afb32c194c955d966a15" args="()" --> |
| 83 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#63282dc111d1afb32c194c955d966a15">bayes_gensmp</a> ()</td></tr> |
| 84 | |
| 85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">bayes I - generate samples and add their weights to lls <br></td></tr> |
| 86 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec76b4d647ac7dc683d8c9a7b7611026"></a><!-- doxytag: member="bdm::PF::bayes_weights" ref="ec76b4d647ac7dc683d8c9a7b7611026" args="()" --> |
| 87 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#ec76b4d647ac7dc683d8c9a7b7611026">bayes_weights</a> ()</td></tr> |
| 88 | |
| 89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">bayes II - compute weights of the <br></td></tr> |
| 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c3443faad7159e742ef3cb0674a92634"></a><!-- doxytag: member="bdm::PF::do_resampling" ref="c3443faad7159e742ef3cb0674a92634" args="()" --> |
| 91 | virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#c3443faad7159e742ef3cb0674a92634">do_resampling</a> ()</td></tr> |
| 92 | |
| 93 | <tr><td class="mdescLeft"> </td><td class="mdescRight">important part of particle filtering - decide if it is time to perform resampling <br></td></tr> |
| 94 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#638946eea22d4964bf9350286bb4efd8">bayes</a> (const vec &dt)</td></tr> |
| 95 | |
| 96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Incremental Bayes rule. <a href="#638946eea22d4964bf9350286bb4efd8"></a><br></td></tr> |
| 97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37cb95af19c7bd13eb3ec61f25923463"></a><!-- doxytag: member="bdm::PF::__w" ref="37cb95af19c7bd13eb3ec61f25923463" args="()" --> |
| 98 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#37cb95af19c7bd13eb3ec61f25923463">__w</a> ()</td></tr> |
| 99 | |
| 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="82d221d771cbc3c15a37cb358d759734"></a><!-- doxytag: member="bdm::PF::_lls" ref="82d221d771cbc3c15a37cb358d759734" args="()" --> |
| 102 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#82d221d771cbc3c15a37cb358d759734">_lls</a> ()</td></tr> |
| 103 | |
| 104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4e4023b749c33fc6d6b97d805338721"></a><!-- doxytag: member="bdm::PF::_resmethod" ref="b4e4023b749c33fc6d6b97d805338721" args="() const " --> |
105 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee9553da1a05671f94f30e0e94ff42cd"></a><!-- doxytag: member="bdm::PF::posterior" ref="aee9553da1a05671f94f30e0e94ff42cd" args="() const " --> |
106 | | const <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#aee9553da1a05671f94f30e0e94ff42cd">posterior</a> () const </td></tr> |
107 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
108 | | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a40d74160df73d152a9bcf044eac25663">from_setting</a> (const Setting &set)</td></tr> |
109 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30f6a71f3e56ce25e4e0ecafa0ffbd8d"></a><!-- doxytag: member="bdm::PF::resmethod_from_set" ref="a30f6a71f3e56ce25e4e0ecafa0ffbd8d" args="(const Setting &set)" --> |
110 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a30f6a71f3e56ce25e4e0ecafa0ffbd8d">resmethod_from_set</a> (const Setting &set)</td></tr> |
111 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">auxiliary function reading parameter 'resmethod' from configuration file <br/></td></tr> |
112 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ac867d4b88c2c6c73ae29d47f37d0bb"></a><!-- doxytag: member="bdm::PF::prior_from_set" ref="a8ac867d4b88c2c6c73ae29d47f37d0bb" args="(const Setting &set)" --> |
113 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a8ac867d4b88c2c6c73ae29d47f37d0bb">prior_from_set</a> (const Setting &set)</td></tr> |
114 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">load prior information from set and set internal structures accordingly <br/></td></tr> |
115 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ebbb12b5b01e8ac6985af0e04e0f0c2"></a><!-- doxytag: member="bdm::PF::validate" ref="a7ebbb12b5b01e8ac6985af0e04e0f0c2" args="()" --> |
116 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a7ebbb12b5b01e8ac6985af0e04e0f0c2">validate</a> ()</td></tr> |
117 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> |
118 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10fd6402c67ad3ee3a1a9a23fe91d7d7"></a><!-- doxytag: member="bdm::PF::resample" ref="a10fd6402c67ad3ee3a1a9a23fe91d7d7" args="(ivec &ind)" --> |
119 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a10fd6402c67ad3ee3a1a9a23fe91d7d7">resample</a> (ivec &ind)</td></tr> |
120 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">resample posterior density (from outside - see <a class="el" href="classbdm_1_1MPF.html" title="Marginalized Particle filter.">MPF</a>) <br/></td></tr> |
121 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::PF::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
122 | | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
123 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> |
124 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::PF::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
125 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
126 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> |
| 107 | |
| 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ee9553da1a05671f94f30e0e94ff42cd"></a><!-- doxytag: member="bdm::PF::posterior" ref="ee9553da1a05671f94f30e0e94ff42cd" args="() const " --> |
| 109 | const <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#ee9553da1a05671f94f30e0e94ff42cd">posterior</a> () const </td></tr> |
| 110 | |
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#40d74160df73d152a9bcf044eac25663">from_setting</a> (const Setting &set)</td></tr> |
| 113 | |
| 114 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30f6a71f3e56ce25e4e0ecafa0ffbd8d"></a><!-- doxytag: member="bdm::PF::resmethod_from_set" ref="30f6a71f3e56ce25e4e0ecafa0ffbd8d" args="(const Setting &set)" --> |
| 115 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#30f6a71f3e56ce25e4e0ecafa0ffbd8d">resmethod_from_set</a> (const Setting &set)</td></tr> |
| 116 | |
| 117 | <tr><td class="mdescLeft"> </td><td class="mdescRight">auxiliary function reading parameter 'resmethod' from configuration file <br></td></tr> |
| 118 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8ac867d4b88c2c6c73ae29d47f37d0bb"></a><!-- doxytag: member="bdm::PF::prior_from_set" ref="8ac867d4b88c2c6c73ae29d47f37d0bb" args="(const Setting &set)" --> |
| 119 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#8ac867d4b88c2c6c73ae29d47f37d0bb">prior_from_set</a> (const Setting &set)</td></tr> |
| 120 | |
| 121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">load prior information from set and set internal structures accordingly <br></td></tr> |
| 122 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ebbb12b5b01e8ac6985af0e04e0f0c2"></a><!-- doxytag: member="bdm::PF::validate" ref="7ebbb12b5b01e8ac6985af0e04e0f0c2" args="()" --> |
| 123 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#7ebbb12b5b01e8ac6985af0e04e0f0c2">validate</a> ()</td></tr> |
| 124 | |
| 125 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
| 126 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10fd6402c67ad3ee3a1a9a23fe91d7d7"></a><!-- doxytag: member="bdm::PF::resample" ref="10fd6402c67ad3ee3a1a9a23fe91d7d7" args="(ivec &ind)" --> |
| 127 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#10fd6402c67ad3ee3a1a9a23fe91d7d7">resample</a> (ivec &ind)</td></tr> |
| 128 | |
| 129 | <tr><td class="mdescLeft"> </td><td class="mdescRight">resample posterior density (from outside - see <a class="el" href="classbdm_1_1MPF.html" title="Marginalized Particle filter.">MPF</a>) <br></td></tr> |
| 130 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::PF::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
| 131 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
| 132 | |
| 133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
| 134 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::PF::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
| 135 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
| 136 | |
| 137 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
145 | | <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpfb3595af27ed8bd142c95323c0dab340"></a> </p> |
146 | | <br/><br/></div></td></tr> |
147 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::PF::bayesB" ref="a1dee3fddaf021e62d925289660a707dc" args="(const mat &Dt)" --> |
148 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &Dt)</td></tr> |
149 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br/></td></tr> |
150 | | <tr><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a50257e0c1e5b5c73153ea6e716ad8ae0">logpred</a> (const vec &dt) const </td></tr> |
151 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="bdm::PF::logpred_m" ref="a0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &dt) const " --> |
152 | | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a0e8ebe61fb14990abe1254bd3dda5fae">logpred_m</a> (const mat &dt) const </td></tr> |
153 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br/></td></tr> |
154 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="bdm::PF::epredictor" ref="a688d7a2aced1e06aa1c468d73a9e5eba" args="() const " --> |
155 | | virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a688d7a2aced1e06aa1c468d73a9e5eba">epredictor</a> () const </td></tr> |
156 | | <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_20.png"/>. <br/></td></tr> |
157 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::PF::predictor" ref="a598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> |
158 | | virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> |
159 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs conditional density of 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_21.png"/>. <br/></td></tr> |
| 158 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::PF::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &Dt)" --> |
| 159 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &Dt)</td></tr> |
| 160 | |
| 161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
| 162 | <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> |
| 163 | |
| 164 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="bdm::PF::logpred_m" ref="0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &dt) const " --> |
| 165 | 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> |
| 166 | |
| 167 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of logpred. <br></td></tr> |
| 168 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="688d7a2aced1e06aa1c468d73a9e5eba"></a><!-- doxytag: member="bdm::PF::epredictor" ref="688d7a2aced1e06aa1c468d73a9e5eba" args="() const " --> |
| 169 | virtual <a class="el" href="classbdm_1_1epdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba">epredictor</a> () const </td></tr> |
| 170 | |
| 171 | <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_20.png">. <br></td></tr> |
| 172 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::PF::predictor" ref="598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> |
| 173 | virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> |
| 174 | |
| 175 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs conditional density of 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_21.png">. <br></td></tr> |
173 | | <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> |
174 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeeafaf9b8ad75fe62ee9fd6369e3f7fe"></a><!-- doxytag: member="bdm::PF::n" ref="aeeafaf9b8ad75fe62ee9fd6369e3f7fe" args="" --> |
175 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#aeeafaf9b8ad75fe62ee9fd6369e3f7fe">n</a></td></tr> |
176 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">number of particles; <br/></td></tr> |
177 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc049265b9086cad7071f98d00a2b9af"></a><!-- doxytag: member="bdm::PF::est" ref="adc049265b9086cad7071f98d00a2b9af" args="" --> |
178 | | <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#adc049265b9086cad7071f98d00a2b9af">est</a></td></tr> |
179 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">posterior density <br/></td></tr> |
180 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af5149d5522d1095d39240c4c607f61a3"></a><!-- doxytag: member="bdm::PF::_w" ref="af5149d5522d1095d39240c4c607f61a3" args="" --> |
181 | | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#af5149d5522d1095d39240c4c607f61a3">_w</a></td></tr> |
182 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">pointer into <code><a class="el" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a></code> <br/></td></tr> |
183 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a914bd66025692c4018dbd482cb3c47c1"></a><!-- doxytag: member="bdm::PF::_samples" ref="a914bd66025692c4018dbd482cb3c47c1" args="" --> |
184 | | Array< vec > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a914bd66025692c4018dbd482cb3c47c1">_samples</a></td></tr> |
185 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">pointer into <code><a class="el" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a></code> <br/></td></tr> |
186 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b7ffedb2051161df6c102881afe41ff"></a><!-- doxytag: member="bdm::PF::par" ref="a0b7ffedb2051161df6c102881afe41ff" args="" --> |
187 | | <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a0b7ffedb2051161df6c102881afe41ff">par</a></td></tr> |
188 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Parameter evolution model. <br/></td></tr> |
189 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77ed889e1b993df253e93059933d227d"></a><!-- doxytag: member="bdm::PF::obs" ref="a77ed889e1b993df253e93059933d227d" args="" --> |
190 | | <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a77ed889e1b993df253e93059933d227d">obs</a></td></tr> |
191 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Observation model. <br/></td></tr> |
192 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08cffd22d6e9501f283972245aeff8cd"></a><!-- doxytag: member="bdm::PF::lls" ref="a08cffd22d6e9501f283972245aeff8cd" args="" --> |
193 | | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a08cffd22d6e9501f283972245aeff8cd">lls</a></td></tr> |
194 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal structure storing loglikelihood of predictions <br/></td></tr> |
195 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9932c7c5865954ef9a438afcbe944e52"></a><!-- doxytag: member="bdm::PF::resmethod" ref="a9932c7c5865954ef9a438afcbe944e52" args="" --> |
196 | | RESAMPLING_METHOD </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a9932c7c5865954ef9a438afcbe944e52">resmethod</a></td></tr> |
197 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">which resampling method will be used <br/></td></tr> |
198 | | <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#ab16816e20f97f9bec993d1f25fc3d711">res_threshold</a></td></tr> |
199 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::PF::drv" ref="ac400357e37d27a4834b2b1d9211009ed" args="" --> |
200 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ac400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> |
201 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the data (optional). <br/></td></tr> |
202 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="bdm::PF::ll" ref="a4064b6559d962633e4372b12f4cd204a" args="" --> |
203 | | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a4064b6559d962633e4372b12f4cd204a">ll</a></td></tr> |
204 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br/></td></tr> |
205 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afaff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="bdm::PF::evalll" ref="afaff0ad12556fe7dc0e2807d4fd938ee" args="" --> |
206 | | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#afaff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr> |
207 | | <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> |
| 191 | |
| 192 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
| 193 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eeafaf9b8ad75fe62ee9fd6369e3f7fe"></a><!-- doxytag: member="bdm::PF::n" ref="eeafaf9b8ad75fe62ee9fd6369e3f7fe" args="" --> |
| 194 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#eeafaf9b8ad75fe62ee9fd6369e3f7fe">n</a></td></tr> |
| 195 | |
| 196 | <tr><td class="mdescLeft"> </td><td class="mdescRight">number of particles; <br></td></tr> |
| 197 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc049265b9086cad7071f98d00a2b9af"></a><!-- doxytag: member="bdm::PF::est" ref="dc049265b9086cad7071f98d00a2b9af" args="" --> |
| 198 | <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#dc049265b9086cad7071f98d00a2b9af">est</a></td></tr> |
| 199 | |
| 200 | <tr><td class="mdescLeft"> </td><td class="mdescRight">posterior density <br></td></tr> |
| 201 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f5149d5522d1095d39240c4c607f61a3"></a><!-- doxytag: member="bdm::PF::_w" ref="f5149d5522d1095d39240c4c607f61a3" args="" --> |
| 202 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#f5149d5522d1095d39240c4c607f61a3">_w</a></td></tr> |
| 203 | |
| 204 | <tr><td class="mdescLeft"> </td><td class="mdescRight">pointer into <code><a class="el" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a></code> <br></td></tr> |
| 205 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="914bd66025692c4018dbd482cb3c47c1"></a><!-- doxytag: member="bdm::PF::_samples" ref="914bd66025692c4018dbd482cb3c47c1" args="" --> |
| 206 | Array< vec > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#914bd66025692c4018dbd482cb3c47c1">_samples</a></td></tr> |
| 207 | |
| 208 | <tr><td class="mdescLeft"> </td><td class="mdescRight">pointer into <code><a class="el" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a></code> <br></td></tr> |
| 209 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b7ffedb2051161df6c102881afe41ff"></a><!-- doxytag: member="bdm::PF::par" ref="0b7ffedb2051161df6c102881afe41ff" args="" --> |
| 210 | <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#0b7ffedb2051161df6c102881afe41ff">par</a></td></tr> |
| 211 | |
| 212 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Parameter evolution model. <br></td></tr> |
| 213 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="77ed889e1b993df253e93059933d227d"></a><!-- doxytag: member="bdm::PF::obs" ref="77ed889e1b993df253e93059933d227d" args="" --> |
| 214 | <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#77ed889e1b993df253e93059933d227d">obs</a></td></tr> |
| 215 | |
| 216 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Observation model. <br></td></tr> |
| 217 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="08cffd22d6e9501f283972245aeff8cd"></a><!-- doxytag: member="bdm::PF::lls" ref="08cffd22d6e9501f283972245aeff8cd" args="" --> |
| 218 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#08cffd22d6e9501f283972245aeff8cd">lls</a></td></tr> |
| 219 | |
| 220 | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal structure storing loglikelihood of predictions <br></td></tr> |
| 221 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9932c7c5865954ef9a438afcbe944e52"></a><!-- doxytag: member="bdm::PF::resmethod" ref="9932c7c5865954ef9a438afcbe944e52" args="" --> |
| 222 | RESAMPLING_METHOD </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#9932c7c5865954ef9a438afcbe944e52">resmethod</a></td></tr> |
| 223 | |
| 224 | <tr><td class="mdescLeft"> </td><td class="mdescRight">which resampling method will be used <br></td></tr> |
| 225 | <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#b16816e20f97f9bec993d1f25fc3d711">res_threshold</a></td></tr> |
| 226 | |
| 227 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::PF::drv" ref="c400357e37d27a4834b2b1d9211009ed" args="" --> |
| 228 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> |
| 229 | |
| 230 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Random variable of the data (optional). <br></td></tr> |
| 231 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="bdm::PF::ll" ref="4064b6559d962633e4372b12f4cd204a" args="" --> |
| 232 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a">ll</a></td></tr> |
| 233 | |
| 234 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> |
| 235 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="bdm::PF::evalll" ref="faff0ad12556fe7dc0e2807d4fd938ee" args="" --> |
| 236 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr> |
| 237 | |
| 238 | <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> |
209 | | <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpdae8ace18bdcbcc6ae5aece263e14fe8"></a> </p> |
210 | | <br/><br/></div></td></tr> |
211 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a98ef9ff80c394fafd28680b7a3f831b1"></a><!-- doxytag: member="bdm::PF::opt_L_smp" ref="a98ef9ff80c394fafd28680b7a3f831b1" args="" --> |
212 | | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a98ef9ff80c394fafd28680b7a3f831b1">opt_L_smp</a></td></tr> |
213 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Log all samples. <br/></td></tr> |
214 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a49463a88ee80771a464861df845ff6"></a><!-- doxytag: member="bdm::PF::opt_L_wei" ref="a5a49463a88ee80771a464861df845ff6" args="" --> |
215 | | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#a5a49463a88ee80771a464861df845ff6">opt_L_wei</a></td></tr> |
216 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Log all samples. <br/></td></tr> |
217 | | <tr><td colspan="2"><h2>Extension to conditional BM</h2></td></tr> |
218 | | <tr><td colspan="2"><p><a class="anchor" id="amgrp74e1db869c28ea37aac65bd658ff5da4"></a> 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 <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> when the condition is observed </p> |
219 | | <br/><br/></td></tr> |
220 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5e8e016be16e4029c789063cb3f3b33"></a><!-- doxytag: member="bdm::PF::_rvc" ref="ab5e8e016be16e4029c789063cb3f3b33" args="() const " --> |
221 | | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ab5e8e016be16e4029c789063cb3f3b33">_rvc</a> () const </td></tr> |
222 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
223 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6799f4b16a6a59ed58b1d0d6e17116f4"></a><!-- doxytag: member="bdm::PF::condition" ref="a6799f4b16a6a59ed58b1d0d6e17116f4" args="(const vec &val)" --> |
224 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a6799f4b16a6a59ed58b1d0d6e17116f4">condition</a> (const vec &val)</td></tr> |
225 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br/></td></tr> |
226 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade95c590d650b2db423d53992f0906cb"></a><!-- doxytag: member="bdm::PF::rvc" ref="ade95c590d650b2db423d53992f0906cb" args="" --> |
227 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ade95c590d650b2db423d53992f0906cb">rvc</a></td></tr> |
228 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Name of extension variable. <br/></td></tr> |
229 | | <tr><td colspan="2"><h2>Logging of results</h2></td></tr> |
230 | | <tr><td colspan="2"><p><a class="anchor" id="amgrp5b751fa78120752d90ae4487df3bfa73"></a> </p> |
231 | | <br/><br/></td></tr> |
232 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2298ca6af9b13a78a4c9e18ab43f1827"></a><!-- doxytag: member="bdm::PF::log_add" ref="a2298ca6af9b13a78a4c9e18ab43f1827" args="(logger &L, const string &name="")" --> |
233 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a2298ca6af9b13a78a4c9e18ab43f1827">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L, const string &name="")</td></tr> |
234 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add all logged variables to a <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a>. <br/></td></tr> |
235 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab517e1679eaa94e803ea4cd0b8efbcd7"></a><!-- doxytag: member="bdm::PF::logit" ref="ab517e1679eaa94e803ea4cd0b8efbcd7" args="(logger &L)" --> |
| 240 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="98ef9ff80c394fafd28680b7a3f831b1"></a><!-- doxytag: member="bdm::PF::opt_L_smp" ref="98ef9ff80c394fafd28680b7a3f831b1" args="" --> |
| 241 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#98ef9ff80c394fafd28680b7a3f831b1">opt_L_smp</a></td></tr> |
| 242 | |
| 243 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Log all samples. <br></td></tr> |
| 244 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a49463a88ee80771a464861df845ff6"></a><!-- doxytag: member="bdm::PF::opt_L_wei" ref="5a49463a88ee80771a464861df845ff6" args="" --> |
| 245 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1PF.html#5a49463a88ee80771a464861df845ff6">opt_L_wei</a></td></tr> |
| 246 | |
| 247 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Log all samples. <br></td></tr> |
| 248 | <tr><td colspan="2"><br><h2>Extension to conditional BM</h2></td></tr> |
| 249 | <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 <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> when the condition is observed <br><br></td></tr> |
| 250 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5e8e016be16e4029c789063cb3f3b33"></a><!-- doxytag: member="bdm::PF::_rvc" ref="b5e8e016be16e4029c789063cb3f3b33" args="() const " --> |
| 251 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#b5e8e016be16e4029c789063cb3f3b33">_rvc</a> () const </td></tr> |
| 252 | |
| 253 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 254 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6799f4b16a6a59ed58b1d0d6e17116f4"></a><!-- doxytag: member="bdm::PF::condition" ref="6799f4b16a6a59ed58b1d0d6e17116f4" args="(const vec &val)" --> |
| 255 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#6799f4b16a6a59ed58b1d0d6e17116f4">condition</a> (const vec &val)</td></tr> |
| 256 | |
| 257 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr> |
| 258 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de95c590d650b2db423d53992f0906cb"></a><!-- doxytag: member="bdm::PF::rvc" ref="de95c590d650b2db423d53992f0906cb" args="" --> |
| 259 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#de95c590d650b2db423d53992f0906cb">rvc</a></td></tr> |
| 260 | |
| 261 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Name of extension variable. <br></td></tr> |
| 262 | <tr><td colspan="2"><br><h2>Logging of results</h2></td></tr> |
| 263 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2298ca6af9b13a78a4c9e18ab43f1827"></a><!-- doxytag: member="bdm::PF::log_add" ref="2298ca6af9b13a78a4c9e18ab43f1827" args="(logger &L, const string &name="")" --> |
| 264 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#2298ca6af9b13a78a4c9e18ab43f1827">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L, const string &name="")</td></tr> |
| 265 | |
| 266 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add all logged variables to a <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a>. <br></td></tr> |
| 267 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b517e1679eaa94e803ea4cd0b8efbcd7"></a><!-- doxytag: member="bdm::PF::logit" ref="b517e1679eaa94e803ea4cd0b8efbcd7" args="(logger &L)" --> |