Show
Ignore:
Timestamp:
11/30/09 11:04:21 (14 years ago)
Author:
mido
Message:

mixef_init fills some data into mixef_init.out,
however, there are still some TODOs in this commit,
it is necessary to fill a few more bodies of the to_setting() method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.h

    r744 r746  
    479479        //!@} 
    480480        void from_setting ( const Setting &set ); 
     481 
     482        void to_setting ( Setting &set ) const; 
    481483        //!@} 
    482484 
     
    603605                        set_rv ( *r ); 
    604606                } 
     607        } 
     608 
     609        void to_setting ( Setting &set ) const { 
     610                // TODO we do not want to store rvc..  
     611                // therfore, pdf::to_setting( set ) is omitted 
     612                UI::save( &rv, set, "rv" ); 
    605613        } 
    606614 
     
    11561164        } 
    11571165 
     1166        void to_setting ( Setting &set ) const { 
     1167                root::to_setting( set ); 
     1168                UI::save( &yrv, set, "yrv" ); 
     1169                UI::save( &rvc, set, "rvc" );            
     1170                UI::save( &posterior()._rv(), set, "rv" ); 
     1171 
     1172                /* TODO ROZBEHAT UI::save( &opt, set, "options" );                       
     1173        ... kod set_options vypada takto: 
     1174        if ( opt.find ( "logfull" ) != string::npos ) { 
     1175                const_cast<epdf&> ( posterior() ).set_log_level ( 10 ) ; 
     1176        } else { 
     1177                if ( opt.find ( "logbounds" ) != string::npos ) { 
     1178                        const_cast<epdf&> ( posterior() ).set_log_level ( 2 ) ; 
     1179                } else { 
     1180                        const_cast<epdf&> ( posterior() ).set_log_level ( 1 ) ; 
     1181                } 
     1182                if ( opt.find ( "logll" ) != string::npos ) { 
     1183                        log_level = 1; 
     1184                } 
     1185        } */     
     1186        } 
     1187 
    11581188}; 
    11591189//! array of pointers to epdf