Changeset 763

Show
Ignore:
Timestamp:
01/11/10 14:39:41 (14 years ago)
Author:
smidl
Message:

changes in pdfs

Location:
library/bdm
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/design/arx_ctrl.h

    r744 r763  
    4747                ar->bayes ( rvc2ar_y.pushdown ( data ), rvc2ar_cond.pushdown ( data ) ); 
    4848                rvc2ar_cond.store_data ( data ); 
     49                ar->ml_predictor_update ( *pred ); 
    4950        } 
    5051        void redesign() { 
    51                 ar->ml_predictor_update ( *pred ); 
    5252                Stsp->update_from ( *pred ); 
    5353                if ( windsurfer ) { 
     
    136136                ar->log_write(); 
    137137        } 
     138        //! access function 
     139        const ARX& _ar() {return *ar.get();} 
     140        //! access function 
     141        mlnorm<chmat>* _pred() {return pred.get();} 
     142         
    138143 
    139144}; 
  • library/bdm/stat/exp_family.h

    r760 r763  
    838838                validate(); 
    839839        }; 
     840        void to_setting (Setting &set) const { 
     841                pdf::to_setting(set); 
     842                UI::save ( A, set, "A"); 
     843                UI::save ( mu_const, set, "const"); 
     844                UI::save ( _R(), set, "R"); 
     845        } 
    840846        void validate() { 
    841847                pdf_internal<TEpdf<sq_T> >::validate(); 
  • library/bdm/stat/merger.h

    r761 r763  
    264264        void from_setting ( const Setting& set ) { 
    265265                merger_base::from_setting ( set ); 
     266                Ncoms=DFLT_Ncoms; 
    266267                set.lookupValue ( "ncoms", Ncoms ); 
     268                effss_coef=DFLT_effss_coef; 
    267269                set.lookupValue ( "effss_coef", effss_coef ); 
     270                stop_niter=10; 
    268271                set.lookupValue ( "stop_niter", stop_niter ); 
    269272        }