- Timestamp:
- 02/16/09 10:03:13 (16 years ago)
- Location:
- tests
- Files:
-
- 2 removed
- 7 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/CMakeLists.txt
r263 r271 45 45 46 46 add_subdirectory(UI) 47 add_subdirectory(tutorial) -
tests/UI/CMakeLists.txt
r263 r271 1 1 EXEC(UIbuilder_test) 2 EXEC(UIArxDS_test) -
tests/UI/UIbuilder_test.cfg
r248 r271 1 //test 1 2 test: 2 3 { -
tests/arx_test.cpp
r270 r271 26 26 ARX Ar; 27 27 Ar.set_statistics(1, V0, nu0 ); // Estimator 28 const epdf& f_thr = Ar. _epdf(); // refrence to posterior of the estimator28 const epdf& f_thr = Ar.posterior(); // refrence to posterior of the estimator 29 29 30 30 //Test estimation -
tests/mixef_test.cpp
r270 r271 9 9 10 10 void disp_mix2D ( const MixEF &Mi ) { 11 const eprod &ep=((const eprod&)(Mi. _epdf()));11 const eprod &ep=((const eprod&)(Mi.posterior())); 12 12 int i; 13 13 mat Var ( 2,2 ),M ( 1,2 ); -
tests/testKF.cpp
r270 r271 49 49 // KF.set_parameters(A,B,C,D,ldmat(R),ldmat(Q)); 50 50 // KF.set_est(mu0,ldmat(P0) ); 51 // epdf& KFep = KF. _epdf();51 // epdf& KFep = KF.posterior(); 52 52 // mat Xt(2,Ndat); 53 53 // Xt.set_col( 0,KFep.mean() ); … … 57 57 KF.set_parameters(A,B,C,D,chmat(R),chmat(Q)); 58 58 KF.set_est(mu0,chmat(P0) ); //prediction! 59 const epdf& KFep = KF. _epdf();59 const epdf& KFep = KF.posterior(); 60 60 mat Xt(dimx,Ndat); 61 61 Xt.set_col( 0,KFep.mean() ); … … 66 66 KFf.set_parameters(A,B,C,D,ldmat(R),ldmat(Q)); 67 67 KFf.set_est(mu0,ldmat(P0) ); 68 const epdf& KFfep = KFf. _epdf();68 const epdf& KFfep = KFf.posterior(); 69 69 mat Xtf(dimx,Ndat); 70 70 Xtf.set_col( 0,KFfep.mean() ); … … 82 82 KFE.set_parameters(&fxu,&hxu,Q,R); 83 83 KFE.set_est(mu0,chmat(P0)); 84 const epdf& KFEep = KFE. _epdf();84 const epdf& KFEep = KFE.posterior(); 85 85 mat XtE(dimx,Ndat); 86 86 XtE.set_col( 0,KFEep.mean() ); -
tests/testKF_QR.cpp
r270 r271 65 65 epdf& pfinit=evolQR._epdf(); 66 66 KF_QR.set_est(pfinit); 67 const epdf& mpost=KF_QR. _epdf();68 const epdf& mposttr=KFtr. _epdf();67 const epdf& mpost=KF_QR.posterior(); 68 const epdf& mposttr=KFtr.posterior(); 69 69 70 70 XQRt.set_col( 0,mpost.mean());