- Timestamp:
- 02/24/09 14:14:01 (16 years ago)
- Location:
- tests
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/testKF_QR.cpp
r278 r283 61 61 evolQR.set_parameters(10.0,"1 1 1"); //sigma = 1/10 mu 62 62 63 MPF<KFcondQR > KF_QR(&evolQR,&evolQR,100,KF); 63 MPF<KFcondQR> KF_QR; 64 KF_QR.set_parameters(&evolQR,&evolQR,100); 64 65 evolQR.condition("1 1 1"); 65 epdf& pfinit=evolQR._epdf(); 66 KF_QR.set_est(pfinit); 66 KF_QR.set_statistics(evolQR._e(), &KF); 67 67 const epdf& mpost=KF_QR.posterior(); 68 68 const epdf& mposttr=KFtr.posterior(); -
tests/testPF.cpp
r278 r283 23 23 euni eun; 24 24 eun.set_parameters("0","1"); 25 emp.set_ parameters(ones(10),&eun);25 emp.set_statistics(ones(10),&eun); 26 26 vec &v=emp._w(); 27 27 Array<vec> &S=emp._samples(); -
tests/testResample.cpp
r278 r283 23 23 euni eun; 24 24 eun.set_parameters("0","1"); 25 emp.set_ parameters(ones(10),&eun);25 emp.set_statistics(ones(10),&eun); 26 26 vec &v=emp._w(); 27 27 Array<vec> &S=emp._samples();