Show
Ignore:
Timestamp:
11/02/09 17:27:29 (15 years ago)
Author:
mido
Message:

mpdf renamed to pdf in the whole library

Files:
1 modified

Legend:

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

    r686 r693  
    3636        Array<vec> &_samples; 
    3737        //! Parameter evolution model 
    38         shared_ptr<mpdf> par; 
     38        shared_ptr<pdf> par; 
    3939        //! Observation model 
    40         shared_ptr<mpdf> obs; 
     40        shared_ptr<pdf> obs; 
    4141        //! internal structure storing loglikelihood of predictions 
    4242        vec lls; 
     
    6363                resmethod = rm; 
    6464        }; 
    65         void set_model ( shared_ptr<mpdf> par0, shared_ptr<mpdf> obs0) { 
     65        void set_model ( shared_ptr<pdf> par0, shared_ptr<pdf> obs0) { 
    6666                par = par0; 
    6767                obs = obs0; 
     
    105105        /*! configuration structure for basic PF 
    106106        \code 
    107         parameter_pdf   = mpdf_class;         // parameter evolution pdf 
    108         observation_pdf = mpdf_class;         // observation pdf 
     107        parameter_pdf   = pdf_class;         // parameter evolution pdf 
     108        observation_pdf = pdf_class;         // observation pdf 
    109109        prior           = epdf_class;         // prior probability density 
    110110        --- optional --- 
     
    117117        void from_setting(const Setting &set){ 
    118118                BM::from_setting(set); 
    119                 par = UI::build<mpdf>(set,"parameter_pdf",UI::compulsory); 
    120                 obs = UI::build<mpdf>(set,"observation_pdf",UI::compulsory); 
     119                par = UI::build<pdf>(set,"parameter_pdf",UI::compulsory); 
     120                obs = UI::build<pdf>(set,"observation_pdf",UI::compulsory); 
    121121                 
    122122                prior_from_set(set); 
     
    196196 
    197197A composition of particle filter with exact (or almost exact) bayesian models (BMs). 
    198 The Bayesian models provide marginalized predictive density. Internaly this is achieved by virtual class MPFmpdf. 
     198The Bayesian models provide marginalized predictive density. Internaly this is achieved by virtual class MPFpdf. 
    199199*/ 
    200200 
     
    206206        Array<BM*> BMs; 
    207207 
    208         //! internal class for MPDF providing composition of eEmp with external components 
     208        //! internal class for pdf providing composition of eEmp with external components 
    209209 
    210210        class mpfepdf : public epdf  { 
     
    306306        MPF () :  jest (pf,BMs) {}; 
    307307        //! set all parameters at once 
    308         void set_parameters ( shared_ptr<mpdf> par0, shared_ptr<mpdf> obs0, int n0, RESAMPLING_METHOD rm = SYSTEMATIC ) { 
     308        void set_parameters ( shared_ptr<pdf> par0, shared_ptr<pdf> obs0, int n0, RESAMPLING_METHOD rm = SYSTEMATIC ) { 
    309309                pf->set_model ( par0, obs0);  
    310310                pf->set_parameters(n0, rm ); 
     
    341341        \code 
    342342        BM              = BM_class;           // Bayesian filtr for analytical part of the model 
    343         parameter_pdf   = mpdf_class;         // transitional pdf for non-parametric part of the model 
     343        parameter_pdf   = pdf_class;         // transitional pdf for non-parametric part of the model 
    344344        prior           = epdf_class;         // prior probability density 
    345345        --- optional --- 
     
    350350        */       
    351351        void from_setting(const Setting &set){ 
    352                 shared_ptr<mpdf> par = UI::build<mpdf>(set,"parameter_pdf",UI::compulsory); 
    353                 shared_ptr<mpdf> obs= new mpdf(); // not used!! 
     352                shared_ptr<pdf> par = UI::build<pdf>(set,"parameter_pdf",UI::compulsory); 
     353                shared_ptr<pdf> obs= new pdf(); // not used!! 
    354354 
    355355                pf = new PF;