Changeset 676 for library/bdm/estim/particles.h
- Timestamp:
- 10/22/09 01:13:47 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/particles.h
r675 r676 50 50 //! \name Options 51 51 //!@{ 52 53 //! Log all samples54 bool opt_L_smp;55 //! Log all samples56 bool opt_L_wei;57 52 //!@} 58 53 … … 60 55 //! \name Constructors 61 56 //!@{ 62 PF ( ) : est(), _w ( est._w() ), _samples ( est._samples() ), opt_L_smp ( false ), opt_L_wei ( false ) { 63 LIDs.set_size ( 5 ); 57 PF ( ) : est(), _w ( est._w() ), _samples ( est._samples() ) { 64 58 }; 65 59 … … 89 83 void set_options ( const string &opt ) { 90 84 BM::set_options ( opt ); 91 opt_L_wei = ( opt.find ( "logweights" ) != string::npos );92 opt_L_smp = ( opt.find ( "logsamples" ) != string::npos );93 85 } 94 86 //! bayes I - generate samples and add their weights to lls