Changeset 162 for doc/html/libPF_8h-source.html
- Timestamp:
- 09/04/08 20:27:01 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/libPF_8h-source.html
r145 r162 60 60 <a name="l00076"></a>00076 <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>( ) ), E ( E0 ), <a class="code" href="classPF.html#5c87aba508df321ff26536ced64dbb3a" title="pointer into eEmp ">_w</a> ( E._w() ), 61 61 <a name="l00077"></a>00077 Coms ( <a class="code" href="classPF.html#5c87aba508df321ff26536ced64dbb3a" title="pointer into eEmp ">_w</a>.length() ) { 62 <a name="l00078"></a>00078 <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>.<a class="code" href="classRV.html# 4fc941a5ebc9f82aa372f54f2e02dab2" title="Add (concat) another variable to the current one.">add</a> ( E._rv() );63 <a name="l00079"></a>00079 <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>.<a class="code" href="classRV.html# 4fc941a5ebc9f82aa372f54f2e02dab2" title="Add (concat) another variable to the current one.">add</a> ( rvc );62 <a name="l00078"></a>00078 <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>.<a class="code" href="classRV.html#935790526b630dec4ffefa9ec0c2b6fb" title="Add (concat) another variable to the current one,.">add</a> ( E._rv() ); 63 <a name="l00079"></a>00079 <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>.<a class="code" href="classRV.html#935790526b630dec4ffefa9ec0c2b6fb" title="Add (concat) another variable to the current one,.">add</a> ( rvc ); 64 64 <a name="l00080"></a>00080 }; 65 65 <a name="l00081"></a>00081 … … 87 87 <a name="l00105"></a>00105 <span class="comment">//</span> 88 88 <a name="l00106"></a>00106 <span class="comment">//TODO test if rv and BMcond.rv are compatible.</span> 89 <a name="l00107"></a>00107 <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>.<a class="code" href="classRV.html# 4fc941a5ebc9f82aa372f54f2e02dab2" title="Add (concat) another variable to the current one.">add</a> ( rvlin );89 <a name="l00107"></a>00107 <a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>.<a class="code" href="classRV.html#935790526b630dec4ffefa9ec0c2b6fb" title="Add (concat) another variable to the current one,.">add</a> ( rvlin ); 90 90 <a name="l00108"></a>00108 <span class="comment">//</span> 91 91 <a name="l00109"></a>00109 … … 131 131 <a name="l00150"></a>00150 <span class="preprocessor"></span> <span class="keywordflow">for</span> ( i=0;i<<a class="code" href="classPF.html#2c2f44ed7a4eaa42e07bdb58d503f280" title="number of particles;">n</a>;i++ ) { 132 132 <a name="l00151"></a>00151 <span class="comment">//generate new samples from paramater evolution model;</span> 133 <a name="l00152"></a>00152 <a class="code" href="classPF.html#cf7dad75e31215780a746c30e71ad9c5" title="pointer into eEmp ">_samples</a> ( i ) = <a class="code" href="classPF.html#d92ac103f88f8c21e197e90af5695a09" title="Parameter evolution model.">par</a>.<a class="code" href="classmpdf.html# b0193a350c97933ddf15b15a130da352" title="Returns the required moment of the epdf.">samplecond</a> ( <a class="code" href="classPF.html#cf7dad75e31215780a746c30e71ad9c5" title="pointer into eEmp ">_samples</a> ( i ), llsP ( i ) );133 <a name="l00152"></a>00152 <a class="code" href="classPF.html#cf7dad75e31215780a746c30e71ad9c5" title="pointer into eEmp ">_samples</a> ( i ) = <a class="code" href="classPF.html#d92ac103f88f8c21e197e90af5695a09" title="Parameter evolution model.">par</a>.<a class="code" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b" title="Returns the required moment of the epdf.">samplecond</a> ( <a class="code" href="classPF.html#cf7dad75e31215780a746c30e71ad9c5" title="pointer into eEmp ">_samples</a> ( i ), llsP ( i ) ); 134 134 <a name="l00153"></a>00153 Bms[i]->condition ( <a class="code" href="classPF.html#cf7dad75e31215780a746c30e71ad9c5" title="pointer into eEmp ">_samples</a> ( i ) ); 135 135 <a name="l00154"></a>00154 Bms[i]->bayes ( dt ); … … 190 190 <a name="l00209"></a>00209 191 191 </pre></div></div> 192 <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 16 17:22:022008 for mixpp by 192 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Sep 4 19:28:00 2008 for mixpp by 193 193 <a href="http://www.doxygen.org/index.html"> 194 194 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>