Index: doc/html/libBM_8h-source.html
===================================================================
--- doc/html/libBM_8h-source.html (revision 224)
+++ doc/html/libBM_8h-source.html (revision 234)
@@ -134,182 +134,184 @@
 <a name="l00197"></a>00197         <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870" title="return expected value">mean</a>() <span class="keyword">const</span> =0;
 <a name="l00198"></a>00198 
-<a name="l00200"></a><a class="code" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">00200</a>         <span class="keyword">virtual</span> <a class="code" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396" title="Destructor for future use;.">~epdf</a>() {};
-<a name="l00202"></a><a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">00202</a>         <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>&amp; <a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>;}
-<a name="l00204"></a><a class="code" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">00204</a>         <span class="keywordtype">void</span> <a class="code" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5" title="modifier function - useful when copying epdfs">_renewrv</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;in_rv ) {<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>=in_rv;}
-<a name="l00206"></a>00206 };
-<a name="l00207"></a>00207 
-<a name="l00208"></a>00208 
-<a name="l00210"></a>00210 <span class="comment">//TODO Samplecond can be generalized</span>
+<a name="l00200"></a>00200         <span class="keyword">virtual</span> vec <a class="code" href="classepdf.html#29f17cea338692f4cb6d4ac9f7d89e1f" title="return expected variance (not covariance!)">variance</a>() <span class="keyword">const</span> = 0;
+<a name="l00201"></a>00201         
+<a name="l00203"></a><a class="code" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396">00203</a>         <span class="keyword">virtual</span> <a class="code" href="classepdf.html#0a322dd106f04c0a2915e3d4f4227396" title="Destructor for future use;.">~epdf</a>() {};
+<a name="l00205"></a><a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562">00205</a>         <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>&amp; <a class="code" href="classepdf.html#ca0d32aabb4cbba347e0c37fe8607562" title="access function, possibly dangerous!">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>;}
+<a name="l00207"></a><a class="code" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5">00207</a>         <span class="keywordtype">void</span> <a class="code" href="classepdf.html#7fb94ce90d1ac7077d29f7d6a6c3e0a5" title="modifier function - useful when copying epdfs">_renewrv</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;in_rv ) {<a class="code" href="classepdf.html#74da992e3f5d598da8850b646b79b9d9" title="Identified of the random variable.">rv</a>=in_rv;}
+<a name="l00209"></a>00209 };
+<a name="l00210"></a>00210 
 <a name="l00211"></a>00211 
-<a name="l00212"></a><a class="code" href="classmpdf.html">00212</a> <span class="keyword">class </span><a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
-<a name="l00213"></a>00213 <span class="keyword">protected</span>:
-<a name="l00215"></a><a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">00215</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>;
-<a name="l00217"></a><a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">00217</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>;
-<a name="l00219"></a><a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">00219</a>         <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>;
-<a name="l00220"></a>00220 <span class="keyword">public</span>:
-<a name="l00221"></a>00221 
-<a name="l00223"></a>00223 <span class="comment">//      virtual fnc moment ( const int order = 1 );</span>
-<a name="l00225"></a><a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">00225</a> <span class="comment"></span>        <span class="keyword">virtual</span> vec <a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b" title="Returns the required moment of the epdf.">samplecond</a> ( <span class="keyword">const</span> vec &amp;cond, <span class="keywordtype">double</span> &amp;ll ) {
-<a name="l00226"></a>00226                 this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );
-<a name="l00227"></a>00227                 vec temp= <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample,  from density .">sample</a>();
-<a name="l00228"></a>00228                 ll=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#e1996af1da1fa1214270066a96ca113e" title="Compute log-probability of argument val.">evallog</a> ( temp );<span class="keywordflow">return</span> temp;
-<a name="l00229"></a>00229         };
-<a name="l00231"></a><a class="code" href="classmpdf.html#b1dae6171ee39a6a05976c7b1007a3c5">00231</a>         <span class="keyword">virtual</span> mat <a class="code" href="classmpdf.html#b1dae6171ee39a6a05976c7b1007a3c5" title="Returns.">samplecond_m</a> ( <span class="keyword">const</span> vec &amp;cond, vec &amp;ll, <span class="keywordtype">int</span> N ) {
-<a name="l00232"></a>00232                 this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );
-<a name="l00233"></a>00233                 mat temp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(),N ); vec smp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() );
-<a name="l00234"></a>00234                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;N;i++ ) {smp=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample,  from density .">sample</a>() ;temp.set_col ( i, smp );ll ( i ) =<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#e1996af1da1fa1214270066a96ca113e" title="Compute log-probability of argument val.">evallog</a> ( smp );}
-<a name="l00235"></a>00235                 <span class="keywordflow">return</span> temp;
-<a name="l00236"></a>00236         };
-<a name="l00238"></a><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">00238</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &amp;cond ) {it_error ( <span class="stringliteral">"Not implemented"</span> );};
-<a name="l00239"></a>00239 
-<a name="l00241"></a><a class="code" href="classmpdf.html#2ef8a6374029d990a678782f6decebbe">00241</a>         <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classmpdf.html#2ef8a6374029d990a678782f6decebbe" title="Shortcut for conditioning and evaluation of the internal epdf. In some cases, this...">evallogcond</a> ( <span class="keyword">const</span> vec &amp;dt, <span class="keyword">const</span> vec &amp;cond ) {<span class="keywordtype">double</span> tmp; this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );tmp = <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#e1996af1da1fa1214270066a96ca113e" title="Compute log-probability of argument val.">evallog</a> ( dt );           it_assert_debug(std::isfinite(tmp),<span class="stringliteral">"Infinite value"</span>); <span class="keywordflow">return</span> tmp;
-<a name="l00242"></a>00242         };
-<a name="l00243"></a>00243 
-<a name="l00245"></a><a class="code" href="classmpdf.html#95fcff214848f66f1b489459370573fa">00245</a>         <span class="keyword">virtual</span> vec <a class="code" href="classmpdf.html#95fcff214848f66f1b489459370573fa" title="Matrix version of evallogcond.">evallogcond_m</a> ( <span class="keyword">const</span> mat &amp;Dt, <span class="keyword">const</span> vec &amp;cond ) {this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#2495a04bbacb9b55fe5a3a59b78affca" title="Compute log-probability of multiple values argument val.">evallog_m</a> ( Dt );};
-<a name="l00246"></a>00246 
-<a name="l00248"></a><a class="code" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">00248</a>         <span class="keyword">virtual</span> <a class="code" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb" title="Destructor for future use;.">~mpdf</a>() {};
-<a name="l00249"></a>00249 
-<a name="l00251"></a><a class="code" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">00251</a>         <a class="code" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f" title="Default constructor.">mpdf</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv0, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc0 ) :<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a> ( rv0 ),<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ( rvc0 ) {};
-<a name="l00253"></a><a class="code" href="classmpdf.html#15ef062183b1ccdf794732d5fa0b77cd">00253</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#15ef062183b1ccdf794732d5fa0b77cd" title="access function">_rvc</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>;}
-<a name="l00255"></a><a class="code" href="classmpdf.html#71256ffb5fbd08f41d650e606a5bd585">00255</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#71256ffb5fbd08f41d650e606a5bd585" title="access function">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>;}
-<a name="l00257"></a><a class="code" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">00257</a>         <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>&amp; <a class="code" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8" title="access function">_epdf</a>() {<span class="keywordflow">return</span> *<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>;}
-<a name="l00258"></a>00258 };
-<a name="l00259"></a>00259 
-<a name="l00262"></a><a class="code" href="classdatalink__e2e.html">00262</a> <span class="keyword">class </span><a class="code" href="classdatalink__e2e.html">datalink_e2e</a> {
-<a name="l00263"></a>00263 <span class="keyword">protected</span>:
-<a name="l00265"></a><a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216">00265</a>         <span class="keywordtype">int</span> <a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a>;
-<a name="l00267"></a><a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8">00267</a>         <span class="keywordtype">int</span> <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a>;
-<a name="l00269"></a><a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae">00269</a>         ivec <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a>;
-<a name="l00270"></a>00270 <span class="keyword">public</span>:
-<a name="l00272"></a><a class="code" href="classdatalink__e2e.html#366d0aca52e56d4108f85390f87c1b9f">00272</a>         <a class="code" href="classdatalink__e2e.html#366d0aca52e56d4108f85390f87c1b9f" title="Constructor.">datalink_e2e</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv_up ) :
-<a name="l00273"></a>00273                         <a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a> ( rv.count() ), <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a> ( rv_up.count() ), <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a> ( rv.dataind ( rv_up ) )  {
-<a name="l00274"></a>00274                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a>.length() ==<a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a>,<span class="stringliteral">"rv is not fully in rv_up"</span> );
-<a name="l00275"></a>00275         }
-<a name="l00277"></a><a class="code" href="classdatalink__e2e.html#1b114a76be7aa45bf33697e521fd041d">00277</a>         vec <a class="code" href="classdatalink__e2e.html#1b114a76be7aa45bf33697e521fd041d" title="Get val for myself from val of &amp;quot;Up&amp;quot;.">get_val</a> ( <span class="keyword">const</span> vec &amp;val_up ) {it_assert_debug ( <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a>==val_up.length(),<span class="stringliteral">"Wrong val_up"</span> ); <span class="keywordflow">return</span> get_vec ( val_up,<a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a> );}
-<a name="l00279"></a><a class="code" href="classdatalink__e2e.html#1ee38edb1778e8900a8d7535c3b3f053">00279</a>         <span class="keywordtype">void</span> <a class="code" href="classdatalink__e2e.html#1ee38edb1778e8900a8d7535c3b3f053" title="Fill val of &amp;quot;Up&amp;quot; by my pieces.">fill_val</a> ( vec &amp;val_up, <span class="keyword">const</span> vec &amp;val ) {
-<a name="l00280"></a>00280                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a>==val.length(),<span class="stringliteral">"Wrong val"</span> );
-<a name="l00281"></a>00281                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a>==val_up.length(),<span class="stringliteral">"Wrong val_up"</span> );
-<a name="l00282"></a>00282                 set_subvector ( val_up, <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a>, val );
-<a name="l00283"></a>00283         }
-<a name="l00284"></a>00284 };
-<a name="l00285"></a>00285 
-<a name="l00287"></a><a class="code" href="classdatalink__m2e.html">00287</a> <span class="keyword">class </span><a class="code" href="classdatalink__m2e.html" title="data link between">datalink_m2e</a>: <span class="keyword">public</span> <a class="code" href="classdatalink__e2e.html">datalink_e2e</a> {
-<a name="l00288"></a>00288 <span class="keyword">protected</span>:
-<a name="l00290"></a><a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3">00290</a>         <span class="keywordtype">int</span> <a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a>;
-<a name="l00292"></a><a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a">00292</a>         ivec <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a>;
-<a name="l00294"></a><a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28">00294</a>         ivec <a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>;
-<a name="l00295"></a>00295 
-<a name="l00296"></a>00296 <span class="keyword">public</span>:
-<a name="l00298"></a><a class="code" href="classdatalink__m2e.html#ff8f6e8a974e22ced461b232fadbdce0">00298</a>         <a class="code" href="classdatalink__m2e.html#ff8f6e8a974e22ced461b232fadbdce0" title="Constructor.">datalink_m2e</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv,  <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv_up ) :
-<a name="l00299"></a>00299                         <a class="code" href="classdatalink__e2e.html">datalink_e2e</a> ( rv,rv_up ), <a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a> ( rvc.count() ) {
-<a name="l00300"></a>00300                 <span class="comment">//establish v2c connection</span>
-<a name="l00301"></a>00301                 rvc.<a class="code" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a> ( rv_up, <a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>, <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a> );
-<a name="l00302"></a>00302         }
-<a name="l00304"></a><a class="code" href="classdatalink__m2e.html#6db351e5e2158791e97144d212844084">00304</a>         vec <a class="code" href="classdatalink__m2e.html#6db351e5e2158791e97144d212844084" title="Construct condition.">get_cond</a> ( <span class="keyword">const</span> vec &amp;val_up ) {
-<a name="l00305"></a>00305                 vec tmp ( <a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a> );
-<a name="l00306"></a>00306                 set_subvector ( tmp,<a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>,val_up ( <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a> ) );
-<a name="l00307"></a>00307                 <span class="keywordflow">return</span> tmp;
-<a name="l00308"></a>00308         }
-<a name="l00309"></a>00309         <span class="keywordtype">void</span> fill_val_cond ( vec &amp;val_up, <span class="keyword">const</span> vec &amp;val, <span class="keyword">const</span> vec &amp;cond ) {
-<a name="l00310"></a>00310                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a>==val.length(),<span class="stringliteral">"Wrong val"</span> );
-<a name="l00311"></a>00311                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a>==val_up.length(),<span class="stringliteral">"Wrong val_up"</span> );
-<a name="l00312"></a>00312                 set_subvector ( val_up, <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a>, val );
-<a name="l00313"></a>00313                 set_subvector ( val_up, <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a>, cond );
-<a name="l00314"></a>00314         }
-<a name="l00315"></a>00315 };
-<a name="l00318"></a><a class="code" href="classdatalink__m2m.html">00318</a> <span class="keyword">class </span><a class="code" href="classdatalink__m2m.html">datalink_m2m</a>: <span class="keyword">public</span> <a class="code" href="classdatalink__m2e.html" title="data link between">datalink_m2e</a> {
-<a name="l00319"></a>00319 <span class="keyword">protected</span>:
-<a name="l00321"></a><a class="code" href="classdatalink__m2m.html#d1044bf4846f878290100429600273b2">00321</a>         ivec <a class="code" href="classdatalink__m2m.html#d1044bf4846f878290100429600273b2" title="cond-to-cond link, indeces of the upper cond">c2c_up</a>;
-<a name="l00323"></a><a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad">00323</a>         ivec <a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad" title="cond-to-cond link, indeces of the local cond">c2c_lo</a>;
-<a name="l00324"></a>00324 <span class="keyword">public</span>:
-<a name="l00326"></a><a class="code" href="classdatalink__m2m.html#bd64962e779b6dd89529046245a8a98d">00326</a>         <a class="code" href="classdatalink__m2m.html#bd64962e779b6dd89529046245a8a98d" title="Constructor.">datalink_m2m</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv_up, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc_up ) :
-<a name="l00327"></a>00327                         <a class="code" href="classdatalink__m2e.html" title="data link between">datalink_m2e</a> ( rv, rvc, rv_up) {
-<a name="l00328"></a>00328                 <span class="comment">//establish c2c connection</span>
-<a name="l00329"></a>00329                 rvc.<a class="code" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a> ( rvc_up, <a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad" title="cond-to-cond link, indeces of the local cond">c2c_lo</a>, <a class="code" href="classdatalink__m2m.html#d1044bf4846f878290100429600273b2" title="cond-to-cond link, indeces of the upper cond">c2c_up</a> );
-<a name="l00330"></a>00330                 it_assert_debug(<a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad" title="cond-to-cond link, indeces of the local cond">c2c_lo</a>.length()+<a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>.length()==<a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a>, <span class="stringliteral">"cond is not fully given"</span>);
-<a name="l00331"></a>00331         }
-<a name="l00333"></a><a class="code" href="classdatalink__m2m.html#51dd05760f99282a1da5f51eb88e7e42">00333</a>         vec <a class="code" href="classdatalink__m2m.html#51dd05760f99282a1da5f51eb88e7e42" title="Get cond for myself from val and cond of &amp;quot;Up&amp;quot;.">get_cond</a> ( <span class="keyword">const</span> vec &amp;val_up, <span class="keyword">const</span> vec &amp;cond_up ) {
-<a name="l00334"></a>00334                 vec tmp ( <a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a> );
-<a name="l00335"></a>00335                 set_subvector ( tmp,<a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>,val_up ( <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a> ) );
-<a name="l00336"></a>00336                 set_subvector ( tmp,<a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad" title="cond-to-cond link, indeces of the local cond">c2c_lo</a>,cond_up ( <a class="code" href="classdatalink__m2m.html#d1044bf4846f878290100429600273b2" title="cond-to-cond link, indeces of the upper cond">c2c_up</a> ) );
-<a name="l00337"></a>00337                 <span class="keywordflow">return</span> tmp;
-<a name="l00338"></a>00338         }
-<a name="l00340"></a>00340 
-<a name="l00341"></a>00341 };
-<a name="l00342"></a>00342 
-<a name="l00346"></a><a class="code" href="classmepdf.html">00346</a> <span class="keyword">class </span><a class="code" href="classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf.">mepdf</a> : <span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
-<a name="l00347"></a>00347 <span class="keyword">public</span>:
-<a name="l00349"></a><a class="code" href="classmepdf.html#0f39973ffd94c1e20e2d8aacc4adc6fa">00349</a>         <a class="code" href="classmepdf.html#0f39973ffd94c1e20e2d8aacc4adc6fa" title="Default constructor.">mepdf</a> (<span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* em ) :<a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> ( em-&gt;<a class="code" href="classmpdf.html#71256ffb5fbd08f41d650e606a5bd585" title="access function">_rv</a>(),<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ) {<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>=<span class="keyword">const_cast&lt;</span><a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>*<span class="keyword">&gt;</span>(em);};
-<a name="l00350"></a><a class="code" href="classmepdf.html#bc87d89dbc3cf5eb6a0ad7d6d572488f">00350</a>         <span class="keywordtype">void</span> <a class="code" href="classmepdf.html#bc87d89dbc3cf5eb6a0ad7d6d572488f" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &amp;cond ) {}
-<a name="l00351"></a>00351 };
-<a name="l00352"></a>00352 
-<a name="l00355"></a><a class="code" href="classcompositepdf.html">00355</a> <span class="keyword">class </span><a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes this abstract class is...">compositepdf</a> {
-<a name="l00356"></a>00356 <span class="keyword">protected</span>:
-<a name="l00358"></a><a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">00358</a>         <span class="keywordtype">int</span> <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>;
-<a name="l00360"></a><a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">00360</a>         Array&lt;mpdf*&gt; <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a>;
-<a name="l00361"></a>00361 <span class="keyword">public</span>:
-<a name="l00362"></a>00362         <a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes this abstract class is...">compositepdf</a> ( Array&lt;mpdf*&gt; A0 ) : <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a> ( A0.length() ), <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a> ( A0 ) {};
-<a name="l00364"></a>00364         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classcompositepdf.html#635d219fb3e32852400d6f98aa4bdc93" title="find common rv, flag">getrv</a> ( <span class="keywordtype">bool</span> checkoverlap=<span class="keyword">false</span> );
-<a name="l00366"></a>00366         <span class="keywordtype">void</span> <a class="code" href="classcompositepdf.html#5a4479785c1fdb2cc351fbea07b899ac" title="common rvc of all mpdfs is written to rvc">setrvc</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc );
-<a name="l00367"></a>00367 };
-<a name="l00368"></a>00368 
-<a name="l00376"></a><a class="code" href="classDS.html">00376</a> <span class="keyword">class </span><a class="code" href="classDS.html" title="Abstract class for discrete-time sources of data.">DS</a> {
-<a name="l00377"></a>00377 <span class="keyword">protected</span>:
-<a name="l00379"></a><a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454">00379</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454" title="Observed variables, returned by getdata().">Drv</a>;
-<a name="l00381"></a><a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629">00381</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629" title="Action variables, accepted by write().">Urv</a>; <span class="comment">//</span>
-<a name="l00382"></a>00382 <span class="keyword">public</span>:
-<a name="l00384"></a>00384         <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt );
-<a name="l00386"></a>00386         <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt, ivec &amp;indeces );
-<a name="l00388"></a>00388         <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut );
-<a name="l00390"></a>00390         <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut, ivec &amp;indeces );
-<a name="l00396"></a>00396         <span class="keywordtype">void</span> <a class="code" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75" title="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv );
-<a name="l00397"></a>00397 
-<a name="l00399"></a>00399         <span class="keywordtype">void</span> <a class="code" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6" title="Moves from  to , i.e. perfroms the actions and reads response of the system.">step</a>();
+<a name="l00213"></a>00213 <span class="comment">//TODO Samplecond can be generalized</span>
+<a name="l00214"></a>00214 
+<a name="l00215"></a><a class="code" href="classmpdf.html">00215</a> <span class="keyword">class </span><a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
+<a name="l00216"></a>00216 <span class="keyword">protected</span>:
+<a name="l00218"></a><a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">00218</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>;
+<a name="l00220"></a><a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">00220</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>;
+<a name="l00222"></a><a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">00222</a>         <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>;
+<a name="l00223"></a>00223 <span class="keyword">public</span>:
+<a name="l00224"></a>00224 
+<a name="l00226"></a><a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">00226</a>         <span class="keyword">virtual</span> vec <a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b" title="Returns a sample from the density conditioned on cond, .">samplecond</a> ( <span class="keyword">const</span> vec &amp;cond, <span class="keywordtype">double</span> &amp;ll ) {
+<a name="l00227"></a>00227                 this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );
+<a name="l00228"></a>00228                 vec temp= <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample,  from density .">sample</a>();
+<a name="l00229"></a>00229                 ll=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#e1996af1da1fa1214270066a96ca113e" title="Compute log-probability of argument val.">evallog</a> ( temp );<span class="keywordflow">return</span> temp;
+<a name="l00230"></a>00230         };
+<a name="l00232"></a><a class="code" href="classmpdf.html#b1dae6171ee39a6a05976c7b1007a3c5">00232</a>         <span class="keyword">virtual</span> mat <a class="code" href="classmpdf.html#b1dae6171ee39a6a05976c7b1007a3c5" title="Returns.">samplecond_m</a> ( <span class="keyword">const</span> vec &amp;cond, vec &amp;ll, <span class="keywordtype">int</span> N ) {
+<a name="l00233"></a>00233                 this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );
+<a name="l00234"></a>00234                 mat temp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>(),N ); vec smp ( <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>.<a class="code" href="classRV.html#f5c7b8bd589eef09ccdf3329a0addea0" title="Return number of scalars in the RV.">count</a>() );
+<a name="l00235"></a>00235                 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;N;i++ ) {smp=<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#8019654e494bf5e458f6fb947e11b262" title="Returns a sample,  from density .">sample</a>() ;temp.set_col ( i, smp );ll ( i ) =<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#e1996af1da1fa1214270066a96ca113e" title="Compute log-probability of argument val.">evallog</a> ( smp );}
+<a name="l00236"></a>00236                 <span class="keywordflow">return</span> temp;
+<a name="l00237"></a>00237         };
+<a name="l00239"></a><a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">00239</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &amp;cond ) {it_error ( <span class="stringliteral">"Not implemented"</span> );};
+<a name="l00240"></a>00240 
+<a name="l00242"></a><a class="code" href="classmpdf.html#2ef8a6374029d990a678782f6decebbe">00242</a>         <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classmpdf.html#2ef8a6374029d990a678782f6decebbe" title="Shortcut for conditioning and evaluation of the internal epdf. In some cases, this...">evallogcond</a> ( <span class="keyword">const</span> vec &amp;dt, <span class="keyword">const</span> vec &amp;cond ) {<span class="keywordtype">double</span> tmp; this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );tmp = <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#e1996af1da1fa1214270066a96ca113e" title="Compute log-probability of argument val.">evallog</a> ( dt );           it_assert_debug(std::isfinite(tmp),<span class="stringliteral">"Infinite value"</span>); <span class="keywordflow">return</span> tmp;
+<a name="l00243"></a>00243         };
+<a name="l00244"></a>00244 
+<a name="l00246"></a><a class="code" href="classmpdf.html#95fcff214848f66f1b489459370573fa">00246</a>         <span class="keyword">virtual</span> vec <a class="code" href="classmpdf.html#95fcff214848f66f1b489459370573fa" title="Matrix version of evallogcond.">evallogcond_m</a> ( <span class="keyword">const</span> mat &amp;Dt, <span class="keyword">const</span> vec &amp;cond ) {this-&gt;<a class="code" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( cond );<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>-&gt;<a class="code" href="classepdf.html#2495a04bbacb9b55fe5a3a59b78affca" title="Compute log-probability of multiple values argument val.">evallog_m</a> ( Dt );};
+<a name="l00247"></a>00247 
+<a name="l00249"></a><a class="code" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb">00249</a>         <span class="keyword">virtual</span> <a class="code" href="classmpdf.html#6788be9f3a888796499c5293a318fcfb" title="Destructor for future use;.">~mpdf</a>() {};
+<a name="l00250"></a>00250 
+<a name="l00252"></a><a class="code" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f">00252</a>         <a class="code" href="classmpdf.html#581ecf362185d37c08bb31cb9d046d6f" title="Default constructor.">mpdf</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv0, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc0 ) :<a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a> ( rv0 ),<a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a> ( rvc0 ) {};
+<a name="l00254"></a><a class="code" href="classmpdf.html#15ef062183b1ccdf794732d5fa0b77cd">00254</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#15ef062183b1ccdf794732d5fa0b77cd" title="access function">_rvc</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab" title="random variable in condition">rvc</a>;}
+<a name="l00256"></a><a class="code" href="classmpdf.html#71256ffb5fbd08f41d650e606a5bd585">00256</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classmpdf.html#71256ffb5fbd08f41d650e606a5bd585" title="access function">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb" title="modeled random variable">rv</a>;}
+<a name="l00258"></a><a class="code" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">00258</a>         <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>&amp; <a class="code" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8" title="access function">_epdf</a>() {<span class="keywordflow">return</span> *<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>;}
+<a name="l00260"></a><a class="code" href="classmpdf.html#75ded3b0f657cd7da6590691a810963c">00260</a>         <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classmpdf.html#75ded3b0f657cd7da6590691a810963c" title="access function">_e</a>() {<span class="keywordflow">return</span> <a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>;}
+<a name="l00261"></a>00261 };
+<a name="l00262"></a>00262 
+<a name="l00265"></a><a class="code" href="classdatalink__e2e.html">00265</a> <span class="keyword">class </span><a class="code" href="classdatalink__e2e.html">datalink_e2e</a> {
+<a name="l00266"></a>00266 <span class="keyword">protected</span>:
+<a name="l00268"></a><a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216">00268</a>         <span class="keywordtype">int</span> <a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a>;
+<a name="l00270"></a><a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8">00270</a>         <span class="keywordtype">int</span> <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a>;
+<a name="l00272"></a><a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae">00272</a>         ivec <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a>;
+<a name="l00273"></a>00273 <span class="keyword">public</span>:
+<a name="l00275"></a><a class="code" href="classdatalink__e2e.html#366d0aca52e56d4108f85390f87c1b9f">00275</a>         <a class="code" href="classdatalink__e2e.html#366d0aca52e56d4108f85390f87c1b9f" title="Constructor.">datalink_e2e</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv_up ) :
+<a name="l00276"></a>00276                         <a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a> ( rv.count() ), <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a> ( rv_up.count() ), <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a> ( rv.dataind ( rv_up ) )  {
+<a name="l00277"></a>00277                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a>.length() ==<a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a>,<span class="stringliteral">"rv is not fully in rv_up"</span> );
+<a name="l00278"></a>00278         }
+<a name="l00280"></a><a class="code" href="classdatalink__e2e.html#1b114a76be7aa45bf33697e521fd041d">00280</a>         vec <a class="code" href="classdatalink__e2e.html#1b114a76be7aa45bf33697e521fd041d" title="Get val for myself from val of &amp;quot;Up&amp;quot;.">get_val</a> ( <span class="keyword">const</span> vec &amp;val_up ) {it_assert_debug ( <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a>==val_up.length(),<span class="stringliteral">"Wrong val_up"</span> ); <span class="keywordflow">return</span> get_vec ( val_up,<a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a> );}
+<a name="l00282"></a><a class="code" href="classdatalink__e2e.html#1ee38edb1778e8900a8d7535c3b3f053">00282</a>         <span class="keywordtype">void</span> <a class="code" href="classdatalink__e2e.html#1ee38edb1778e8900a8d7535c3b3f053" title="Fill val of &amp;quot;Up&amp;quot; by my pieces.">fill_val</a> ( vec &amp;val_up, <span class="keyword">const</span> vec &amp;val ) {
+<a name="l00283"></a>00283                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a>==val.length(),<span class="stringliteral">"Wrong val"</span> );
+<a name="l00284"></a>00284                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a>==val_up.length(),<span class="stringliteral">"Wrong val_up"</span> );
+<a name="l00285"></a>00285                 set_subvector ( val_up, <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a>, val );
+<a name="l00286"></a>00286         }
+<a name="l00287"></a>00287 };
+<a name="l00288"></a>00288 
+<a name="l00290"></a><a class="code" href="classdatalink__m2e.html">00290</a> <span class="keyword">class </span><a class="code" href="classdatalink__m2e.html" title="data link between">datalink_m2e</a>: <span class="keyword">public</span> <a class="code" href="classdatalink__e2e.html">datalink_e2e</a> {
+<a name="l00291"></a>00291 <span class="keyword">protected</span>:
+<a name="l00293"></a><a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3">00293</a>         <span class="keywordtype">int</span> <a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a>;
+<a name="l00295"></a><a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a">00295</a>         ivec <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a>;
+<a name="l00297"></a><a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28">00297</a>         ivec <a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>;
+<a name="l00298"></a>00298 
+<a name="l00299"></a>00299 <span class="keyword">public</span>:
+<a name="l00301"></a><a class="code" href="classdatalink__m2e.html#ff8f6e8a974e22ced461b232fadbdce0">00301</a>         <a class="code" href="classdatalink__m2e.html#ff8f6e8a974e22ced461b232fadbdce0" title="Constructor.">datalink_m2e</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv,  <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv_up ) :
+<a name="l00302"></a>00302                         <a class="code" href="classdatalink__e2e.html">datalink_e2e</a> ( rv,rv_up ), <a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a> ( rvc.count() ) {
+<a name="l00303"></a>00303                 <span class="comment">//establish v2c connection</span>
+<a name="l00304"></a>00304                 rvc.<a class="code" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a> ( rv_up, <a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>, <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a> );
+<a name="l00305"></a>00305         }
+<a name="l00307"></a><a class="code" href="classdatalink__m2e.html#6db351e5e2158791e97144d212844084">00307</a>         vec <a class="code" href="classdatalink__m2e.html#6db351e5e2158791e97144d212844084" title="Construct condition.">get_cond</a> ( <span class="keyword">const</span> vec &amp;val_up ) {
+<a name="l00308"></a>00308                 vec tmp ( <a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a> );
+<a name="l00309"></a>00309                 set_subvector ( tmp,<a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>,val_up ( <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a> ) );
+<a name="l00310"></a>00310                 <span class="keywordflow">return</span> tmp;
+<a name="l00311"></a>00311         }
+<a name="l00312"></a>00312         <span class="keywordtype">void</span> fill_val_cond ( vec &amp;val_up, <span class="keyword">const</span> vec &amp;val, <span class="keyword">const</span> vec &amp;cond ) {
+<a name="l00313"></a>00313                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#3ce1d13efa0b133a4d202c11bd57d216" title="Remember how long val should be.">valsize</a>==val.length(),<span class="stringliteral">"Wrong val"</span> );
+<a name="l00314"></a>00314                 it_assert_debug ( <a class="code" href="classdatalink__e2e.html#db962bc6201d1ec12dce00d7c1a8b4f8" title="Remember how long val of &amp;quot;Up&amp;quot; should be.">valupsize</a>==val_up.length(),<span class="stringliteral">"Wrong val_up"</span> );
+<a name="l00315"></a>00315                 set_subvector ( val_up, <a class="code" href="classdatalink__e2e.html#d4c3a76395b46d9d901eb232aacdafae" title="val-to-val link, indeces of the upper val">v2v_up</a>, val );
+<a name="l00316"></a>00316                 set_subvector ( val_up, <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a>, cond );
+<a name="l00317"></a>00317         }
+<a name="l00318"></a>00318 };
+<a name="l00321"></a><a class="code" href="classdatalink__m2m.html">00321</a> <span class="keyword">class </span><a class="code" href="classdatalink__m2m.html">datalink_m2m</a>: <span class="keyword">public</span> <a class="code" href="classdatalink__m2e.html" title="data link between">datalink_m2e</a> {
+<a name="l00322"></a>00322 <span class="keyword">protected</span>:
+<a name="l00324"></a><a class="code" href="classdatalink__m2m.html#d1044bf4846f878290100429600273b2">00324</a>         ivec <a class="code" href="classdatalink__m2m.html#d1044bf4846f878290100429600273b2" title="cond-to-cond link, indeces of the upper cond">c2c_up</a>;
+<a name="l00326"></a><a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad">00326</a>         ivec <a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad" title="cond-to-cond link, indeces of the local cond">c2c_lo</a>;
+<a name="l00327"></a>00327 <span class="keyword">public</span>:
+<a name="l00329"></a><a class="code" href="classdatalink__m2m.html#bd64962e779b6dd89529046245a8a98d">00329</a>         <a class="code" href="classdatalink__m2m.html#bd64962e779b6dd89529046245a8a98d" title="Constructor.">datalink_m2m</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv_up, <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc_up ) :
+<a name="l00330"></a>00330                         <a class="code" href="classdatalink__m2e.html" title="data link between">datalink_m2e</a> ( rv, rvc, rv_up) {
+<a name="l00331"></a>00331                 <span class="comment">//establish c2c connection</span>
+<a name="l00332"></a>00332                 rvc.<a class="code" href="classRV.html#bb724fa4e2d9ed7bfd0993b5975018a4">dataind</a> ( rvc_up, <a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad" title="cond-to-cond link, indeces of the local cond">c2c_lo</a>, <a class="code" href="classdatalink__m2m.html#d1044bf4846f878290100429600273b2" title="cond-to-cond link, indeces of the upper cond">c2c_up</a> );
+<a name="l00333"></a>00333                 it_assert_debug(<a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad" title="cond-to-cond link, indeces of the local cond">c2c_lo</a>.length()+<a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>.length()==<a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a>, <span class="stringliteral">"cond is not fully given"</span>);
+<a name="l00334"></a>00334         }
+<a name="l00336"></a><a class="code" href="classdatalink__m2m.html#51dd05760f99282a1da5f51eb88e7e42">00336</a>         vec <a class="code" href="classdatalink__m2m.html#51dd05760f99282a1da5f51eb88e7e42" title="Get cond for myself from val and cond of &amp;quot;Up&amp;quot;.">get_cond</a> ( <span class="keyword">const</span> vec &amp;val_up, <span class="keyword">const</span> vec &amp;cond_up ) {
+<a name="l00337"></a>00337                 vec tmp ( <a class="code" href="classdatalink__m2e.html#b3927998b71fce3ab030eba1c3c3cec3" title="Remember how long cond should be.">condsize</a> );
+<a name="l00338"></a>00338                 set_subvector ( tmp,<a class="code" href="classdatalink__m2e.html#29604fb622b6a319d2d5d2709fe01f28" title="upper_val-to-local_cond link, ideces of the local cond">v2c_lo</a>,val_up ( <a class="code" href="classdatalink__m2e.html#6b46f983c46621b6bfe2b5da3d467d2a" title="upper_val-to-local_cond link, indeces of the upper val">v2c_up</a> ) );
+<a name="l00339"></a>00339                 set_subvector ( tmp,<a class="code" href="classdatalink__m2m.html#056193d459cd5e5fd323b5cbc6a55bad" title="cond-to-cond link, indeces of the local cond">c2c_lo</a>,cond_up ( <a class="code" href="classdatalink__m2m.html#d1044bf4846f878290100429600273b2" title="cond-to-cond link, indeces of the upper cond">c2c_up</a> ) );
+<a name="l00340"></a>00340                 <span class="keywordflow">return</span> tmp;
+<a name="l00341"></a>00341         }
+<a name="l00343"></a>00343 
+<a name="l00344"></a>00344 };
+<a name="l00345"></a>00345 
+<a name="l00349"></a><a class="code" href="classmepdf.html">00349</a> <span class="keyword">class </span><a class="code" href="classmepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf.">mepdf</a> : <span class="keyword">public</span> <a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {
+<a name="l00350"></a>00350 <span class="keyword">public</span>:
+<a name="l00352"></a><a class="code" href="classmepdf.html#0f39973ffd94c1e20e2d8aacc4adc6fa">00352</a>         <a class="code" href="classmepdf.html#0f39973ffd94c1e20e2d8aacc4adc6fa" title="Default constructor.">mepdf</a> (<span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* em ) :<a class="code" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> ( em-&gt;<a class="code" href="classmpdf.html#71256ffb5fbd08f41d650e606a5bd585" title="access function">_rv</a>(),<a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ) {<a class="code" href="classmpdf.html#7aa894208a32f3487827df6d5054424c" title="pointer to internal epdf">ep</a>=<span class="keyword">const_cast&lt;</span><a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>*<span class="keyword">&gt;</span>(em);};
+<a name="l00353"></a><a class="code" href="classmepdf.html#bc87d89dbc3cf5eb6a0ad7d6d572488f">00353</a>         <span class="keywordtype">void</span> <a class="code" href="classmepdf.html#bc87d89dbc3cf5eb6a0ad7d6d572488f" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &amp;cond ) {}
+<a name="l00354"></a>00354 };
+<a name="l00355"></a>00355 
+<a name="l00358"></a><a class="code" href="classcompositepdf.html">00358</a> <span class="keyword">class </span><a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes this abstract class is...">compositepdf</a> {
+<a name="l00359"></a>00359 <span class="keyword">protected</span>:
+<a name="l00361"></a><a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f">00361</a>         <span class="keywordtype">int</span> <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a>;
+<a name="l00363"></a><a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d">00363</a>         Array&lt;mpdf*&gt; <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a>;
+<a name="l00364"></a>00364 <span class="keyword">public</span>:
+<a name="l00365"></a>00365         <a class="code" href="classcompositepdf.html" title="Abstract composition of pdfs, a base for specific classes this abstract class is...">compositepdf</a> ( Array&lt;mpdf*&gt; A0 ) : <a class="code" href="classcompositepdf.html#c1646fe41ff5934d010e54ccaa46133f" title="Number of mpdfs in the composite.">n</a> ( A0.length() ), <a class="code" href="classcompositepdf.html#637877061b917a16a0421bb5c4cd480d" title="Elements of composition.">mpdfs</a> ( A0 ) {};
+<a name="l00367"></a>00367         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classcompositepdf.html#635d219fb3e32852400d6f98aa4bdc93" title="find common rv, flag">getrv</a> ( <span class="keywordtype">bool</span> checkoverlap=<span class="keyword">false</span> );
+<a name="l00369"></a>00369         <span class="keywordtype">void</span> <a class="code" href="classcompositepdf.html#5a4479785c1fdb2cc351fbea07b899ac" title="common rvc of all mpdfs is written to rvc">setrvc</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rvc );
+<a name="l00370"></a>00370 };
+<a name="l00371"></a>00371 
+<a name="l00379"></a><a class="code" href="classDS.html">00379</a> <span class="keyword">class </span><a class="code" href="classDS.html" title="Abstract class for discrete-time sources of data.">DS</a> {
+<a name="l00380"></a>00380 <span class="keyword">protected</span>:
+<a name="l00382"></a><a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454">00382</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#1012025a1a3a1fdd24aa48698a3d3454" title="Observed variables, returned by getdata().">Drv</a>;
+<a name="l00384"></a><a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629">00384</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classDS.html#0a88ffaeb3c7c2cf30c69bc41a000629" title="Action variables, accepted by write().">Urv</a>; <span class="comment">//</span>
+<a name="l00385"></a>00385 <span class="keyword">public</span>:
+<a name="l00387"></a>00387         <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt );
+<a name="l00389"></a>00389         <span class="keywordtype">void</span> <a class="code" href="classDS.html#db2dacc9e71a36eeb9c5c2ee402eeeb1" title="Returns full vector of observed data.">getdata</a> ( vec &amp;dt, ivec &amp;indeces );
+<a name="l00391"></a>00391         <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut );
+<a name="l00393"></a>00393         <span class="keywordtype">void</span> <a class="code" href="classDS.html#0dfb6788b70c0d48a1f5276ed6c93039" title="Accepts action variable and schedule it for application.">write</a> ( vec &amp;ut, ivec &amp;indeces );
+<a name="l00399"></a>00399         <span class="keywordtype">void</span> <a class="code" href="classDS.html#9a35ca9c9321dce2bf63bf668f785b75" title="Method that assigns random variables to the datasource. Typically, the datasource...">linkrvs</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;drv, <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;urv );
 <a name="l00400"></a>00400 
-<a name="l00401"></a>00401 };
-<a name="l00402"></a>00402 
-<a name="l00407"></a><a class="code" href="classBM.html">00407</a> <span class="keyword">class </span><a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> {
-<a name="l00408"></a>00408 <span class="keyword">protected</span>:
-<a name="l00410"></a><a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88">00410</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>;
-<a name="l00412"></a><a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">00412</a>         <span class="keywordtype">double</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>;
-<a name="l00414"></a><a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">00414</a>         <span class="keywordtype">bool</span> <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>;
-<a name="l00415"></a>00415 <span class="keyword">public</span>:
-<a name="l00416"></a>00416 
-<a name="l00418"></a><a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e">00418</a>         <a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e" title="Default constructor.">BM</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv0, <span class="keywordtype">double</span> ll0=0,<span class="keywordtype">bool</span> evalll0=<span class="keyword">true</span> ) :<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> ( rv0 ), <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a> ( ll0 ),<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ( evalll0 ) {<span class="comment">//Fixme: test rv</span>
-<a name="l00419"></a>00419         };
-<a name="l00421"></a><a class="code" href="classBM.html#e8fc5fae042f2b46d4d3827f9587d47d">00421</a>         <a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e" title="Default constructor.">BM</a> ( <span class="keyword">const</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> &amp;B ) : <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> ( B.<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> ), <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a> ( B.<a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a> ), <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ( B.<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {}
-<a name="l00422"></a>00422 
-<a name="l00426"></a>00426         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#a892eff438aab2dd1a9e2efcb7fb5bdf" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &amp;dt ) = 0;
-<a name="l00428"></a>00428         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#0186270f75189677f390fe088a9947e9" title="Batch Bayes rule (columns of Dt are observations).">bayesB</a> ( <span class="keyword">const</span> mat &amp;Dt );
-<a name="l00430"></a>00430         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>&amp; <a class="code" href="classBM.html#8554809fec160bee279bcd5fa14ead5c" title="Returns a reference to the epdf representing posterior density on parameters.">_epdf</a>() <span class="keyword">const</span> =0;
-<a name="l00431"></a>00431 
-<a name="l00433"></a>00433         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classBM.html#db500c4836f883c175a3cf3ab5a3ce24" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_e</a>() <span class="keyword">const</span> =0;
+<a name="l00402"></a>00402         <span class="keywordtype">void</span> <a class="code" href="classDS.html#470ba89e8e7c3c4d830803221b4e9be6" title="Moves from  to , i.e. perfroms the actions and reads response of the system.">step</a>();
+<a name="l00403"></a>00403 
+<a name="l00404"></a>00404 };
+<a name="l00405"></a>00405 
+<a name="l00410"></a><a class="code" href="classBM.html">00410</a> <span class="keyword">class </span><a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> {
+<a name="l00411"></a>00411 <span class="keyword">protected</span>:
+<a name="l00413"></a><a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88">00413</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>;
+<a name="l00415"></a><a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979">00415</a>         <span class="keywordtype">double</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>;
+<a name="l00417"></a><a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129">00417</a>         <span class="keywordtype">bool</span> <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>;
+<a name="l00418"></a>00418 <span class="keyword">public</span>:
+<a name="l00419"></a>00419 
+<a name="l00421"></a><a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e">00421</a>         <a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e" title="Default constructor.">BM</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv0, <span class="keywordtype">double</span> ll0=0,<span class="keywordtype">bool</span> evalll0=<span class="keyword">true</span> ) :<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> ( rv0 ), <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a> ( ll0 ),<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ( evalll0 ) {<span class="comment">//Fixme: test rv</span>
+<a name="l00422"></a>00422         };
+<a name="l00424"></a><a class="code" href="classBM.html#e8fc5fae042f2b46d4d3827f9587d47d">00424</a>         <a class="code" href="classBM.html#43d2ad6a6c9f1bcd22fe8906c477e50e" title="Default constructor.">BM</a> ( <span class="keyword">const</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> &amp;B ) : <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> ( B.<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> ), <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a> ( B.<a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a> ), <a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ( B.<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {}
+<a name="l00425"></a>00425 
+<a name="l00429"></a>00429         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#a892eff438aab2dd1a9e2efcb7fb5bdf" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &amp;dt ) = 0;
+<a name="l00431"></a>00431         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBM.html#0186270f75189677f390fe088a9947e9" title="Batch Bayes rule (columns of Dt are observations).">bayesB</a> ( <span class="keyword">const</span> mat &amp;Dt );
+<a name="l00433"></a>00433         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>&amp; <a class="code" href="classBM.html#8554809fec160bee279bcd5fa14ead5c" title="Returns a reference to the epdf representing posterior density on parameters.">_epdf</a>() <span class="keyword">const</span> =0;
 <a name="l00434"></a>00434 
-<a name="l00437"></a><a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">00437</a>         <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> ( <span class="keyword">const</span> vec &amp;dt )<span class="keyword"> const</span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0.0;}
-<a name="l00439"></a><a class="code" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">00439</a>         vec <a class="code" href="classBM.html#cd0660f2a1a344b56ac39802708ff165" title="Matrix version of logpred.">logpred_m</a> ( <span class="keyword">const</span> mat &amp;dt )<span class="keyword"> const</span>{vec tmp ( dt.cols() );<span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;dt.cols();i++ ) {tmp ( i ) =<a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> ( dt.get_col ( i ) );}<span class="keywordflow">return</span> tmp;}
-<a name="l00440"></a>00440 
-<a name="l00442"></a><a class="code" href="classBM.html#5594d68ee9aa6fc8c1e79019da5c9d56">00442</a>         <span class="keyword">virtual</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classBM.html#5594d68ee9aa6fc8c1e79019da5c9d56" title="Constructs a predictive density (marginal density on data).">predictor</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> NULL;};
+<a name="l00436"></a>00436         <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classBM.html#db500c4836f883c175a3cf3ab5a3ce24" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_e</a>() <span class="keyword">const</span> =0;
+<a name="l00437"></a>00437 
+<a name="l00440"></a><a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">00440</a>         <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> ( <span class="keyword">const</span> vec &amp;dt )<span class="keyword"> const</span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0.0;}
+<a name="l00442"></a><a class="code" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">00442</a>         vec <a class="code" href="classBM.html#cd0660f2a1a344b56ac39802708ff165" title="Matrix version of logpred.">logpred_m</a> ( <span class="keyword">const</span> mat &amp;dt )<span class="keyword"> const</span>{vec tmp ( dt.cols() );<span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i&lt;dt.cols();i++ ) {tmp ( i ) =<a class="code" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">logpred</a> ( dt.get_col ( i ) );}<span class="keywordflow">return</span> tmp;}
 <a name="l00443"></a>00443 
-<a name="l00445"></a><a class="code" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">00445</a>         <span class="keyword">virtual</span> <a class="code" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd" title="Destructor for future use;.">~BM</a>() {};
-<a name="l00447"></a><a class="code" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">00447</a>         <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>&amp; <a class="code" href="classBM.html#126bd2595c48e311fc2a7ab72876092a" title="access function">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>;}
-<a name="l00449"></a><a class="code" href="classBM.html#87f4a547d2c29180be88175e5eab9c88">00449</a>         <span class="keywordtype">double</span> <a class="code" href="classBM.html#87f4a547d2c29180be88175e5eab9c88" title="access function">_ll</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>;}
-<a name="l00451"></a><a class="code" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">00451</a>         <span class="keywordtype">void</span> <a class="code" href="classBM.html#1ffa9f23669aabecc3760c06c6987522" title="access function">set_evalll</a> ( <span class="keywordtype">bool</span> evl0 ) {<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>=evl0;}
-<a name="l00452"></a>00452 
-<a name="l00455"></a><a class="code" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">00455</a>         <span class="keyword">virtual</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a>* <a class="code" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">_copy_</a> ( <span class="keywordtype">bool</span> changerv=<span class="keyword">false</span> ) {it_error ( <span class="stringliteral">"function _copy_ not implemented for this BM"</span> ); <span class="keywordflow">return</span> NULL;};
-<a name="l00456"></a>00456 };
-<a name="l00457"></a>00457 
-<a name="l00467"></a><a class="code" href="classBMcond.html">00467</a> <span class="keyword">class </span><a class="code" href="classBMcond.html" title="Conditional Bayesian Filter.">BMcond</a> {
-<a name="l00468"></a>00468 <span class="keyword">protected</span>:
-<a name="l00470"></a><a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec">00470</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a>;
-<a name="l00471"></a>00471 <span class="keyword">public</span>:
-<a name="l00473"></a>00473         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBMcond.html#3543cfe274c35f9033c24d8036a96c4d" title="Substitute val for rvc.">condition</a> ( <span class="keyword">const</span> vec &amp;val ) =0;
-<a name="l00475"></a><a class="code" href="classBMcond.html#9a38dcdabef902fd91da3c9fb6ac27f7">00475</a>         <a class="code" href="classBMcond.html#9a38dcdabef902fd91da3c9fb6ac27f7" title="Default constructor.">BMcond</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv0 ) :<a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a> ( rv0 ) {};
-<a name="l00477"></a><a class="code" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">00477</a>         <span class="keyword">virtual</span> <a class="code" href="classBMcond.html#d40c72250cf93640f982d06de20815b2" title="Destructor for future use.">~BMcond</a>() {};
-<a name="l00479"></a><a class="code" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a">00479</a>         <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>&amp; <a class="code" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a" title="access function">_rvc</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a>;}
-<a name="l00480"></a>00480 };
-<a name="l00481"></a>00481 
-<a name="l00483"></a>00483 <span class="preprocessor">#endif // BM_H</span>
+<a name="l00445"></a><a class="code" href="classBM.html#5594d68ee9aa6fc8c1e79019da5c9d56">00445</a>         <span class="keyword">virtual</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classBM.html#5594d68ee9aa6fc8c1e79019da5c9d56" title="Constructs a predictive density (marginal density on data).">predictor</a> ( <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a> )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> NULL;};
+<a name="l00446"></a>00446 
+<a name="l00448"></a><a class="code" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd">00448</a>         <span class="keyword">virtual</span> <a class="code" href="classBM.html#ca0f02b3b4144e0895cc14f7e0374bdd" title="Destructor for future use;.">~BM</a>() {};
+<a name="l00450"></a><a class="code" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">00450</a>         <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>&amp; <a class="code" href="classBM.html#126bd2595c48e311fc2a7ab72876092a" title="access function">_rv</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>;}
+<a name="l00452"></a><a class="code" href="classBM.html#87f4a547d2c29180be88175e5eab9c88">00452</a>         <span class="keywordtype">double</span> <a class="code" href="classBM.html#87f4a547d2c29180be88175e5eab9c88" title="access function">_ll</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBM.html#5623fef6572a08c2b53b8c87b82dc979" title="Logarithm of marginalized data likelihood.">ll</a>;}
+<a name="l00454"></a><a class="code" href="classBM.html#1ffa9f23669aabecc3760c06c6987522">00454</a>         <span class="keywordtype">void</span> <a class="code" href="classBM.html#1ffa9f23669aabecc3760c06c6987522" title="access function">set_evalll</a> ( <span class="keywordtype">bool</span> evl0 ) {<a class="code" href="classBM.html#bf6fb59b30141074f8ee1e2f43d03129" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a>=evl0;}
+<a name="l00455"></a>00455 
+<a name="l00458"></a><a class="code" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">00458</a>         <span class="keyword">virtual</span> <a class="code" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a>* <a class="code" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">_copy_</a> ( <span class="keywordtype">bool</span> changerv=<span class="keyword">false</span> ) {it_error ( <span class="stringliteral">"function _copy_ not implemented for this BM"</span> ); <span class="keywordflow">return</span> NULL;};
+<a name="l00459"></a>00459 };
+<a name="l00460"></a>00460 
+<a name="l00470"></a><a class="code" href="classBMcond.html">00470</a> <span class="keyword">class </span><a class="code" href="classBMcond.html" title="Conditional Bayesian Filter.">BMcond</a> {
+<a name="l00471"></a>00471 <span class="keyword">protected</span>:
+<a name="l00473"></a><a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec">00473</a>         <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> <a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a>;
+<a name="l00474"></a>00474 <span class="keyword">public</span>:
+<a name="l00476"></a>00476         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBMcond.html#3543cfe274c35f9033c24d8036a96c4d" title="Substitute val for rvc.">condition</a> ( <span class="keyword">const</span> vec &amp;val ) =0;
+<a name="l00478"></a><a class="code" href="classBMcond.html#9a38dcdabef902fd91da3c9fb6ac27f7">00478</a>         <a class="code" href="classBMcond.html#9a38dcdabef902fd91da3c9fb6ac27f7" title="Default constructor.">BMcond</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &amp;rv0 ) :<a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a> ( rv0 ) {};
+<a name="l00480"></a><a class="code" href="classBMcond.html#d40c72250cf93640f982d06de20815b2">00480</a>         <span class="keyword">virtual</span> <a class="code" href="classBMcond.html#d40c72250cf93640f982d06de20815b2" title="Destructor for future use.">~BMcond</a>() {};
+<a name="l00482"></a><a class="code" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a">00482</a>         <span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>&amp; <a class="code" href="classBMcond.html#3fa60348b2da6b4208bb95b8d146900a" title="access function">_rvc</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classBMcond.html#9ba793c8ec453f04d372d17195ed8dec" title="Identificator of the conditioning variable.">rvc</a>;}
+<a name="l00483"></a>00483 };
+<a name="l00484"></a>00484 
+<a name="l00486"></a>00486 <span class="preprocessor">#endif // BM_H</span>
 </pre></div></div>
-<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:29:09 2009 for mixpp by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 15 10:50:25 2009 for mixpp by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
