Changeset 676 for applications/bdmtoolbox/mex
- Timestamp:
- 10/22/09 01:13:47 (15 years ago)
- Location:
- applications/bdmtoolbox/mex
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/estimator.cpp
r658 r676 141 141 } 142 142 143 Ds->log_ add ( *L);143 Ds->log_register ( *L, "DS" ); 144 144 string Ename; 145 145 Setting &S=Cfg; … … 151 151 } 152 152 153 Es ( i )->log_ add( *L,Ename ); // estimate153 Es ( i )->log_register ( *L,Ename ); // estimate 154 154 } 155 155 L->init(); … … 177 177 for ( int tK=0;tK<Ndat;tK++ ) { 178 178 Ds->getdata ( dt ); // read data 179 Ds->log it ( *L);179 Ds->log_write ( ); 180 180 181 181 for ( int i=0; i<Es.length(); i++ ) { 182 182 Es ( i )->bayes ( Dls ( i )->pushdown ( dt ) ); // update estimates 183 Es ( i )->log it ( *L);183 Es ( i )->log_write (); 184 184 } 185 185 -
applications/bdmtoolbox/mex/simulator.cpp
r627 r676 125 125 } 126 126 127 Ds->log_ add ( *L);127 Ds->log_register ( *L, "DS" ); 128 128 L->init(); 129 129 … … 132 132 for ( int tK=0;tK<Ndat;tK++ ) { 133 133 Ds->getdata ( dt ); // read data 134 Ds->log it ( *L);134 Ds->log_write ( ); 135 135 136 136 L->step();