73 | | <h1>bdm::EpdfDS Class Reference</h1><!-- doxytag: class="bdm::EpdfDS" --><!-- doxytag: inherits="bdm::DS" --> |
74 | | <p>Simulate data from a static pdf (<a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>). |
75 | | <a href="#_details">More...</a></p> |
76 | | <hr/><a name="_details"></a><h2>Detailed Description</h2> |
77 | | <p>Simulate data from a static pdf (<a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>). </p> |
78 | | <p>Trivial example of a data source, could be used for tests of some estimation algorithms. For example, simulating data from a mixture model and feeding them to mixture model estimators. </p> |
79 | | |
80 | | <p><code>#include <<a class="el" href="datasources_8h_source.html">datasources.h</a>></code></p> |
81 | | |
82 | | <p><a href="classbdm_1_1EpdfDS-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"><a class="anchor" id="aa1bd25d052dd50da9854d78e2f2096d0"></a><!-- doxytag: member="bdm::EpdfDS::step" ref="aa1bd25d052dd50da9854d78e2f2096d0" args="()" --> |
86 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#aa1bd25d052dd50da9854d78e2f2096d0">step</a> ()</td></tr> |
87 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_18.png"/> to <img class="formulaInl" alt="$ t+1 $" src="form_19.png"/>, i.e. perfroms the actions and reads response of the system. <br/></td></tr> |
88 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c4a9d343dd773c4e75b5f2338b9ba7"></a><!-- doxytag: member="bdm::EpdfDS::getdata" ref="a62c4a9d343dd773c4e75b5f2338b9ba7" args="(vec &dt_out)" --> |
89 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a62c4a9d343dd773c4e75b5f2338b9ba7">getdata</a> (vec &dt_out)</td></tr> |
90 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br/></td></tr> |
91 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b3d9370351ca393d4df6f6da6ac5f99"></a><!-- doxytag: member="bdm::EpdfDS::getdata" ref="a5b3d9370351ca393d4df6f6da6ac5f99" args="(vec &dt_out, const ivec &ids)" --> |
92 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a5b3d9370351ca393d4df6f6da6ac5f99">getdata</a> (vec &dt_out, const ivec &ids)</td></tr> |
93 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns data records at indeces. <br/></td></tr> |
94 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a741eaa5986311ce3535a2de2cfb389f8"></a><!-- doxytag: member="bdm::EpdfDS::_drv" ref="a741eaa5986311ce3535a2de2cfb389f8" args="()" --> |
| 70 | <h1>bdm::EpdfDS Class Reference</h1><!-- doxytag: class="bdm::EpdfDS" --><!-- doxytag: inherits="bdm::DS" -->Simulate data from a static pdf (<a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>). |
| 71 | <a href="#_details">More...</a> |
| 72 | <p> |
| 73 | <code>#include <<a class="el" href="datasources_8h_source.html">datasources.h</a>></code> |
| 74 | <p> |
| 75 | |
| 76 | <p> |
| 77 | <a href="classbdm_1_1EpdfDS-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"><a class="anchor" name="a1bd25d052dd50da9854d78e2f2096d0"></a><!-- doxytag: member="bdm::EpdfDS::step" ref="a1bd25d052dd50da9854d78e2f2096d0" args="()" --> |
| 81 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a1bd25d052dd50da9854d78e2f2096d0">step</a> ()</td></tr> |
| 82 | |
| 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_18.png"> to <img class="formulaInl" alt="$ t+1 $" src="form_19.png">, i.e. perfroms the actions and reads response of the system. <br></td></tr> |
| 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c4a9d343dd773c4e75b5f2338b9ba7"></a><!-- doxytag: member="bdm::EpdfDS::getdata" ref="62c4a9d343dd773c4e75b5f2338b9ba7" args="(vec &dt_out)" --> |
| 85 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#62c4a9d343dd773c4e75b5f2338b9ba7">getdata</a> (vec &dt_out)</td></tr> |
| 86 | |
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br></td></tr> |
| 88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5b3d9370351ca393d4df6f6da6ac5f99"></a><!-- doxytag: member="bdm::EpdfDS::getdata" ref="5b3d9370351ca393d4df6f6da6ac5f99" args="(vec &dt_out, const ivec &ids)" --> |
| 89 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#5b3d9370351ca393d4df6f6da6ac5f99">getdata</a> (vec &dt_out, const ivec &ids)</td></tr> |
| 90 | |
| 91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns data records at indeces. <br></td></tr> |
| 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="741eaa5986311ce3535a2de2cfb389f8"></a><!-- doxytag: member="bdm::EpdfDS::_drv" ref="741eaa5986311ce3535a2de2cfb389f8" args="()" --> |
96 | | <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a3fdfb570b5d12332b2ba5662d17badac">from_setting</a> (const Setting &set)</td></tr> |
97 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a35af977871319479542183fde6a647"></a><!-- doxytag: member="bdm::EpdfDS::validate" ref="a0a35af977871319479542183fde6a647" args="()" --> |
98 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a0a35af977871319479542183fde6a647">validate</a> ()</td></tr> |
99 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br/></td></tr> |
100 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76d11928675f276f805655ae2a05d773"></a><!-- doxytag: member="bdm::EpdfDS::max_length" ref="a76d11928675f276f805655ae2a05d773" args="()" --> |
101 | | virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a76d11928675f276f805655ae2a05d773">max_length</a> ()</td></tr> |
102 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns maximum number of provided data, by default it is set to maximum allowed length, shorter <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> should overload this method! See, <a class="el" href="classbdm_1_1MemDS.html#a339a488b93f2fc37c80d9a9573fbd421" title="Returns maximum number of provided data, by default it is set to maximum allowed...">MemDS.max_length()</a>. <br/></td></tr> |
103 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af5baeee8528e5e4c5c7a344b2e3f192a"></a><!-- doxytag: member="bdm::EpdfDS::write" ref="af5baeee8528e5e4c5c7a344b2e3f192a" args="(vec &ut)" --> |
104 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af5baeee8528e5e4c5c7a344b2e3f192a">write</a> (vec &ut)</td></tr> |
105 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variable and schedule it for application. <br/></td></tr> |
106 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::EpdfDS::write" ref="a6bced13f84f6bf04449728817e049e1d" args="(vec &ut, const ivec &indeces)" --> |
107 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a6bced13f84f6bf04449728817e049e1d">write</a> (vec &ut, const ivec &indeces)</td></tr> |
108 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variables at specific indeces. <br/></td></tr> |
109 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c9e417d85052396fe74c164857ee67e"></a><!-- doxytag: member="bdm::EpdfDS::log_add" ref="a3c9e417d85052396fe74c164857ee67e" args="(logger &L)" --> |
110 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a3c9e417d85052396fe74c164857ee67e">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
111 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Register <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> for logging into <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> L. <br/></td></tr> |
112 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae03d2c93cddd5c3a03107ddd3ae999cf"></a><!-- doxytag: member="bdm::EpdfDS::logit" ref="ae03d2c93cddd5c3a03107ddd3ae999cf" args="(logger &L)" --> |
113 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ae03d2c93cddd5c3a03107ddd3ae999cf">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
114 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Register <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> for logging into <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> L. <br/></td></tr> |
115 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a069497b610296be053d862a2493be0ce"></a><!-- doxytag: member="bdm::EpdfDS::_drv" ref="a069497b610296be053d862a2493be0ce" args="() const " --> |
116 | | virtual const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a069497b610296be053d862a2493be0ce">_drv</a> () const </td></tr> |
117 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
118 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="bdm::EpdfDS::_urv" ref="aa6a9a375da64c82fc227bda3418a1f33" args="() const " --> |
119 | | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#aa6a9a375da64c82fc227bda3418a1f33">_urv</a> () const </td></tr> |
120 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
121 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac09878f86907329ac631a3df8755c558"></a><!-- doxytag: member="bdm::EpdfDS::_yrv" ref="ac09878f86907329ac631a3df8755c558" args="() const " --> |
122 | | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ac09878f86907329ac631a3df8755c558">_yrv</a> () const </td></tr> |
123 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br/></td></tr> |
124 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3a92d77fd97fdb6bf1c8edb1e38c6bbc"></a><!-- doxytag: member="bdm::EpdfDS::set_drv" ref="a3a92d77fd97fdb6bf1c8edb1e38c6bbc" args="(const RV &yrv, const RV &urv)" --> |
125 | | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a3a92d77fd97fdb6bf1c8edb1e38c6bbc">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &yrv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> |
126 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">set random variables <br/></td></tr> |
127 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::EpdfDS::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> |
128 | | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
129 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> |
130 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::EpdfDS::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
131 | | 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> |
132 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> |
133 | | <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> |
134 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83784c6ca9d311a38ff768cb0718c5b5"></a><!-- doxytag: member="bdm::EpdfDS::iepdf" ref="a83784c6ca9d311a38ff768cb0718c5b5" args="" --> |
135 | | <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a83784c6ca9d311a38ff768cb0718c5b5">iepdf</a></td></tr> |
136 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal pointer to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> from which we samplecond <br/></td></tr> |
137 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67637d64bcabf6ecb4a80284dc60dc3f"></a><!-- doxytag: member="bdm::EpdfDS::dt" ref="a67637d64bcabf6ecb4a80284dc60dc3f" args="" --> |
138 | | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#a67637d64bcabf6ecb4a80284dc60dc3f">dt</a></td></tr> |
139 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal storage of data sample <br/></td></tr> |
140 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::EpdfDS::dtsize" ref="af96cae44624e79638a91ec4f2c7c81a9" args="" --> |
141 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#af96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> |
142 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data returned by <code><a class="el" href="classbdm_1_1DS.html#ac1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code> <br/></td></tr> |
143 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::EpdfDS::utsize" ref="ad7467046a0bd05bc992cc5e1bdedb983" args="" --> |
144 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ad7467046a0bd05bc992cc5e1bdedb983">utsize</a></td></tr> |
145 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data <br/></td></tr> |
146 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22a4b29aa6e9f3bf17bcc4b28567e8bd"></a><!-- doxytag: member="bdm::EpdfDS::ytsize" ref="a22a4b29aa6e9f3bf17bcc4b28567e8bd" args="" --> |
147 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a22a4b29aa6e9f3bf17bcc4b28567e8bd">ytsize</a></td></tr> |
148 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of output <br/></td></tr> |
149 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::EpdfDS::Drv" ref="ad8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
150 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ad8db125ac35f3b8eeb773fc9a4cb45ec">Drv</a></td></tr> |
151 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data returned by <code><a class="el" href="classbdm_1_1DS.html#ac1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code>. <br/></td></tr> |
152 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="bdm::EpdfDS::Urv" ref="a9ac5970128fd39f4f6226723cd1de702" args="" --> |
153 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a9ac5970128fd39f4f6226723cd1de702">Urv</a></td></tr> |
154 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data witten by by <code><a class="el" href="classbdm_1_1DS.html#af5baeee8528e5e4c5c7a344b2e3f192a" title="Accepts action variable and schedule it for application.">write()</a></code>. <br/></td></tr> |
155 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb9de2a85f0d8257d79d9b68c05c4995"></a><!-- doxytag: member="bdm::EpdfDS::Yrv" ref="aeb9de2a85f0d8257d79d9b68c05c4995" args="" --> |
156 | | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#aeb9de2a85f0d8257d79d9b68c05c4995">Yrv</a></td></tr> |
157 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of output data. <br/></td></tr> |
158 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::EpdfDS::L_dt" ref="ab4b7bdb9d98a11ab587aa0ad803bb867" args="" --> |
159 | | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ab4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> |
160 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember its own index in Logger L. <br/></td></tr> |
161 | | <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="bdm::EpdfDS::L_ut" ref="ab56b74ec21485846ccfad461f33b0e7a" args="" --> |
| 94 | |
| 95 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#3fdfb570b5d12332b2ba5662d17badac">from_setting</a> (const Setting &set)</td></tr> |
| 96 | |
| 97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a35af977871319479542183fde6a647"></a><!-- doxytag: member="bdm::EpdfDS::validate" ref="0a35af977871319479542183fde6a647" args="()" --> |
| 98 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#0a35af977871319479542183fde6a647">validate</a> ()</td></tr> |
| 99 | |
| 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
| 101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="76d11928675f276f805655ae2a05d773"></a><!-- doxytag: member="bdm::EpdfDS::max_length" ref="76d11928675f276f805655ae2a05d773" args="()" --> |
| 102 | virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#76d11928675f276f805655ae2a05d773">max_length</a> ()</td></tr> |
| 103 | |
| 104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns maximum number of provided data, by default it is set to maximum allowed length, shorter <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> should overload this method! See, <a class="el" href="classbdm_1_1MemDS.html#339a488b93f2fc37c80d9a9573fbd421" title="Returns maximum number of provided data, by default it is set to maximum allowed...">MemDS.max_length()</a>. <br></td></tr> |
| 105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f5baeee8528e5e4c5c7a344b2e3f192a"></a><!-- doxytag: member="bdm::EpdfDS::write" ref="f5baeee8528e5e4c5c7a344b2e3f192a" args="(vec &ut)" --> |
| 106 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#f5baeee8528e5e4c5c7a344b2e3f192a">write</a> (vec &ut)</td></tr> |
| 107 | |
| 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variable and schedule it for application. <br></td></tr> |
| 109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6bced13f84f6bf04449728817e049e1d"></a><!-- doxytag: member="bdm::EpdfDS::write" ref="6bced13f84f6bf04449728817e049e1d" args="(vec &ut, const ivec &indeces)" --> |
| 110 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#6bced13f84f6bf04449728817e049e1d">write</a> (vec &ut, const ivec &indeces)</td></tr> |
| 111 | |
| 112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variables at specific indeces. <br></td></tr> |
| 113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c9e417d85052396fe74c164857ee67e"></a><!-- doxytag: member="bdm::EpdfDS::log_add" ref="3c9e417d85052396fe74c164857ee67e" args="(logger &L)" --> |
| 114 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#3c9e417d85052396fe74c164857ee67e">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
| 115 | |
| 116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Register <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> for logging into <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> L. <br></td></tr> |
| 117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e03d2c93cddd5c3a03107ddd3ae999cf"></a><!-- doxytag: member="bdm::EpdfDS::logit" ref="e03d2c93cddd5c3a03107ddd3ae999cf" args="(logger &L)" --> |
| 118 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#e03d2c93cddd5c3a03107ddd3ae999cf">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> |
| 119 | |
| 120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Register <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> for logging into <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a> L. <br></td></tr> |
| 121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="069497b610296be053d862a2493be0ce"></a><!-- doxytag: member="bdm::EpdfDS::_drv" ref="069497b610296be053d862a2493be0ce" args="() const " --> |
| 122 | virtual const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#069497b610296be053d862a2493be0ce">_drv</a> () const </td></tr> |
| 123 | |
| 124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="bdm::EpdfDS::_urv" ref="a6a9a375da64c82fc227bda3418a1f33" args="() const " --> |
| 126 | const <a class="el" href="classbdm_1_1RV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a6a9a375da64c82fc227bda3418a1f33">_urv</a> () const </td></tr> |
| 127 | |
| 128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c09878f86907329ac631a3df8755c558"></a><!-- doxytag: member="bdm::EpdfDS::_yrv" ref="c09878f86907329ac631a3df8755c558" 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_1DS.html#c09878f86907329ac631a3df8755c558">_yrv</a> () const </td></tr> |
| 131 | |
| 132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
| 133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3a92d77fd97fdb6bf1c8edb1e38c6bbc"></a><!-- doxytag: member="bdm::EpdfDS::set_drv" ref="3a92d77fd97fdb6bf1c8edb1e38c6bbc" args="(const RV &yrv, const RV &urv)" --> |
| 134 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#3a92d77fd97fdb6bf1c8edb1e38c6bbc">set_drv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &yrv, const <a class="el" href="classbdm_1_1RV.html">RV</a> &urv)</td></tr> |
| 135 | |
| 136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set random variables <br></td></tr> |
| 137 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::EpdfDS::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
| 138 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
| 139 | |
| 140 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
| 141 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::EpdfDS::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
| 142 | 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> |
| 143 | |
| 144 | <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"><br><h2>Protected Attributes</h2></td></tr> |
| 146 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83784c6ca9d311a38ff768cb0718c5b5"></a><!-- doxytag: member="bdm::EpdfDS::iepdf" ref="83784c6ca9d311a38ff768cb0718c5b5" args="" --> |
| 147 | <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>< <a class="el" href="classbdm_1_1epdf.html">epdf</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#83784c6ca9d311a38ff768cb0718c5b5">iepdf</a></td></tr> |
| 148 | |
| 149 | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal pointer to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> from which we samplecond <br></td></tr> |
| 150 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67637d64bcabf6ecb4a80284dc60dc3f"></a><!-- doxytag: member="bdm::EpdfDS::dt" ref="67637d64bcabf6ecb4a80284dc60dc3f" args="" --> |
| 151 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1EpdfDS.html#67637d64bcabf6ecb4a80284dc60dc3f">dt</a></td></tr> |
| 152 | |
| 153 | <tr><td class="mdescLeft"> </td><td class="mdescRight">internal storage of data sample <br></td></tr> |
| 154 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="bdm::EpdfDS::dtsize" ref="f96cae44624e79638a91ec4f2c7c81a9" args="" --> |
| 155 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#f96cae44624e79638a91ec4f2c7c81a9">dtsize</a></td></tr> |
| 156 | |
| 157 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code> <br></td></tr> |
| 158 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="bdm::EpdfDS::utsize" ref="d7467046a0bd05bc992cc5e1bdedb983" args="" --> |
| 159 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d7467046a0bd05bc992cc5e1bdedb983">utsize</a></td></tr> |
| 160 | |
| 161 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of data <br></td></tr> |
| 162 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22a4b29aa6e9f3bf17bcc4b28567e8bd"></a><!-- doxytag: member="bdm::EpdfDS::ytsize" ref="22a4b29aa6e9f3bf17bcc4b28567e8bd" args="" --> |
| 163 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#22a4b29aa6e9f3bf17bcc4b28567e8bd">ytsize</a></td></tr> |
| 164 | |
| 165 | <tr><td class="mdescLeft"> </td><td class="mdescRight">size of output <br></td></tr> |
| 166 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="bdm::EpdfDS::Drv" ref="d8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> |
| 167 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d8db125ac35f3b8eeb773fc9a4cb45ec">Drv</a></td></tr> |
| 168 | |
| 169 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code>. <br></td></tr> |
| 170 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="bdm::EpdfDS::Urv" ref="9ac5970128fd39f4f6226723cd1de702" args="" --> |
| 171 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702">Urv</a></td></tr> |
| 172 | |
| 173 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data witten by by <code><a class="el" href="classbdm_1_1DS.html#f5baeee8528e5e4c5c7a344b2e3f192a" title="Accepts action variable and schedule it for application.">write()</a></code>. <br></td></tr> |
| 174 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb9de2a85f0d8257d79d9b68c05c4995"></a><!-- doxytag: member="bdm::EpdfDS::Yrv" ref="eb9de2a85f0d8257d79d9b68c05c4995" args="" --> |
| 175 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#eb9de2a85f0d8257d79d9b68c05c4995">Yrv</a></td></tr> |
| 176 | |
| 177 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of output data. <br></td></tr> |
| 178 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="bdm::EpdfDS::L_dt" ref="b4b7bdb9d98a11ab587aa0ad803bb867" args="" --> |
| 179 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#b4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> |
| 180 | |
| 181 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember its own index in Logger L. <br></td></tr> |
| 182 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="bdm::EpdfDS::L_ut" ref="b56b74ec21485846ccfad461f33b0e7a" args="" --> |