Show
Ignore:
Timestamp:
10/22/09 01:13:47 (15 years ago)
Author:
smidl
Message:

logger refactoring

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/estim/particles.h

    r675 r676  
    5050        //! \name Options 
    5151        //!@{ 
    52  
    53         //! Log all samples 
    54         bool opt_L_smp; 
    55         //! Log all samples 
    56         bool opt_L_wei; 
    5752        //!@} 
    5853 
     
    6055        //! \name Constructors 
    6156        //!@{ 
    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() ) { 
    6458        }; 
    6559         
     
    8983        void set_options ( const string &opt ) { 
    9084                BM::set_options ( opt ); 
    91                 opt_L_wei = ( opt.find ( "logweights" ) != string::npos ); 
    92                 opt_L_smp = ( opt.find ( "logsamples" ) != string::npos ); 
    9385        } 
    9486        //! bayes I - generate samples and add their weights to lls